TileEntity servant = worldIn.getTileEntity(pos); if(servant instanceof IServantLogic) { ((IMasterLogic) te).notifyChange((IServantLogic) servant, pos); break;
@Override public void notifyMasterOfChange() { if(this.hasValidMaster()) { IMasterLogic logic = (IMasterLogic) this.world.getTileEntity(this.master); logic.notifyChange(this, this.pos); } }