@Override public void updateEntity() { super.updateEntity(); if (!worldObj.isRemote) { if (activated.getValue() && _redstoneAnimTimer > 0) _redstoneAnimTimer--; if (activated.getValue() && _redstoneAnimTimer <= 0) { activated.setValue(false); } sync(); } }
@SideOnly(Side.CLIENT) public boolean isActivated() { return activated.getValue(); }