Package org.spongepowered.api.fluid
Interface FluidStackSnapshot.Builder
- All Superinterfaces:
AbstractBuilder<FluidStackSnapshot>
,Builder<FluidStackSnapshot,
,FluidStackSnapshot.Builder> CopyableBuilder<FluidStackSnapshot,
,FluidStackSnapshot.Builder> DataBuilder<FluidStackSnapshot>
,DataHolderBuilder<FluidStackSnapshot,
,FluidStackSnapshot.Builder> DataHolderBuilder.Immutable<FluidStackSnapshot,
,FluidStackSnapshot.Builder> ResettableBuilder<FluidStackSnapshot,
,FluidStackSnapshot.Builder> SerializableDataHolderBuilder<FluidStackSnapshot,
,FluidStackSnapshot.Builder> SerializableDataHolderBuilder.Immutable<FluidStackSnapshot,
FluidStackSnapshot.Builder>
- Enclosing interface:
FluidStackSnapshot
public static interface FluidStackSnapshot.Builder
extends SerializableDataHolderBuilder.Immutable<FluidStackSnapshot,FluidStackSnapshot.Builder>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.data.DataHolderBuilder
DataHolderBuilder.Immutable<H extends DataHolder.Immutable<H>,
B extends DataHolderBuilder.Immutable<H, B>>, DataHolderBuilder.Mutable<H extends DataHolder.Mutable, B extends DataHolderBuilder.Mutable<H, B>> Nested classes/interfaces inherited from interface org.spongepowered.api.data.SerializableDataHolderBuilder
SerializableDataHolderBuilder.Immutable<H extends SerializableDataHolder.Immutable<H>,
B extends SerializableDataHolderBuilder.Immutable<H, B>>, SerializableDataHolderBuilder.Mutable<H extends SerializableDataHolder.Mutable, B extends SerializableDataHolderBuilder.Mutable<H, B>> -
Method Summary
Modifier and TypeMethodDescriptiondefault FluidStackSnapshot.Builder
from
(FluidStack fluidStack) Resets this builder and accepts all data from the incomingFluidStack
.volume
(int volume) Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder
build
Methods inherited from interface org.spongepowered.api.data.persistence.DataBuilder
build
-
Method Details
-
fluid
-
fluid
-
volume
-
from
Resets this builder and accepts all data from the incomingFluidStack
.- Parameters:
fluidStack
- The fluid stack to accept- Returns:
- This builder, for chaining
-