Applied-Replicatics
Toggle table of contents
21.1-1.0.1
Select version
21.1-1.0.1
21.1-1.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Applied-Replicatics
Applied-Replicatics
/
dev.lapis256.apprep.common.ae2.strategies
/
GenericStackMatterStorage
Generic
Stack
Matter
Storage
class
GenericStackMatterStorage
(
val
inventory
:
GenericInternalInventory
)
:
IMatterHandler
(
source
)
Members
Constructors
Generic
Stack
Matter
Storage
Link copied to clipboard
constructor
(
inventory
:
GenericInternalInventory
)
Properties
inventory
Link copied to clipboard
val
inventory
:
GenericInternalInventory
tanks
Link copied to clipboard
open
override
val
tanks
:
Int
Functions
drain
Link copied to clipboard
open
override
fun
drain
(
resource
:
MatterStack
,
action
:
IFluidHandler.FluidAction
)
:
MatterStack
open
override
fun
drain
(
maxDrain
:
Double
,
action
:
IFluidHandler.FluidAction
)
:
MatterStack
fill
Link copied to clipboard
open
override
fun
fill
(
stack
:
MatterStack
,
action
:
IFluidHandler.FluidAction
)
:
Double
get
Matter
In
Tank
Link copied to clipboard
open
override
fun
getMatterInTank
(
tank
:
Int
)
:
MatterStack
get
Tank
Capacity
Link copied to clipboard
open
override
fun
getTankCapacity
(
tank
:
Int
)
:
Double
get
Tanks
Link copied to clipboard
open
override
fun
getTanks
(
)
:
Int
is
Matter
Valid
Link copied to clipboard
open
override
fun
isMatterValid
(
tank
:
Int
,
stack
:
MatterStack
)
:
Boolean