This commit is contained in:
GlodBlock committed 2022-06-05 01:31:07 +08:00
1 parent c6938cc921
commit 802671d504
7 files changed
+18 -12

No files matched your search

@@ -23,7 +23,7 @@ public class BlockBurette extends AEBaseTileBlock {
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand,
EnumFacing facing, float hitX, float hitY, float hitZ) {
if (player.isSneaking()) {
return false;
return super.onBlockActivated(world, pos, state, player, hand, facing, hitX, hitY, hitZ);
}
TileBurette tile = getTileEntity(world, pos);
if (tile != null) {
@@ -32,7 +32,7 @@ public class BlockBurette extends AEBaseTileBlock {
}
return true;
}
return false;
return super.onBlockActivated(world, pos, state, player, hand, facing, hitX, hitY, hitZ);
}
}
@@ -23,7 +23,7 @@ public class BlockFluidLevelMaintainer extends AEBaseTileBlock {
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand,
EnumFacing facing, float hitX, float hitY, float hitZ) {
if (player.isSneaking()) {
return false;
return super.onBlockActivated(world, pos, state, player, hand, facing, hitX, hitY, hitZ);
}
TileFluidLevelMaintainer tile = getTileEntity(world, pos);
if (tile != null) {
@@ -33,7 +33,7 @@ public class BlockFluidLevelMaintainer extends AEBaseTileBlock {
return true;
}
return false;
return super.onBlockActivated(world, pos, state, player, hand, facing, hitX, hitY, hitZ);
}
}
@@ -23,7 +23,7 @@ public class BlockFluidPacketDecoder extends AEBaseTileBlock {
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand,
EnumFacing facing, float hitX, float hitY, float hitZ) {
if (player.isSneaking()) {
return false;
return super.onBlockActivated(world, pos, state, player, hand, facing, hitX, hitY, hitZ);
}
TileFluidPacketDecoder tile = getTileEntity(world, pos);
if (tile != null) {
@@ -32,7 +32,7 @@ public class BlockFluidPacketDecoder extends AEBaseTileBlock {
}
return true;
}
return false;
return super.onBlockActivated(world, pos, state, player, hand, facing, hitX, hitY, hitZ);
}
}
@@ -23,7 +23,7 @@ public class BlockFluidPatternEncoder extends AEBaseTileBlock {
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand,
EnumFacing facing, float hitX, float hitY, float hitZ) {
if (player.isSneaking()) {
return false;
return super.onBlockActivated(world, pos, state, player, hand, facing, hitX, hitY, hitZ);
}
TileFluidPatternEncoder tile = getTileEntity(world, pos);
if (tile != null) {
@@ -32,7 +32,7 @@ public class BlockFluidPatternEncoder extends AEBaseTileBlock {
}
return true;
}
return false;
return super.onBlockActivated(world, pos, state, player, hand, facing, hitX, hitY, hitZ);
}
}
@@ -30,7 +30,7 @@ public class BlockIngredientBuffer extends AEBaseTileBlock {
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand,
EnumFacing facing, float hitX, float hitY, float hitZ) {
if (player.isSneaking()) {
return false;
return super.onBlockActivated(world, pos, state, player, hand, facing, hitX, hitY, hitZ);
}
TileIngredientBuffer tile = getTileEntity(world, pos);
if (tile != null) {
@@ -39,7 +39,7 @@ public class BlockIngredientBuffer extends AEBaseTileBlock {
}
return true;
}
return false;
return super.onBlockActivated(world, pos, state, player, hand, facing, hitX, hitY, hitZ);
}
@SideOnly(Side.CLIENT)
@@ -1,6 +1,12 @@
{
"parent": "block/cube_all",
"parent": "block/orientable",
"textures": {
"all": "ae2fc:blocks/fluid_level_maintainer"
"particle": "ae2fc:blocks/fluid_level_maintainer",
"down": "ae2fc:blocks/fluid_level_maintainer_side",
"up": "ae2fc:blocks/fluid_level_maintainer",
"north": "ae2fc:blocks/fluid_level_maintainer_side",
"south": "ae2fc:blocks/fluid_level_maintainer_side",
"east": "ae2fc:blocks/fluid_level_maintainer_side",
"west": "ae2fc:blocks/fluid_level_maintainer_side"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B