Everything posted by larsgerrits
-
Test Client crashes for no reason?
java.lang.NullPointerException at com.morethings.morethingsmod.morethingsmod.preinit(morethingsmod.java:139) ~[bin/:?] What's on line 139 in morethingsmod.java ?
-
[1.7.10] Unreported exception thrown when setting blockbounds
So this is giving you an error? @Override public TileEntity createTileEntity(World world, int meta) { return new TileEntityCable(); } It should work if it's like that. You still have the hasTileEntity method?
-
[1.8][SOLVED] Logger in 1.8
Why can't you use the already existing FMLLog ?
-
[1.7.10] Unreported exception thrown when setting blockbounds
Ah, now I see the issue. You have called your method createNewTileEntity while it should be createTileEntity . In the future, add the @Override annotation to all your methods you expect to override a method, as it will throw an error if the method doesn't exist in one of the super classes.
-
[1.7.10] Unreported exception thrown when setting blockbounds
You need to have the public boolean hasTileEntity(int meta) in your block class and make it return true.
-
[1.8][SOLVED] Logger in 1.8
FMLLog.getLogger() returns a org.apache.logging.log4j.Logger , and you use a java.util.logging.Logger .
-
[1.7.10] Unreported exception thrown when setting blockbounds
Then the only other thing that can be null on that line is cable . Can you post your full block class?
-
[1.7.10] Unreported exception thrown when setting blockbounds
No, the connections array is null, so when trying to access connections[3] , it will throw a NPE.
-
[1.7.10] Unreported exception thrown when setting blockbounds
cable.connections is null.
-
[1.7.10] 3D Model renders in Hand with transparency, but not when i place it.
Closed. No need for multiple threads for the same thing.
-
[1.7.10] Block isn't transparent anymore when placed and break particles fail
Closed. No need for multiple threads for the same thing.
-
[1.6.4] A different but still random crash in my dev environment
1) Update to 1.7.10, 1.6.4 is old. 2) java.lang.NullPointerException at net.minecraft.world.biome.WorldChunkManager.getTemperatures(WorldChunkManager.java:121) Place a breakpoint on that line 121 in WorldChunkManager.java and inspect all the values that could possibly be null, and the trace back the code to figure out why it's null.
-
[1.7.10][Unsolved] Rendering full 3D block on GUI (No Itemstacks!)
Maybe you can use RenderBlocks#renderBlockAsItem(block,metadata,1F) ?
-
[1.8][SOLVED] Bow FOV Zoom help
1) java.lang.NullPointerException at common.zeroquest.events.FOVEvent.FOVUpdate(FOVEvent.java:14) ~[FOVEvent.class:?] Something is null on line 14 in the FOVEvent class. 2) if(Constants.DEF_DARKLOAD == true) What..?
-
[1.8][SOLVED] Recipes and ItemStacks: Wood, Sugarcanes and Redstone powder
Wood: Blocks.log (oak,birch,jungle,spruce) or Blocks.log2 (acacia,dark oak). Suger Canes: Blocks.reeds . Redstone Dust: Items.redstone .
-
[Forge 1.8] How to Render Blocks in Inventory?
What...? Use Item.getItemFromBlock(Block) to get the corresponding Item.
-
[solved][1.7.10] Destroying an armor
That's the simplest way to do that.
-
[solved][1.7.10] Destroying an armor
The second line will cause a NPE.
-
[1.7.10][SOLVED]Block Right Click
To remove the ghost item, only spawn the EntityItem only on the server ( !world.isRemote ).
-
MOVED: [1.7.10]Cofh Core and Thermal Foundation not found.
This topic has been moved to Minecraft General. [iurl]http://www.minecraftforge.net/forum/index.php?topic=26926.0[/iurl]
-
[1.7.10]Item being added to array twice?
- Problem i cant see
Mod-ID most be lowercase.- [1.6.4][SOLVED]Ghost Items in Container
Not gonna download a random file from the internet. Make a GitHub for your mod.- mcmod.info dosn't work. Intellij IDEA
Those are also cached in a central location.- [1.8]¿ Method to break areas of blocks in one shot? <SOLVED>
tt]Thread.sleep(100)[/code]] stops the whole game, not just the block placing. You need to count ticks if you want a delay between breaking the blocks. - Problem i cant see
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.