Started by
crgbfr
on
Topic category: Help with Minecraft modding (Java Edition)
I want to add red, orange, and blue froglights, and I was thinking of having each variant have an equal chance of giving you one of two colors since i'm lazy and didnt wanna make more frog variants. (warm frogs either give you red or purple, temperate frogs either give you orange or yellow, and cold frogs give you either green or blue). is this possible without creating custom code? i know how to edit loot tables but im not sure if theres one specifically for the conversion of magma cubes to froglights. thanks! :3
ok i sent this twice on accident somehow how do i delete stuff </3
these drops are stored in the magma cube's loot table. but since MCreator currently is quite limited in what you can do with loot tables, you have to edit them in the code editor..
buuut looks like this is also works,
((Frog)sourceentity).getVariant().getKey() == FrogVariant.COLD((Frog)sourceentity).getVariant().getKey() == FrogVariant.TEMPERATE