19w37a
This commit is contained in:
parent
1cc56ed2e3
commit
8c9c736da9
13 changed files with 170 additions and 169 deletions
|
@ -83,7 +83,7 @@ public class SolarPanelBlockEntity extends PowerAcceptorBlockEntity implements I
|
|||
return;
|
||||
}
|
||||
if (world.getTime() % 20 == 0) {
|
||||
canSeeSky = world.method_8626(pos.up());
|
||||
canSeeSky = world.isSkyVisible(pos.up());
|
||||
if (lastState != isSunOut()) {
|
||||
world.setBlockState(pos, world.getBlockState(pos).with(BlockMachineBase.ACTIVE, isSunOut()));
|
||||
lastState = isSunOut();
|
||||
|
|
|
@ -69,8 +69,8 @@ public class VacuumFreezerBlockEntity extends GenericMachineBlockEntity implemen
|
|||
|
||||
// BlockEntity
|
||||
@Override
|
||||
public void validate() {
|
||||
super.validate();
|
||||
public void cancelRemoval() {
|
||||
super.cancelRemoval();
|
||||
multiblockChecker = new MultiblockChecker(world, pos.down());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue