Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. That is correct as long as that piece of code is being called.
  2. It's in the link I posted, the event needs to be registered to the Event Bus.
  3. As long as it is getting registered? Is it working/did you test it?
  4. From within the gui class? That is never going to be called. You have to use the KeyInputEvent in order to do this.
  5. You can attach the source by going to where you installed your jdk and attaching the src.zip file.
  6. Also don't use GL calls directly switch it all to the GLStateManager variant.
  7. You have to offset based on the players position because that's where 0,0,0 is considered to be. OP is already doing it.
  8. Let's take a look at this section right here. If north is true add a sub-model called base and one called pillar. else if north is false do nothing If south is true add a sub-model called base and one called pillar. else if south is false do nothing. You are still overriding your models, instead of base call it north, south, east, and west. You also don't need to make pillar a sub-model, make that the main model.
  9. I wonder if there is a sub-class that has a similar name to this where one can to RayTracing to check for flowing water?
  10. No, use one of the PlayerInteractEvent sub classes. As an event.
  11. You will have to use the sub-model system to make proper fences with it. Otherwise you cant have multiple models like the multipart system allows. What is happening in that picture is that your blockstate doesnt say that it has the post or pillar model so there isnt one.
  12. Use Json and make custom IIngredientFactory or an IRecipeFactory.
  13. The mods listed in the picture should be the ones causing the problem removing one should solve it, but I cant really read them.
  14. I think this means that you have some mods that need to be loaded before mod a and after mod b, while mod a needs to be loaded after mod b.
  15. Instead of the World Load event you should just use the FMLPostInitializationEvent in your @Mod class.
  16. You never set... wait why are your fields named like that...?
  17. You haven't provided any context as to what you have. All we know is that is what you are calling. When are you calling it, where are you calling it, how often are you calling it? On the other hand what you posted isn't what diesieben said to do.
  18. I believe they are static fields so it is kinda hard to tell when they are instantiated. ? So laike should use reflection just to secure that it happens.
  19. If I'm not mistaken, I don't believe the reflection you are using to modify the Block field is necessary. As its value is obtained by the value in the registry.
×
×
  • Create New...

Important Information

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