
Everything posted by Cadiboo
-
[Solved] [1.12.2] Error rendering block model with variants
You define the "glassless", "default" and "intricate" in your code, but only have "normal" in your block state.
-
Minecraft Crashes When Trying To Initialize
You have a mod that requires creative core, but you don't have it installed (or you have the wrong version installed)
-
[1.13.2] Store value in Block + Advanced Texturing & Colouring
Either you badly registered your block, or you're trying to set your property on an air block, not your block. do NOT do this. Override fillStateContainer
-
Minecraft Crashes When Trying To Initialize
You installed the deobf version of Bookshelf (Bookshelf-1.12.2-2.3.585-deobf.jar)made for mod developers, not mod users. Download the non-deobf version.
-
[Solved] [1.12.2] Error rendering block model with variants
Logs?
-
Add animation on vanilla Block with RenderWorldLastEvent
You can spawn particles in the Block#randomDisplayTick method. Look at BlockEnchantmentTable#randomDisplayTick, BlockLiquid#randomDisplayTick and BlockFurnace#randomDisplayTick.
-
[1.13.2] Store value in Block + Advanced Texturing & Colouring
Blocks are singletons. This means that there is only one block instance in the entire game. To store stuff like this you need to use BlockStates and their properties (look at tallgrass for examples). Depending on what you want, you might be able to accomplish everything with the json model system. If not, you can use the IModelData system.
-
Help My game crashes
Damage indicators has a bug. Make sure you have the latest version. If you do, report the error to the mod author.
-
[1.12.2] Tile entity incorrect data
No, you're misunderstanding. The client is always lying. You need to do all your logic on the server and send the result to the client. NOT the other way around
-
[1.12.2] Get texture from block [Solved]
Don't do this. You're passing in null as the thing thats meant to do the model lookup that you call in the next line. use Minecraft#getBlockRendererDispatcher()
-
[1.12.2] Get texture from block [Solved]
BlockRendererDispatcher#getModelForState(IBlockState)#getQuads#get#getSprite Will get you the sprite in the texture map which you will use for anything to do with rendering. If for some reason you need the path of that sprite I’m pretty sure there’s a method on the sprite to get it’s resource location, however this will not always be a valid file or a file that contains what you expect because some textures are inbuilt (the missing texture) and others use animation (water, lava) and color (the enchantment texture) when they are rendered
-
Minecraft runs extremely slow, even with new computer.
Some programs/mods are badly made/unoptimised (vanilla is an amazingly good example of this), there is no war around this. What you should do is find out which mods are making your game run slowly and not use them. Properly debugging your problem with the HUD profiler (shift+f3) and /debug to find what’s making your game go slowly would also help. Programs that are unoptimised and create a lot of new objects can cause lag spikes when Java needs to sort through all these objects and delete the ones that are no-longer being used to free up memory. If many, many new objects are being created very fast, it can significantly lower your FPS and create large amounts of other lag. Start off with just Forge installed and slowly build up mods. If you want help finding what mods are causing lag, please post the results of the /debug command.
-
My mods arent working on my minecraft multiplayer server
That is a tiny snippet of a log that doesn’t say anything useful. We need the entire debug.log from .minecraft/logs/
-
Add animation on vanilla Block with RenderWorldLastEvent
Would they be like the enchantment particles and move around outside the block, or is it just an animated texture? If it’s just a texture, you can have your block have different models for different blockstates, and you can use .mcmeta to animate your texture (the way water and lava are animated)
-
[1.13.2] Mod configuration using ForgeConfigSpec
In my example, ConfigHelper.setAndSave saves a value. To use it, you need a ModConfig, a path for the value you want to set, and an actual value to set. Config saving is done async, so the changes you make will be applied usually within the next 10 seconds. Examples of setting a value https://github.com/Cadiboo/NoCubes/blob/6c28c100c61e8c629d33a83ba87dbaa41f7f7662/src/main/java/io/github/cadiboo/nocubes/config/ConfigHelper.java#L392-L407 Examples of setting a value + updating the baked value (unclean code, but it gets the job done until there’s a way to force a non-async save+load) https://github.com/Cadiboo/NoCubes/blob/91dcad05ec74621a4af31c0cc5e06ebbb3b094e2/src/main/java/io/github/cadiboo/nocubes/client/ClientEventSubscriber.java#L86-L104 Edit: I now use this method (which includes some hacks to replicate the functionality that my PR adds)
-
[1.12.2] Adding Resources at runtime
Er no, snake case. It’s done automatically - setUnlocalisedName/setTranslationKey no longer exists
-
[1.14.2] Logger isn't logging
The logger is working fine for me too.
-
Powering powered rails does not work.
Try the latest forge
-
Forge Is still crashing 1.14.2
Post your debug.log from .minecraft/logs/ as described in then EAQ
-
Forge Stopped working as of today
Report the error to the author
-
My Game Crashes while loading mods.
Update your Forge version to at least #2779. If that doesn’t work, do what DaemonUmbra said
-
Minecraft runs extremely slow, even with new computer.
I highly recommend starting off with one or two mods and building up until you find a combination of mods that doesn’t create lag for you. You might also want to consider installing OptiFine and/or other optimisation for the performance improvements that they offer.
-
Forge Mods Crashing my game 1.14.2
Seems to be an issue with waila (probably hwyla). Make sure you have the latest version of it and the latest forge version. If the problem persists, contact the author (create an issue on its issues page)
-
1.12.2 Crash
Specifically it requires a Forge version of at least #2779
- Minecraft modded server crash after i join
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.