Everything posted by larsgerrits
-
How to prevent lag?
If it's currently e.g. 12, and it's lagging, you set it to e.g. 10. If it's still lagging, you set it even lower, until it stops lagging. I don't know what your machine specs are, and even if I did, I couldn't tell you what at what render distance you have to play.
-
[SOLVED] Recolour Leaves for use with custom block
You have to register a custom IBlockColor implementation using Minecraft.getMinecraft().getBlockColors().registerBlockColorHandler(IBlockColor) .
-
How to prevent lag?
You have to set the render distance lower than it currently is and when the game stops lagging. And just a reminder, if your computer isn't powerful enough, fixing the other things might not have such a big impact if your computer just can't handle Minecraft.
-
How to prevent lag?
There are a lot of stuff that can cause lag: - Your computer isn't powerful enough - You are using a too high resolution/high detailed resource pack - You are using too many mods - You have too much background tasks open - You are doing way too much in-game and that's causing a lot of lag - The render distance is too high (see #1) - You set everything at max settings (see #1) There are more causes that can cause lag, but fixing these can remove/reduce the lag significantly (unless #1 is applicable).
-
How to create a forge .json file for meta items
You can reference a vanilla model like any other model, but with either minecraft as the modid or leaving the modid empty ( "item/generated" alone).
-
words are not doing their thing
The post is getting messed up because of the [nobbc][WARN][/nobbc] tag in the post, making the red boxes and indenting the text after it. And the [nobbc][WARN][/nobbc] is added in error logs, which makes it really annoying, as some users won't care to preview their posts... @hackcr1258 It has something to do with error: unmappable character for encoding utf-8 , as I'm seeing it a lot in your error log. To fix this, save your source file in UTF-8 formatting.
-
[1.8.9] More effective replacement for thread.sleep?
You really make me think you don't know Java... Do you?
-
Server not starting
A crash report would be useful.
-
[1.8.9] More effective replacement for thread.sleep?
Don't do the reading of the whitelist every 5 ticks. Do it in a method that's getting called only once on startup (postInit or something else). Reading every tick is unnecessary. Also, if(cont == true) is the same as if(cont) ... (Basic Java)
-
Wierd Errors
Totally unnecessary and just a way around the fact he doesn't know Java.
-
[1.8.9] More effective replacement for thread.sleep?
Then you have to save the integer outside of the method.
-
[1.8.9] More effective replacement for thread.sleep?
Try it and you'll find out.
-
[1.10.2] [UNSOLVED] Block EnumFacing crash
Block ID 123 is an inactive redstone lamp, do you have that in your world or do you reference that anywhere?
-
[1.8.9] More effective replacement for thread.sleep?
Yes we do, but it's your mod, and we are not going to write your mod for you.
-
[1.10.2] Rendering Lightning?!?!?!
If you want actual lightning from the sky, you can add an EntityLightingBolt to the World 's weather effects. If you want something like the Thaumcraft lightning wand, you'd have to make a custom effect.
-
startup crash
java.lang.NullPointerException: Initializing game at slimeknights.tconstruct.library.client.model.MaterialModel.bakeIt(MaterialModel.java:75) This is an issue with Tinkers' Construct , report it to them.
-
Strangest crash I've ever seen
java.lang.OutOfMemoryError: Java heap space You are using a few mods, with a 128x resource pack and you want it to only use 1GB of RAM? That isn't going to work, you have to increase the RAM allocated for Minecraft, remove some mods or remove the 128x resource pack.
-
[Solved] Change name for Client
Editing base-classes is not supported. Use the PlayerEvent.NameFormat event.
-
Excessive memory usage during baking
Why did he even have those "aggressive" options? According to my JVM knowledge, using -XX:+AggressiveHeap allows the JVM to use up all the physical RAM installed, and if it does, it crashes.
-
startup crash
java.lang.NoClassDefFoundError: baubles/common/lib/PlayerHandler at vazkii.botania.common.core.handler.InternalMethodHandler.getBaublesInventory(InternalMethodHandler.java:187) This is an issue with Botania, report it to them. Have you checked you have the latest version of Botania and the supported version of Baubles installed?
-
[1.8.9] More effective replacement for thread.sleep?
Do you even Java? A while (true) loop runs FOREVER if you can't break out of it. And I guess the com.megaparties.Events.count starts at 0, which means it isn't bigger than 50 (duh!), and the loop keeps looping forever.
-
[Solved] Change name for Client
No, not in a good way.
-
Custom Block model has incorrect collision box
Only use use the one Draco18s suggested, not both.
-
Forge crashing on joining a server
WARNING: coremods are present: PlayerAPIPlugin (PlayerAPI-1.8-1.0.jar) Contact their authors BEFORE contacting forge If you run the server without any mods, does it still crash? If not, it's a mod problem. If it does, it is a Forge problem.
-
Custom player inventory: Capability, ICapabilityProvider, PlayerInvWrapper...?
Here is the documentation for Capabilities , this will help you get started: http://mcforge.readthedocs.io/en/latest/datastorage/capabilities/
IPS spam blocked by CleanTalk.