Am I able to edit what drops when frogs eat magma cubes?

Started by crgbfr on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Am I able to edit what drops when frogs eat magma cubes?

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

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok i sent this twice on…
Thu, 10/30/2025 - 05:05

ok i sent this twice on accident somehow how do i delete stuff </3

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
these drops are stored in…
Thu, 10/30/2025 - 08:07

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