Im working on a mod to overhaul the fishing system and opted for making a moditem rod that i will give all of its logic and animation. is this correct? I hope it will spawn a fish entity and play certain animations before catching a fish, while also changing some of the controls while the minigame is active, nearly identically to Sea of Thieves.
#Beginner: Are custom items basically just java code?
14 messages · Page 1 of 1 (latest)
items need java and json
fishing animations are hardcoded iirc so you can't change them using json
right, i imagine for the recipes, loot tables, and translations you need the jsons
yes
but the actual logic is purely java?
logic will be java, yes
the fish will also be custom, ill try to see what i can do with custom entities later on
otherwise i might need to compromise
for reference, where can i find the logic for the regular fishing rods, to check for water, spawn the bobber, etc.?
all code is visible from your IDE
i will try to find it. thanks
You can have them via java code using the datagen
I got the recipes down, but I'm having trouble with mixins. It's all a bit overwhelming