Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. It supports multipart models and there is a doc page for it here. And there is more information in the following pages after the intro. Might be this.
  2. Wait, we are forgetting something pretty important. The Model Animation System.
  3. He can just render the arm separately in one of the Render events when the player is holding his gun(s).
  4. Are you capable of making your own "using animations"?(like eating or drinking).
  5. Take a full look at the damage handling by setting a breakpoint in the EntityArrow class that handles the collision and then damage handling(its in the update method).
  6. So is the problem that the entity isn't getting the damage animation? That has to do with the damage value and how taking damage is handled on Entities.
  7. Move this down below the instance of check and change the getEntity() to getTarget()
  8. What error? And you aren't checking if the entity that is being right clicked is a cow or not. And why are you storing them as fields in the class and not the method?
  9. The method isChild is public there is no need to extend the entity to use it. What event are you trying to use? What are you trying to accomplish from an end user perspective?
  10. Dont multiply use the bit shift operation instead. After doing so add 8.5 to get the middle.
  11. @Siqhter You cant create a new Events instance without passing in a parameter for the world. Why are you event extending EntityLiving?
  12. Dont do this, this is a static initializer you shouldn't do this with any IForgeRegistryEntry object. Ie anything that has a registry event. They should be initialized in the registryEvent where you register them.
  13. Did you remove this like voidwaker said? Where are you instantiating(calling the constructor) for them? Also you shouldn't have a BlockBase class when you instantiate them add them to the list like so list.add(new Block(...).set...); Or even RegistryObject registry = event.getRegistry registry.register(new Block(...).set...);
  14. Sorry but anything below 1.9 is no longer supported on this forum due to its age. Update if you wish to receive support here.
  15. A using animation is an animation that happens when the player holds down right click IE drinking, eating, using a bow. Matrix probably refers to rotation, translation, etc via a custom IBakedModel or TEISR.
  16. They should be lined up in the order you register them. There is no way to control the numerical Id. And you shouldn't be dealing with them anyways.
  17. Do this in the RenderGameOverlayEvent. Instead of wherever else you are doing it.
  18. Yes, recipes are in a registry in 1.12 so just create the json for it like you would for a datapack.
  19. I've figured it out. You are loading the model too early. You need to load the model later. Either move the loading into the render method and only load it once. Or move your TESR registration code to a later initialization event.
  20. If I'm not mistaken you would have to handle it like you would handle it for ores, but you would just get the top BlockState in the chunk then if it is a grass block replace it.
  21. Well first you shouldn't be registering your entities like that anymore, there is a registry event for them now. And this piece of code has to happen on both the server and has nothing to do with rendering.
×
×
  • Create New...

Important Information

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