-
Posts
3624 -
Joined
-
Last visited
-
Days Won
58
Everything posted by Cadiboo
-
Please show your full code. Especially your container and tile entity
-
VBOs are always on now. This is an implementation detail that you shouldn’t need to know about though, what are you doing?
-
Your block’s shape should match the shape of your model. Show your code.
-
You could have a copy of the vanilla block in your mod that is the exact same + always true water logged
-
[Solved] [Forge Version] Which version should I use?
Cadiboo replied to Entonez's topic in Modder Support
If your mod is successful then you can always backport in the future. The best way to code a mod is to write it for the latest version and do your best to make it is future proof as possible by abstracting what you can and always using the most up to date way of doing stuff. -
[1.15.2] How to make occasionally animations?
Cadiboo replied to DragonITA's topic in Modder Support
Look at usages of both and gain a good understanding of what they’re used for and their differences -
1.15.2 how do i render my own player-model?
Cadiboo replied to Drachenbauer's topic in Modder Support
How does vanilla do it when you’re sneaking/flying/crawling? Also the model is just for rendering. It doesn’t control the size of the entity -
[1.14.4] Use different log4j logger for instance.
Cadiboo replied to MairwunNx's topic in Modder Support
Use the same logger. Use LogManager.getLogger() and then apply your own config for your mod (via the package name). -
As Soon As Possible
-
[1.15.2] How to make occasionally animations?
Cadiboo replied to DragonITA's topic in Modder Support
Fix this, you really need to be able to see the vanilla code for modding. If you have trouble with it ask for help. Look at the horse code. It’s probably something like a timer in the entity + setting rotations in the Renderer based on that timer. -
How Would I Make My Custom Block Carvable to Caves
Cadiboo replied to HappyPants's topic in Modder Support
Out if curiosity, how did you do this? -
[1.16.5] new block window not rendering correctly
Cadiboo replied to matt1999rd's topic in Modder Support
Run this in the client setup event. You can also use DistExecutor to run code only on a specific side but be careful with lambdas and the verifier. -
Do i need an entity-class for my own player-model?
Cadiboo replied to Drachenbauer's topic in Modder Support
Probably nothing would happen if you copy paste a single class. That being said, you don’t want to go around illegally sharing someone else’s intellectual property. You also don’t want to copy vanilla’s code because it changes often (and the changes may break your copied code) and usually uses legacy code that hasn’t been updated in 10 years. Forge usually provides better systems and better ways of doing stuff. -
[1.15.2] setRotationAngles vs setLivingAnimations
Cadiboo replied to DragonITA's topic in Modder Support
What does vanilla use and why? -
What´s wrong with this custom player renderer
Cadiboo replied to Drachenbauer's topic in Modder Support
-
What´s wrong with this custom player renderer
Cadiboo replied to Drachenbauer's topic in Modder Support
Ok, I’m going to step back, why are you duplicating the player renderer? Why aren’t you extending it? What are you trying to do, from a player’s perspective? -
Go with #1 and 16x16 textures. Textures should be a power of two. So 8, 16, 32, 64. They should also be no larger than 16 because of this and this.
-
What´s wrong with this custom player renderer
Cadiboo replied to Drachenbauer's topic in Modder Support
No. Wdym? That was a temporary workaround hack for not having a MatrixStack in the DrawBlockHighlightEvent, a completely different issue that has now been solved. Porting this code should take you all of 30 seconds. Copy the original minecraft class (from referenced libraries), apply your patches and you’re done. You can see an example of where I do something similar here (adding 2 fields at the bottom of a class, I need to keep the rest of the class’s code correct and up to date). -
Subscribing: https://mcforge.readthedocs.io/en/1.15.x/events/intro/ Personally I would PR a hook to avoid incompatibilities with other mods that replace the screen.
-
net.minecraftforge.server.command.modidargument
Cadiboo replied to Edivad99's topic in Modder Support
This appears to be your error. Please post the debug logs from both client and server. -
net.minecraftforge.server.command.modidargument
Cadiboo replied to Edivad99's topic in Modder Support
Probably not, but McJty’s tutorial isn’t the best - It uses a hack to load the config before it should be loaded + doesn’t bake config values. You can see my tutorial here. I think McJty fixed his tutorial but you followed the outdated one.