mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Updating to 14.23.5.2808; naming fixes where necessary
This commit is contained in:
1 parent
a79a3e1658
commit
8d3f8df49c
93 files changed
+171
-177
No files matched your search
@@ -38,7 +38,7 @@ public class BlockObsidianTNT extends Block
|
||||
{
|
||||
super.onBlockAdded(world, pos, state);
|
||||
|
||||
if(world.isBlockIndirectlyGettingPowered(pos) > 0)
|
||||
if(world.getRedstonePowerFromNeighbors(pos) > 0)
|
||||
{
|
||||
explode(world, pos);
|
||||
world.setBlockToAir(pos);
|
||||
@@ -48,7 +48,7 @@ public class BlockObsidianTNT extends Block
|
||||
@Override
|
||||
public void neighborChanged(IBlockState state, World world, BlockPos pos, Block neighborBlock, BlockPos neighborPos)
|
||||
{
|
||||
if(world.isBlockIndirectlyGettingPowered(pos) > 0)
|
||||
if(world.getRedstonePowerFromNeighbors(pos) > 0)
|
||||
{
|
||||
explode(world, pos);
|
||||
world.setBlockToAir(pos);
|
||||
@@ -56,7 +56,7 @@ public class BlockObsidianTNT extends Block
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBlockDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)
|
||||
public void onBlockExploded(World world, BlockPos pos, Explosion explosion)
|
||||
{
|
||||
if(!world.isRemote)
|
||||
{
|
||||
@@ -106,7 +106,7 @@ public class BlockObsidianTNT extends Block
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEntityCollidedWithBlock(World world, BlockPos pos, IBlockState state, Entity entity)
|
||||
public void onEntityCollision(World world, BlockPos pos, IBlockState state, Entity entity)
|
||||
{
|
||||
if(entity instanceof EntityArrow && !world.isRemote)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user