added renaming feature with quartz cutting knife

This commit is contained in:
James
2022-09-05 02:51:17 -06:00
committed by PrototypeTrousers
parent 2ea120e614
commit a9c891f69a
15 changed files with 250 additions and 9 deletions
+5 -3
View File
@@ -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 );