Fix #751 fix creation of invalid machine block itemstacks
This commit is contained in:
parent
7b162009c2
commit
0cfb337809
7 changed files with 7 additions and 7 deletions
|
@ -29,7 +29,7 @@ public class BlockAESU extends BlockEnergyStorage
|
|||
@Override public List<ItemStack> getDrops(IBlockAccess world, BlockPos pos, IBlockState state, int fortune)
|
||||
{
|
||||
ArrayList<ItemStack> list = new ArrayList<>();
|
||||
list.add(new ItemStack(ModBlocks.machineframe, 1 , 7));
|
||||
list.add(new ItemStack(ModBlocks.machineframe, 1 , 2));
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ public class BlockIDSU extends BlockEnergyStorage
|
|||
@Override public List<ItemStack> getDrops(IBlockAccess world, BlockPos pos, IBlockState state, int fortune)
|
||||
{
|
||||
ArrayList<ItemStack> list = new ArrayList<>();
|
||||
list.add(new ItemStack(ModBlocks.machineframe, 1 , 7));
|
||||
list.add(new ItemStack(this, 1 , 2));
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ public class BlockLESU extends BlockEnergyStorage
|
|||
@Override public List<ItemStack> getDrops(IBlockAccess world, BlockPos pos, IBlockState state, int fortune)
|
||||
{
|
||||
ArrayList<ItemStack> list = new ArrayList<>();
|
||||
list.add(new ItemStack(ModBlocks.machineframe, 1 , 7));
|
||||
list.add(new ItemStack(this, 1 , 2));
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ public class BlockMFE extends BlockEnergyStorage
|
|||
@Override public List<ItemStack> getDrops(IBlockAccess world, BlockPos pos, IBlockState state, int fortune)
|
||||
{
|
||||
ArrayList<ItemStack> list = new ArrayList<>();
|
||||
list.add(new ItemStack(ModBlocks.machineframe, 1 , 6));
|
||||
list.add(new ItemStack(ModBlocks.machineframe, 1 , 1));
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ public class BlockMFSU extends BlockEnergyStorage
|
|||
@Override public List<ItemStack> getDrops(IBlockAccess world, BlockPos pos, IBlockState state, int fortune)
|
||||
{
|
||||
ArrayList<ItemStack> list = new ArrayList<>();
|
||||
list.add(new ItemStack(ModBlocks.machineframe, 1 , 7));
|
||||
list.add(new ItemStack(ModBlocks.machineframe, 1 , 1));
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ public class BlockHVTransformer extends BlockTransformer
|
|||
@Override public List<ItemStack> getDrops(IBlockAccess world, BlockPos pos, IBlockState state, int fortune)
|
||||
{
|
||||
ArrayList<ItemStack> list = new ArrayList<>();
|
||||
list.add(new ItemStack(ModBlocks.machineframe, 1 , 7));
|
||||
list.add(new ItemStack(ModBlocks.machineframe, 1 , 1));
|
||||
return list;
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ public class BlockMVTransformer extends BlockTransformer
|
|||
@Override public List<ItemStack> getDrops(IBlockAccess world, BlockPos pos, IBlockState state, int fortune)
|
||||
{
|
||||
ArrayList<ItemStack> list = new ArrayList<>();
|
||||
list.add(new ItemStack(ModBlocks.machineframe, 1 , 6));
|
||||
list.add(new ItemStack(ModBlocks.machineframe, 1 , 0));
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue