-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
How to add a gui that opens when you press a button
Animefan8888 replied to Skarte's topic in Modder Support
That is correct as long as that piece of code is being called. -
How to add a gui that opens when you press a button
Animefan8888 replied to Skarte's topic in Modder Support
It's in the link I posted, the event needs to be registered to the Event Bus. -
How to add a gui that opens when you press a button
Animefan8888 replied to Skarte's topic in Modder Support
As long as it is getting registered? Is it working/did you test it? -
How to add a gui that opens when you press a button
Animefan8888 replied to Skarte's topic in Modder Support
Here. -
[1.12.2] Wall blockstates model using forge marker
Animefan8888 replied to JimiIT92's topic in Modder Support
The false here should do nothing. -
How to add a gui that opens when you press a button
Animefan8888 replied to Skarte's topic in Modder Support
From within the gui class? That is never going to be called. You have to use the KeyInputEvent in order to do this. -
How to add a gui that opens when you press a button
Animefan8888 replied to Skarte's topic in Modder Support
Where is this being called from? -
Also don't use GL calls directly switch it all to the GLStateManager variant.
-
You have to offset based on the players position because that's where 0,0,0 is considered to be. OP is already doing it.
-
How to add a gui that opens when you press a button
Animefan8888 replied to Skarte's topic in Modder Support
Did you try it? Did it work? If not what happened? -
[1.12.2] Wall blockstates model using forge marker
Animefan8888 replied to JimiIT92's topic in Modder Support
Let's take a look at this section right here. If north is true add a sub-model called base and one called pillar. else if north is false do nothing If south is true add a sub-model called base and one called pillar. else if south is false do nothing. You are still overriding your models, instead of base call it north, south, east, and west. You also don't need to make pillar a sub-model, make that the main model. -
I wonder if there is a sub-class that has a similar name to this where one can to RayTracing to check for flowing water?
-
No, use one of the PlayerInteractEvent sub classes. As an event.
-
[1.12.2] Wall blockstates model using forge marker
Animefan8888 replied to JimiIT92's topic in Modder Support
You will have to use the sub-model system to make proper fences with it. Otherwise you cant have multiple models like the multipart system allows. What is happening in that picture is that your blockstate doesnt say that it has the post or pillar model so there isnt one. -
Use Json and make custom IIngredientFactory or an IRecipeFactory.
-
[1.12.2] Forge Crashed while mod cycling (1/7)
Animefan8888 replied to PulseBeat_02's topic in Modder Support
The mods listed in the picture should be the ones causing the problem removing one should solve it, but I cant really read them. -
[1.12.2] Forge Crashed while mod cycling (1/7)
Animefan8888 replied to PulseBeat_02's topic in Modder Support
I think this means that you have some mods that need to be loaded before mod a and after mod b, while mod a needs to be loaded after mod b. -
No Fire Spread mod (working, but is it done right?)
Animefan8888 replied to Laike_Endaril's topic in Modder Support
Instead of the World Load event you should just use the FMLPostInitializationEvent in your @Mod class. -
[Solved] Game Crashes When I Spawn A Chicken With My MOd
Animefan8888 replied to nov4e's topic in Modder Support
You never set... wait why are your fields named like that...? -
No, talk to the mod author.
-
You haven't provided any context as to what you have. All we know is that is what you are calling. When are you calling it, where are you calling it, how often are you calling it? On the other hand what you posted isn't what diesieben said to do.
-
No Fire Spread mod (working, but is it done right?)
Animefan8888 replied to Laike_Endaril's topic in Modder Support
I believe they are static fields so it is kinda hard to tell when they are instantiated. ? So laike should use reflection just to secure that it happens. -
[1.12.2] Handling "obsolete" blocks and items
Animefan8888 replied to Kinniken's topic in Modder Support
You can do this in the MissingMappingEvent. -
No Fire Spread mod (working, but is it done right?)
Animefan8888 replied to Laike_Endaril's topic in Modder Support
If I'm not mistaken, I don't believe the reflection you are using to modify the Block field is necessary. As its value is obtained by the value in the registry.