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.

poopoodice

Members
  • Joined

Everything posted by poopoodice

  1. The register method takes a supplier.
  2. Have you set up a renderer for the entity?
  3. "loader": "forge:separate-perspective" where you can use different models when handling different perspectives: SeparatePerspectiveModel
  4. You can set a click event with Style#setClickEvent, an example of a "open url" click event new ClickEvent(ClickEvent.Action.OPEN_URL, "mylink") and then apply the style to the text using TextComponent#setStyle.
  5. You should be able to give the item in PlayerEvent.PlayerLoggedInEvent.
  6. These lines seems pointless https://github.com/LK1905/GielinorCraft/blob/master/src/main/java/lk1905/gielinorcraft/api/skill/Skills.java#L383-L386 and the method should be called whenever the "max health skill" is changed, not just when they clone, respawn or something like that.
  7. https://github.com/Beardlessbrady/Currency-Mod/blob/master-1.16/src/main/java/com/beardlessbrady/gocurrency/blocks/vending/VendingTile.java#L68 This should not be null.
  8. Just create an instance of ItemGroup, and set the group of the item in the item property builder.
  9. Check the parent of their block model.
  10. Have you register it? Also if all you are looking for is changing the skin colour you can just add layers to the original renderer instead of override the original renderer.
  11. I will say in a player event, check if the player is in water, then apply the potion effect.
  12. Store the variables in static fields, or create an instance of that config class and store in a static field.
  13. Just store the config values in static fields and access the values when needed.
  14. You have a 1.15 optifine installed in 1.16, that’s not gonna work.
  15. I'm pretty sure you are overriding the wrong method, it should be fillStateContainer or something in the latest version.
  16. ForgeIngameGui#renderAttackIndicator, you may listen to the RenderGameOverlayEvent.Pre, element type crosshair and cancel it then render yourself.
  17. The quad lighting is not updated when rotating (all faces shares the same white colour). Is there a way to manually update their colour or update the lighting? Thanks.
  18. You might need to send the player's id, get the player by id on client, then access the capability.
  19. Hello, I have two questions about the settings: 1. When I edit the member title in "edit profile", it changes the text under the username, is it normal? 2. How do I request a change on the username? Thanks in advance
  20. Override createSpawnPacket and return NetworkHooks.getEntitySpawningPacket to notify the client.
  21. Make the method static and use the right event bus.
  22. GameSettings.thirdPersonView

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.