Made laputa shard save string block id's instead of integer id's. Also, a possible fix for #40

This commit is contained in:
Vincent Lee committed 2016-01-15 10:56:23 -06:00
1 parent 98e28a0967
commit bee13337ad
3 files changed
+17 -22

No files matched your search

@@ -72,21 +72,6 @@ public class BlockAltar extends BlockModContainer implements ILexiconable {
);
}
@Override
public void addCollisionBoxesToList(World worldIn, BlockPos pos, IBlockState state, AxisAlignedBB mask, List<AxisAlignedBB> list, Entity collidingEntity) {
//if (collidingEntity instanceof EntityItem) {
/*float f = 1F / 16F * 2F;
// Todo 1.8 temporary hack to let items collide from the top. Figure out what changed to break this.
setBlockBounds(f, f, f, 1F - f, 0.65F, 1F -f);
super.addCollisionBoxesToList(worldIn, pos, state, mask, list, collidingEntity);
setBlockBounds(f, f, f, 1F - f, 1F / 16F * 20F, 1F - f);
return;*/
//} else {
super.addCollisionBoxesToList(worldIn, pos, state, mask, list, collidingEntity);
//}
}
@Override
public BlockState createBlockState() {
return new BlockState(this, BotaniaStateProps.ALTAR_VARIANT);