Make fluid tanks drop item contents when broken
This commit is contained in:
parent
90f345a2d9
commit
7ce73bdb52
@ -32,9 +32,9 @@ class FluidTankBlockEntity(blockPos: BlockPos, blockState: BlockState) : Mattery
|
||||
var synchronizedFluid by synchronizer.Field(FluidStack.EMPTY!!, FluidStackValueCodec)
|
||||
private set
|
||||
|
||||
val fillInput = MatteryContainer(::setChangedLight, 1)
|
||||
val drainInput = MatteryContainer(::setChangedLight, 1)
|
||||
val output = MatteryContainer(::setChangedLight, 1)
|
||||
val fillInput = MatteryContainer(::setChangedLight, 1).also(::addDroppableContainer)
|
||||
val drainInput = MatteryContainer(::setChangedLight, 1).also(::addDroppableContainer)
|
||||
val output = MatteryContainer(::setChangedLight, 1).also(::addDroppableContainer)
|
||||
|
||||
val itemConfig = ConfigurableItemHandler(
|
||||
input = CombinedItemHandler(
|
||||
|
Loading…
Reference in New Issue
Block a user