Lamp fix
This commit is contained in:
parent
23532400bf
commit
2fcc5ffb07
@ -143,6 +143,12 @@ class LaboratoryLamp(val invertRedstone: Boolean) : Block(Properties.of(Material
|
|||||||
doTick(state, level, pos)
|
doTick(state, level, pos)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Suppress("OVERRIDE_DEPRECATION")
|
||||||
|
override fun rotate(blockState: BlockState, rotation: Rotation): BlockState {
|
||||||
|
@Suppress("DEPRECATION")
|
||||||
|
return super.rotate(blockState, rotation).setValue(RotatableMatteryBlock.FACING_FULL, rotation.rotate(blockState[RotatableMatteryBlock.FACING_FULL]))
|
||||||
|
}
|
||||||
|
|
||||||
fun doTick(
|
fun doTick(
|
||||||
state: BlockState,
|
state: BlockState,
|
||||||
level: Level,
|
level: Level,
|
||||||
|
Loading…
Reference in New Issue
Block a user