-
Posts
3624 -
Joined
-
Last visited
-
Days Won
58
Everything posted by Cadiboo
-
(SOLVED) [1.14.4] Unable to register custom block.
Cadiboo replied to Esmerald1no's topic in Modder Support
You can also put the object holder annotation on your class with your modid, remove the annotation from your field and make the field’s name match the path of the objects registry name. -
[1.12.2] Smooth Velocity for Client-Side Entity
Cadiboo replied to Solitary_Knight's topic in Modder Support
What are you trying to achieve, from a player’s perspective? -
What are you trying to do, from a players perspective?
-
I would check what happens in vanilla when an item is added to the inventory in creative
-
In creative mode the client dictates the inventory so you should just be able to use normal "add item stack to inventory" code to accomplish what you want.
-
What are you trying to do, from a player's perspective?
-
Transparent Vanilla Doors - Help! I have no idea what I'm doing!
Cadiboo replied to Eedelia01's topic in Modder Support
You shouldn't use static initialisers. This is pretty disgusting, you should create your objects inside the registerAll call. You also shouldn't have an array of references to your objects as these references will not get changed when a registry override happens. Use @Override. Please You've both copied AND extended BlockDoor. Therefore you have 2 properties called HINGE - one from your class and one from BlockDoor. You're adding your hinge property to the BlockStateContainer in createBlockState. The vanilla code then tries to use the vanilla hinge property (which doesn't exist on your block) resulting in the crash. -
Transparent Vanilla Doors - Help! I have no idea what I'm doing!
Cadiboo replied to Eedelia01's topic in Modder Support
Your TestDoor does not extend BlockDoor but you declare your field as though you expect it to. -
[Solved][1.14.4] Multipart model; Conditional texture?
Cadiboo replied to imacatlolol's topic in Modder Support
I recommend against making your own texture map. Also, baked models I’ve always point into the block texture map, you would have to stitch your own texture map into the block texture map. I think that the best thing to do is to make the json files. Also, metadata (blockstate files) should be kept separate from data (model files). -
[1.12.2] Help With Gui Elements Overlaying Each Other
Cadiboo replied to 4sterism's topic in Modder Support
You need to render your stats with a lower z-index. This can be achieved with GLStateManager.pushMatrix(), GLStateManager.scale(0, 0, -zOffset) and GLStateManager.popMatrix(). Play around in debug mode to find the right value for zOffset. -
In addition to gradlew eclipse you also need to run gradlew genEclipseRuns.
-
Likely a problem with
-
No. You're now creating it in your main mod class which will crash on the server. You're problem is caused by something being null on the first line of PlayerRenderer#doRender. You are also calling PlayerRenderer#doRender from inside your replacement renderer, which will probably result in a StackOverflow. Please post your NewRenderer class.
-
Change your profile settings in the launcher and tell Minecraft to use your updated Java rather than the outdated version that it ships with.
-
1.14.3 How do i shrink an entity to half size?
Cadiboo replied to Drachenbauer's topic in Modder Support
Do not use GL11 directly. Use GLStateManager. For half size you want GLStateManager.scale(0.5, 0.5, 0.5) -
[SOLVED]1.13.2 Custom armour texture incorrectly applied
Cadiboo replied to salvestrom's topic in Modder Support
You can mark it as solved by editing the original post & prefixing the title with “[SOLVED] “ -
[1.14.3][WORKAROUND] Is LivingHurtEvent working?
Cadiboo replied to Sinhika's topic in Modder Support
It will probably say in the documentation, but you can also just look at the places where the event is created -
Cannot start a test-launch after updating workspace to 1.14.3
Cadiboo replied to Drachenbauer's topic in Modder Support
Don’t run it this way. Did you run the gradlew genEclipseRuns task? What do you mean by “there is no option to run it”? -
You're modding a game. Seeing the game's code so you can figure out how the game works and how you can modify it seems like a bit of a necessity to me.
-
The eclipse gradle task does pretty much everything that the old setupDecompWorkspace task did. I'd guess that you can run that and it will do the setup. I'm not sure how you'd deal with viewing the vanilla code though. I suggest using IntelliJ instead of VS.
-
Try deleting your configs from .minecraft/config/
-
1.14.3, Forge 27.0.43; Failure to download realms jar.
Cadiboo replied to AuraPinkario's topic in Support & Bug Reports
Or, play Minecraft once before trying to install Forge.