#Beginner: Are custom items basically just java code?

14 messages · Page 1 of 1 (latest)

wet zealot
#

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.

tranquil aurora
#

items need java and json

#

fishing animations are hardcoded iirc so you can't change them using json

wet zealot
#

right, i imagine for the recipes, loot tables, and translations you need the jsons

tranquil aurora
#

yes

wet zealot
#

but the actual logic is purely java?

tranquil aurora
#

logic will be java, yes

wet zealot
#

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

wet zealot
tranquil aurora
#

all code is visible from your IDE

wet zealot
#

i will try to find it. thanks

prisma hollow
wet zealot
#

I got the recipes down, but I'm having trouble with mixins. It's all a bit overwhelming