Specify max battery of cables as positive infinity
This commit is contained in:
parent
1c0cdb8b5b
commit
8d222125b5
@ -77,8 +77,8 @@ abstract class EnergyCableBlockEntity(type: BlockEntityType<*>, blockPos: BlockP
|
|||||||
get() = Decimal.ZERO
|
get() = Decimal.ZERO
|
||||||
set(value) {}
|
set(value) {}
|
||||||
|
|
||||||
override val maxBatteryLevel: Decimal get() = Decimal.ZERO
|
override val maxBatteryLevel: Decimal get() = Decimal.POSITIVE_INFINITY
|
||||||
override var energyFlow: FlowDirection = FlowDirection.BI_DIRECTIONAL
|
override var energyFlow: FlowDirection = FlowDirection.INPUT
|
||||||
private set
|
private set
|
||||||
|
|
||||||
override val canSetBatteryLevel: Boolean
|
override val canSetBatteryLevel: Boolean
|
||||||
|
Loading…
Reference in New Issue
Block a user