Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

TheZombie1999

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

2 Neutral

About TheZombie1999

  • Rank
    Tree Puncher
  1. This is a small guide for people how want to Speed up their development by swapping changed code during run time, which eliminates the need to constantly restart the Minecraft-Client. To reach our goal we need to install Hotswap and DCEVM. To install DCEVM you first need to download the newest release for java 8 form this link: https://github.com/dcevm/dcevm/releases Before you continue installing DCEVM you need to first install the right java version that matches your download. Most likely this will be the version 1.8.0_181. The download list can
  2. Create a class public class ModPaintingTypes { public static DeferredRegister<PaintingType> PAINTING_TYPES = new DeferredRegister<>(ForgeRegistries.PAINTING_TYPES,example_mod.MODID); public static RegistryObject<PaintingType> THE_SCREEM = PAINTING_TYPES.register("painting_name",()-> new PaintingType(16,32)); } And then in your mod constuctor call: ModPaintingTypes.PAINTING_TYPES.register(modEventBus); The image that you want to be displayed needs to be in /textures/painting/painting_name.png
  3. thanks mate now it works. But how did you realize that i didn't register the defferdRegister, because i could figure it out form the log. May be you could give me some insight so i can figure it out my self the next time. and Thanks again for your time and great advise.
  4. Thank you for your quick reply. i included my log files because i don't understand what my mistake is. my code is as follows: public class ModContainerTypes { public static final DeferredRegister<ContainerType<?>> CONTAINER_TYPES = new DeferredRegister<>(ForgeRegistries.CONTAINERS, NovusTechnica.MODID); public static final RegistryObject<ContainerType<SolarPanelContainer>> SOLAR_PANEL = CONTAINER_TYPES.register("solar_panel",() -> (IForgeContainerType.create(SolarPanelContainer::new))); } public class SolarP
  5. Dear Fellow Minecraft Modders, i am currently trying to register an Screen Object in the FmlClientSetup event. To do this many tutorial use the DefferdWorkQueue.runLater Method, but in my current minecraft forge version [1.15.2- 31.1.0] this class is deprecated and doesn't work. So my question is what do is use instead to achieve the same goal. The documentation recomends to use the IThreadListener but i cant find out how to use it over even where the Interface or class should be located. When i launch the mod using the DefferdWorkQueue following error Message a
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.