Class VolumeCollectors
- java.lang.Object
-
- org.spongepowered.api.world.volume.stream.VolumeCollectors
-
public final class VolumeCollectors extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <W extends World<W,?>>
VolumeCollector<W,java.util.Optional<? extends BlockEntity>,java.lang.Boolean>applyBlockEntitiesOrRemove(W world)
static <W extends World<W,? extends ServerLocation>>
VolumeCollector<W,BlockEntityArchetype,java.util.Optional<? extends BlockEntity>>applyBlockEntityArchetypesToWorld(W world)
static <W extends World<W,?>>
VolumeCollector<W,BlockEntity,java.lang.Boolean>applyBlockEntityToWorld(W world)
static <W extends World<W,?>>
VolumeCollector<W,BlockState,java.lang.Boolean>applyBlocksToWorld(W world)
static <W extends World<W,?>>
VolumeCollector<W,BlockState,java.lang.Boolean>applyBlocksToWorld(W world, BlockChangeFlag flag)
static <W extends World<W,?>>
VolumeCollector<W,Entity,java.lang.Boolean>applyEntitiesToWorld(W world)
static <W extends World<W,? extends ServerLocation>>
VolumeCollector<W,EntityArchetype,java.util.Optional<? extends Entity>>applyEntityArchetypesToWorld(W world)
static <M extends MutableVolume,T,R>
VolumeCollector<M,T,R>of(M volume, VolumePositionTranslator<M,T> transformer, VolumeApplicator<M,T,R> applicator)
-
-
-
Method Detail
-
applyBlocksToWorld
public static <W extends World<W,?>> VolumeCollector<W,BlockState,java.lang.Boolean> applyBlocksToWorld(W world, BlockChangeFlag flag)
-
applyBlocksToWorld
public static <W extends World<W,?>> VolumeCollector<W,BlockState,java.lang.Boolean> applyBlocksToWorld(W world)
-
applyBlockEntityToWorld
public static <W extends World<W,?>> VolumeCollector<W,BlockEntity,java.lang.Boolean> applyBlockEntityToWorld(W world)
-
applyBlockEntitiesOrRemove
public static <W extends World<W,?>> VolumeCollector<W,java.util.Optional<? extends BlockEntity>,java.lang.Boolean> applyBlockEntitiesOrRemove(W world)
-
applyEntitiesToWorld
public static <W extends World<W,?>> VolumeCollector<W,Entity,java.lang.Boolean> applyEntitiesToWorld(W world)
-
applyEntityArchetypesToWorld
public static <W extends World<W,? extends ServerLocation>> VolumeCollector<W,EntityArchetype,java.util.Optional<? extends Entity>> applyEntityArchetypesToWorld(W world)
-
applyBlockEntityArchetypesToWorld
public static <W extends World<W,? extends ServerLocation>> VolumeCollector<W,BlockEntityArchetype,java.util.Optional<? extends BlockEntity>> applyBlockEntityArchetypesToWorld(W world)
-
of
public static <M extends MutableVolume,T,R> VolumeCollector<M,T,R> of(M volume, VolumePositionTranslator<M,T> transformer, VolumeApplicator<M,T,R> applicator)
-
-