Jump to content

poopoodice

Members
  • Posts

    1160
  • Joined

  • Days Won

    7

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. Are you sure this is for Forge?
  17. ForgeIngameGui#renderAttackIndicator, you may listen to the RenderGameOverlayEvent.Pre, element type crosshair and cancel it then render yourself.
  18. Datagens can be really helpful.
  19. 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.
  20. You might need to send the player's id, get the player by id on client, then access the capability.
  21. 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
  22. Please provide a repo.
  23. Override createSpawnPacket and return NetworkHooks.getEntitySpawningPacket to notify the client.
  24. Make the method static and use the right event bus.
  25. GameSettings.thirdPersonView
×
×
  • Create New...

Important Information

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