Jump to content

DouglasDVale

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by DouglasDVale

  1. I discovered the error: My Event Bus was in the wrong place. Correct Place:
  2. Right. That is complete custom Skeleton: And this is the Complete Custom ExampleEntityLayer (the custom renderLayer to Custom Skeletom) (It's basically an adapted HumanoidArmorLayer class)
  3. Thanks. The renderer isn't more null. But the layer not render nothing. Let's go back a few houses!!! To check if the exampleentityLayer is working(Is working). -> I built a new entity (extends Skeleton) -> I added this render (my renderLayer) to my new created entity. It works! see My entity renderer (created by me) and the added renderlayer: Look at the image that works: Now let's put my RenderLayer in a Vanila entity (a Skeleton). Not yet in the Player (we will do this later, if possible). So all Skeletons must render this armor. But this does not happen: See the image below. Adding the RenderLayer in Skeleton Vanilla via Register EntityRenderersEvent.AddLayers: The Vanilla Skeleton Image:
  4. How to add a new renderLayer to the player? In the original player class we have its constructor: I would like to add an additional Layer through events. I searched a lot and found the way below, using EntityRenderersEvent.AddLayers. However, the code states that o renderer = null. How to add this RenderLayer to entities that already exist in vanilla?
×
×
  • Create New...

Important Information

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