@Override public void execute(Side side, EntityPlayer player) { if (side.isServer()) { TileEntity te = player.worldObj.getTileEntity(new BlockPos(x, y, z)); if (te instanceof TileEntityTabulaRasa) { TileEntityTabulaRasa tr = (TileEntityTabulaRasa) te; if (tr.host.equals(player.getCommandSenderName())) { tr.currentProj = ident; tr.needProjectUpdate = true; tr.needTextureUpdate = true; tr.getWorld().markBlockForUpdate(tr.getPos()); } } } }
@Override public void markDirty() { if (side.isServer()) { playerSave.setCreativeDirty(); } }
@Override protected final boolean isValidOnSide(Side side) { return side.isServer(); }