Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DouglasDVale

Members
  • Joined

  • Last visited

  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?

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.