Everything posted by poopoodice
-
Registering Entities (1.16.5)
The register method takes a supplier.
-
[1.16.4] Rendering Entity Problem
Have you set up a renderer for the entity?
-
Rendering an item in 3D when held, but as a 2D icon in GUI [Solved]
"loader": "forge:separate-perspective" where you can use different models when handling different perspectives: SeparatePerspectiveModel
-
Clickable Books?
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.
-
Give player an item when they join the world
You should be able to give the item in PlayerEvent.PlayerLoggedInEvent.
-
[SOLVED][1.16.4] Changing an entity's max health
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.
-
[1.16.4] Null when OpenGUI
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.
-
[1.16.5] How to make EnchantedBook go to Custom ItemGroup
Just create an instance of ItemGroup, and set the group of the item in the item property builder.
-
Trying to make a crop have an "X" shape model
Check the parent of their block model.
-
[1.16.4] Trouble overriding renderer for mob
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.
-
[1.15.2] Custom Fluid that gives potion effect?
I will say in a player event, check if the player is in water, then apply the potion effect.
-
[1.16.4] Getting values from config
Store the variables in static fields, or create an instance of that config class and store in a static field.
-
[1.16.4] Getting values from config
Just store the config values in static fields and access the values when needed.
-
1.16.5 Forge Crashing On Start
You have a 1.15 optifine installed in 1.16, that’s not gonna work.
-
[1.16.4] I need help to fix an IllegalArgumentException
I'm pretty sure you are overriding the wrong method, it should be fillStateContainer or something in the latest version.
-
How do I create a custom command for a mod? (1.16.4)
Are you sure this is for Forge?
-
[1.15] Changing attack indicator appearance
ForgeIngameGui#renderAttackIndicator, you may listen to the RenderGameOverlayEvent.Pre, element type crosshair and cancel it then render yourself.
-
[1.16.5] Set custom model resourcelocation for item
Datagens can be really helpful.
-
Item BakedModel Lighting issue when rotating
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.
-
Sync capabilities to each nearby player
You might need to send the player's id, get the player by id on client, then access the capability.
-
Forum profile settings questions
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
-
Failed to complete lifecycle event CONSTRUCT
Please provide a repo.
-
[1.16.5] Help with custom Arrow Rendering
Override createSpawnPacket and return NetworkHooks.getEntitySpawningPacket to notify the client.
-
Problem with Capabilities [1.15.2]
Make the method static and use the right event bus.
-
[1.16.1] how to get the player perspective?
GameSettings.thirdPersonView
IPS spam blocked by CleanTalk.