-
Posts
3624 -
Joined
-
Last visited
-
Days Won
58
Everything posted by Cadiboo
-
Forge for 1.13.2 is mostly done. However, Forge is built on top of Mojang’s minecraft code which doesn’t have “simple and clear interfaces, factories and classes for the rapid development of modifications”. Minecraft is not built with modding in mind at all and doesn’t have any code related to mods at all. Forge has many of these things though like event subscribing and Modder-friendly extensions to the vanilla system (like registries & capabilities). The documentation for vanilla methods is usually lacking or non-existent, but Forges methods are usually well documented. The Forge documentation (at https://mcforge.readthedocs.io/en/latest) hasn’t been (fully) updated for 1.13.2 yet. The Forge team is mostly focussed on fixing major bugs in 1.13 and preparing for 1.14. In future please upload your code as a working GitHub repository. People on these forums are unlikely to download random files from people they don’t know, and people on mobile can’t open zip files.
-
Your class isn’t annotated with @EventBusSubscriber and your method isn’t static so everything should work, but here’s this just in case. You want the method Event#setCancelled(boolean) which translates to the code event.setCancelled(true/false); Your method should also begin with a lowercase (onEntitySpawn rather than OnEntitySpawn) and probably should be called onEntityJoinWorld because it’s not the same as spawning.
-
Sorry we don't support 1.7.10 (it's 4+ years old!) or any version under 1.10 on this forum anymore due to their age. We simply don't know how to help you anymore. You can go to the Minecraft Forum where I think that they still still support older versions, or update to a modern version of Minecraft (the latest version or the one before it) to receive support on this forum.
-
Contributing to Forge: 1.13.2 documentation update?
Cadiboo replied to hypehuman's topic in Modder Support
The test mods are disabled in 1.13.2 -
[1.13.2] "Correct" way to change a hard-coded value
Cadiboo replied to hypehuman's topic in Modder Support
Yes Yes. But it might not get accepted anytime soon with all the major work being done on 1.13 and 1.14 -
[1.13.2] "Correct" way to change a hard-coded value
Cadiboo replied to hypehuman's topic in Modder Support
If you make a good use case for it, it’s pretty likely that your PR will be accepted. You could also make a wrapper for the ingame gui and override renderHUDText -
[Solved][1.12.2] Rendering issues with dynamic block model
Cadiboo replied to Pyre540's topic in Modder Support
That’s the vanilla code that renders all the blocks for a chunk, translucency works right for it so I was thinking you might want to compare your code to it -
You definitely shouldn’t be rebaking the model each frame
-
Yes, you can play on 1.12.2 with 1.12.2 mods, and then play on 1.13.2 with 1.13.2 mods when they come out.
-
Class 'net.minecraftforge.userdev.LaunchTesting' not found in module
Cadiboo replied to belk548's topic in Modder Support
Refresh the gradle project -
Here’s something super simple that you can expand upon. https://github.com/Krevik/Kathairis/blob/a11b48e9971033d136d276afa146d05d577e4210/src/main/java/io/github/krevik/kathairis/ForgeEventSubscriber.java#L32-L116
-
What are you trying to do, from an end-user perspective?
-
Everything that IHasModel does can be done better in a lot less code. https://gist.github.com/Cadiboo/3f5cdb785affc069af2fa5fdf2d70358
-
OreDictionary was entirely replaced by the vanilla Tag system in 1.13
-
[Solved][1.12.2] Rendering issues with dynamic block model
Cadiboo replied to Pyre540's topic in Modder Support
You might want to look at how Blocks are rendered in RenderChunk#rebuildChunk -
TIL. I thought autoboxing was done by the JVM for some reason. It makes a lot more sense that it’s the compiler though.
-
Minecraft twitch custom modpack keeps crashing again
Cadiboo replied to Domasas111's topic in Support & Bug Reports
Somethings going wrong with your models. Can you please post your debug log as described in my signature and the EAQ? -
There appears to be almost nothing at all wrong with that log. There are no crashes and the only warning appears to be related to pixelmon’s entity data manager.
-
I use Java so that I can generate everything dynamically based on what’s in the Forge registries.
-
[1.12.2] Need something like "renderEntity", but with head only.
Cadiboo replied to Iterator's topic in Modder Support
You could look at the skull TESR code