Jump to content

Luis_ST

Members
  • Posts

    5704
  • Joined

  • Last visited

  • Days Won

    72

Everything posted by Luis_ST

  1. okay i creat the item class : package net.luis.cave.items.vanilla; import net.minecraft.item.Food; import net.minecraft.item.Item; import net.minecraft.item.ItemGroup; import net.minecraft.potion.EffectInstance; import net.minecraft.potion.Effects; public class Sugar extends Item { public Sugar() { super(new Item.Properties() .group(ItemGroup.FOOD) .food(new Food.Builder() .hunger(2) .saturation(1.0f) .effect(new EffectInstance(Effects.SPEED, 300, 3), 1) .setAlwaysEdible() .build())); } } and I register the item with the same vanilla name but it dosen't work and I don't know where is the error : public static final RegistryObject<Sugar> SUGAR = ITEMS.register("sugar", Sugar::new);
  2. okay "edible sugar item and register it in place of the vanilla sugar" Whats the best way to do this Sorry but I'm new
  3. I'm just new in modding Minecraft. And I want to edit the sugar. When the player eats the sugar, he should get an effect (like speed).
  4. okay thanks
  5. I want to add an ore to the End and a custom dimension (Farmworld). and where can I find the javadoc for the BiomeLoadingEvent.
  6. Can someone help me with the json ore generation??
  7. Okay thanks for helping
  8. @Draco18s I'm not good at json. Is there a template or a detailed explanation somewhere?
  9. I need a simple ore generation for version 1.16.3-34.1.23-mdk. Since the old generation from 1.16.1 no longer works and I can't get a new one with the BiomeLoadingEvent.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.