use of net.glowstone.block.entity.BedEntity in project Glowstone by GlowstoneMC.
the class GlowBed method update.
@Override
public boolean update(boolean force, boolean applyPhysics) {
boolean result = super.update(force, applyPhysics);
if (result) {
BedEntity bed = getBlockEntity();
bed.setColor(color.getWoolData());
getBlockEntity().updateInRange();
}
return result;
}
Aggregations