-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
By AKappaGG980 · Posted
I don't have a mods folder, here's the photo of the folder where the server is. -
By diesieben07 · Posted
Please post a Git repo of your mod. -
By diesieben07 · Posted
It is good practice to do this, because if the inner renderer throws an exception your static field will remain set to true and can never go back to false. The try-finally block should also be inside the if statement that checks your static boolean. This will create a memory leak if the level changes. You have to unload the entity with the level and also change the entity if the level changes. As for your rotations: I would use the debugger to check what setupRotations in the renderer does and why it doesn't work properly. You can use a conditional breakpoint that only triggers if your static boolean field is true to only catch setupRotation calls that happen during the nested render. -
when should the player be able to use the jetpack? On jumb, when he press a key, right clicking a Item?
-
By diesieben07 · Posted
You need to implement PreparableReloadListener. Usually you should subclass SimplePreparableReloadListener which provides a framework for splitting your I/O and main thread work. You can also use SimpleJsonResourceReloadListener, which will support a directory structure of JSON files similar to the vanilla tags or recipes. Then use AddReloadListenerEvent to register your reload listener.
-
-
Topics
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.