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
|
||||
set(value) {}
|
||||
|
||||
override val maxBatteryLevel: Decimal get() = Decimal.ZERO
|
||||
override var energyFlow: FlowDirection = FlowDirection.BI_DIRECTIONAL
|
||||
override val maxBatteryLevel: Decimal get() = Decimal.POSITIVE_INFINITY
|
||||
override var energyFlow: FlowDirection = FlowDirection.INPUT
|
||||
private set
|
||||
|
||||
override val canSetBatteryLevel: Boolean
|
||||
|
Loading…
Reference in New Issue
Block a user