Changed access to use this qualifier
This commit is contained in:
@@ -41,8 +41,8 @@ public class BlockChest extends AEBaseBlock
|
||||
|
||||
public BlockChest() {
|
||||
super( BlockChest.class, Material.iron );
|
||||
setFeature( EnumSet.of( AEFeature.StorageCells, AEFeature.MEChest ) );
|
||||
setTileEntity( TileChest.class );
|
||||
this.setFeature( EnumSet.of( AEFeature.StorageCells, AEFeature.MEChest ) );
|
||||
this.setTileEntity( TileChest.class );
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -54,7 +54,7 @@ public class BlockChest extends AEBaseBlock
|
||||
@Override
|
||||
public boolean onActivated(World w, int x, int y, int z, EntityPlayer p, int side, float hitX, float hitY, float hitZ)
|
||||
{
|
||||
TileChest tg = getTileEntity( w, x, y, z );
|
||||
TileChest tg = this.getTileEntity( w, x, y, z );
|
||||
if ( tg != null && !p.isSneaking() )
|
||||
{
|
||||
if ( Platform.isClient() )
|
||||
|
||||
@@ -37,8 +37,8 @@ public class BlockDrive extends AEBaseBlock
|
||||
|
||||
public BlockDrive() {
|
||||
super( BlockDrive.class, Material.iron );
|
||||
setFeature( EnumSet.of( AEFeature.StorageCells, AEFeature.MEDrive ) );
|
||||
setTileEntity( TileDrive.class );
|
||||
this.setFeature( EnumSet.of( AEFeature.StorageCells, AEFeature.MEDrive ) );
|
||||
this.setTileEntity( TileDrive.class );
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -53,7 +53,7 @@ public class BlockDrive extends AEBaseBlock
|
||||
if ( p.isSneaking() )
|
||||
return false;
|
||||
|
||||
TileDrive tg = getTileEntity( w, x, y, z );
|
||||
TileDrive tg = this.getTileEntity( w, x, y, z );
|
||||
if ( tg != null )
|
||||
{
|
||||
if ( Platform.isServer() )
|
||||
|
||||
@@ -36,14 +36,14 @@ public class BlockIOPort extends AEBaseBlock
|
||||
|
||||
public BlockIOPort() {
|
||||
super( BlockIOPort.class, Material.iron );
|
||||
setFeature( EnumSet.of( AEFeature.StorageCells, AEFeature.IOPort ) );
|
||||
setTileEntity( TileIOPort.class );
|
||||
this.setFeature( EnumSet.of( AEFeature.StorageCells, AEFeature.IOPort ) );
|
||||
this.setTileEntity( TileIOPort.class );
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void onNeighborBlockChange(World w, int x, int y, int z, Block junk)
|
||||
{
|
||||
TileIOPort te = getTileEntity( w, x, y, z );
|
||||
TileIOPort te = this.getTileEntity( w, x, y, z );
|
||||
if ( te != null )
|
||||
te.updateRedstoneState();
|
||||
}
|
||||
@@ -54,7 +54,7 @@ public class BlockIOPort extends AEBaseBlock
|
||||
if ( p.isSneaking() )
|
||||
return false;
|
||||
|
||||
TileIOPort tg = getTileEntity( w, x, y, z );
|
||||
TileIOPort tg = this.getTileEntity( w, x, y, z );
|
||||
if ( tg != null )
|
||||
{
|
||||
if ( Platform.isServer() )
|
||||
|
||||
@@ -54,22 +54,22 @@ public class BlockSkyChest extends AEBaseBlock implements ICustomCollision
|
||||
|
||||
public BlockSkyChest() {
|
||||
super( BlockSkyChest.class, Material.rock );
|
||||
setFeature( EnumSet.of( AEFeature.Core, AEFeature.SkyStoneChests ) );
|
||||
setTileEntity( TileSkyChest.class );
|
||||
isOpaque = isFullSize = false;
|
||||
lightOpacity = 0;
|
||||
hasSubtypes = true;
|
||||
setHardness( 50 );
|
||||
blockResistance = 150.0f;
|
||||
this.setFeature( EnumSet.of( AEFeature.Core, AEFeature.SkyStoneChests ) );
|
||||
this.setTileEntity( TileSkyChest.class );
|
||||
this.isOpaque = this.isFullSize = false;
|
||||
this.lightOpacity = 0;
|
||||
this.hasSubtypes = true;
|
||||
this.setHardness( 50 );
|
||||
this.blockResistance = 150.0f;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUnlocalizedName(ItemStack is)
|
||||
{
|
||||
if ( is.getItemDamage() == 1 )
|
||||
return getUnlocalizedName() + ".Block";
|
||||
return this.getUnlocalizedName() + ".Block";
|
||||
|
||||
return getUnlocalizedName();
|
||||
return this.getUnlocalizedName();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -107,7 +107,7 @@ public class BlockSkyChest extends AEBaseBlock implements ICustomCollision
|
||||
public boolean onActivated(World w, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ)
|
||||
{
|
||||
if ( Platform.isServer() )
|
||||
Platform.openGUI( player, getTileEntity( w, x, y, z ), ForgeDirection.getOrientation( side ), GuiBridge.GUI_SKYCHEST );
|
||||
Platform.openGUI( player, this.getTileEntity( w, x, y, z ), ForgeDirection.getOrientation( side ), GuiBridge.GUI_SKYCHEST );
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class BlockSkyChest extends AEBaseBlock implements ICustomCollision
|
||||
@Override
|
||||
public Iterable<AxisAlignedBB> getSelectedBoundingBoxesFromPool(World w, int x, int y, int z, Entity e, boolean isVisual)
|
||||
{
|
||||
TileSkyChest sk = getTileEntity( w, x, y, z );
|
||||
TileSkyChest sk = this.getTileEntity( w, x, y, z );
|
||||
double sc = 0.06;
|
||||
ForgeDirection o = ForgeDirection.UNKNOWN;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user