added renaming feature with quartz cutting knife
This commit is contained in:
@@ -419,9 +419,6 @@ public class AEBaseTile extends TileEntity implements IOrientable, ICommonTile,
|
||||
* returns the contents of the tile entity, into the world, defaults to dropping everything in the inventory.
|
||||
*
|
||||
* @param w world
|
||||
* @param x x pos of tile entity
|
||||
* @param y y pos of tile entity
|
||||
* @param z z pos of tile entity
|
||||
* @param drops drops of tile entity
|
||||
*/
|
||||
@Override
|
||||
@@ -499,6 +496,11 @@ public class AEBaseTile extends TileEntity implements IOrientable, ICommonTile,
|
||||
return this.customName != null && this.customName.length() > 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCustomName(@Nullable String customName) {
|
||||
setName(customName);
|
||||
}
|
||||
|
||||
public void securityBreak()
|
||||
{
|
||||
this.world.destroyBlock( this.pos, true );
|
||||
|
||||
Reference in New Issue
Block a user