Jump to content

StrangePerson

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by StrangePerson

  1. Hey, I'm trying to write a mod that allows you to have channeling and riptide at the same time on a trident. But I came to the conclusion that this is not possible without mixins because the method that checks enchantments is in the EnchantmentHelper class and not in the Trident Item or ThrownTrident class. Since I can't overwrite the EnchantmentHelper class and don't actually want to use mixins because I'm not familiar with it, I wanted to ask you how you would go about it and whether there aren't other options. I would be really happy about your help
  2. I added items to the tab but with the BuildCreativeModeTabContentsEvent. Does it matter?
  3. Hey, I tried to create a Creative Mode Tab but in the game only the arrows appear to go to the next "page" but there is no tab on the next page. I created and registered the tab as explained in the forge docs. Does anyone have similar problems? Could be a bug. If it isn't a bug, where could the error be? public static final DeferredRegister<CreativeModeTab> TAB = DeferredRegister.create(Registries.CREATIVE_MODE_TAB, MODID); public static final RegistryObject<CreativeModeTab> TEST_TAB = TAB.register("test_tab", () -> CreativeModeTab.builder() .title(Component.translatable("itemGroup.test_tab")) .icon(() -> ItemInit.COBALT_INGOT.get().getDefaultInstance()) .build()); That's how I registered it: ClassName.TAB.register(modEventBus); Ingame it looks like this: Thank you for your help
  4. I have a problem with my crafting recipe. I want to make a crafting recipe with a healing potion but there is no item for any potion. Can someone please send me a template for a crafting recipe with a potion? Thanks
  5. and how can I show this timer on the display? Sorry but please explain the things better Im an beginner.
  6. Hey, I want a mod that starts a timer when I run an Command and Teleports Player with a given team (Ingame Scoreboard) to fix coordinates. I know things like that are easier with a plugin but I need a mod for that. I don´t know how to do that best so pls help me... (you can also help me if you only give me an example code for a timer or explain how to best make the timer. the other things don't have to be, maybe i could even do it myself). Thank you
×
×
  • Create New...

Important Information

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