Tier 0, 2, 3 machine blocks fixed
This commit is contained in:
parent
3201ac878b
commit
93cf0a97d5
4 changed files with 28 additions and 59 deletions
|
@ -59,10 +59,12 @@ public class BlockCreativeQuantumChest extends BlockMachineBase {
|
|||
public boolean isAdvanced() {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void breakBlock(World worldIn, BlockPos pos, IBlockState state) {
|
||||
//lets not drop max int items into the world, that sounds like a bad idea
|
||||
worldIn.removeTileEntity(pos);
|
||||
public void onReplaced(IBlockState state, World worldIn, BlockPos pos, IBlockState newState, boolean isMoving) {
|
||||
if (state.getBlock() != newState.getBlock()) {
|
||||
//lets not drop max int items into the world, that sounds like a bad idea
|
||||
worldIn.removeTileEntity(pos);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue