mrspring / modjam4 Goto Github PK
View Code? Open in Web Editor NEWMy entry in the 4th Mod Jam
My entry in the 4th Mod Jam
#4 is back. Crash log can be found here.
You still need the
par1ItemStack.getTagCompound() != null
check in all ItemSandwich methods that use the tag in any way.
Lettuces will still spawn in superflat worlds.
If you put your cursor on the sandwich in the NEI screen, it will crash
java.lang.NullPointerException: Ticking entity
at dk.mrspring.kitchen.block.BlockBoard.getDrops(BlockBoard.java:137)
at net.minecraft.block.Block.dropBlockAsItemWithChance(Block.java:808)
at net.minecraft.world.Explosion.doExplosionB(Explosion.java:220)
at net.minecraft.world.WorldServer.newExplosion(WorldServer.java:973)
at net.minecraft.world.World.createExplosion(World.java:2611)
at net.minecraft.entity.monster.EntityCreeper.func_146077_cc(EntityCreeper.java:298)
at net.minecraft.entity.monster.EntityCreeper.onUpdate(EntityCreeper.java:172)
at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2254)
at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:697)
at net.minecraft.world.World.updateEntity(World.java:2214)
at net.minecraft.world.World.updateEntities(World.java:2064)
at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:528)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:693)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742)
Affected blocks:
Caching the tile entity in onBlockPreDestroy can't be relied upon. To be extra safe you might want to consider doing:
TileEntity tile = world.getTileEntity(x, y, z)
if (tile != null && tile instanceof TileEntityBoard)
{
TileEntityBoard tileEntityBoard = (TileEntityBoard) tile;
// stuff
}
See: http://openeye.openmods.info/crashes/12d5773b9b000fa39f689a33c84f6d7c
par1ItemStack.stackTagCompound is null for the sandwich item in NEI; you need to add null checks in both addInformation (doesn't cause a crash but sets the item name to Unnamed) and func_150905_g (causes a crash).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.