Class VolumeCollectors
java.lang.Object
org.spongepowered.api.world.volume.stream.VolumeCollectors
-
Method Summary
Modifier and TypeMethodDescriptionstatic <W extends World<W,
?>>
VolumeCollector<W,Optional<? extends BlockEntity>, Boolean> applyBlockEntitiesOrRemove
(W world) static <W extends World<W,
? extends ServerLocation>>
VolumeCollector<W,BlockEntityArchetype, Optional<? extends BlockEntity>> applyBlockEntityArchetypesToWorld
(W world) static <W extends World<W,
?>>
VolumeCollector<W,BlockEntity, Boolean> applyBlockEntityToWorld
(W world) static <W extends World<W,
?>>
VolumeCollector<W,BlockState, Boolean> applyBlocksToWorld
(W world) static <W extends World<W,
?>>
VolumeCollector<W,BlockState, Boolean> applyBlocksToWorld
(W world, BlockChangeFlag flag) static <W extends World<W,
?>>
VolumeCollector<W,Entity, Boolean> applyEntitiesToWorld
(W world) static <W extends World<W,
? extends ServerLocation>>
VolumeCollector<W,EntityArchetype, 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 Details
-
applyBlocksToWorld
public static <W extends World<W,?>> VolumeCollector<W,BlockState, applyBlocksToWorldBoolean> (W world, BlockChangeFlag flag) -
applyBlocksToWorld
public static <W extends World<W,?>> VolumeCollector<W,BlockState, applyBlocksToWorldBoolean> (W world) -
applyBlockEntityToWorld
public static <W extends World<W,?>> VolumeCollector<W,BlockEntity, applyBlockEntityToWorldBoolean> (W world) -
applyBlockEntitiesOrRemove
public static <W extends World<W,?>> VolumeCollector<W,Optional<? extends BlockEntity>, applyBlockEntitiesOrRemoveBoolean> (W world) -
applyEntitiesToWorld
public static <W extends World<W,?>> VolumeCollector<W,Entity, applyEntitiesToWorldBoolean> (W world) -
applyEntityArchetypesToWorld
public static <W extends World<W,? extends ServerLocation>> VolumeCollector<W,EntityArchetype, applyEntityArchetypesToWorldOptional<? extends Entity>> (W world) -
applyBlockEntityArchetypesToWorld
public static <W extends World<W,? extends ServerLocation>> VolumeCollector<W,BlockEntityArchetype, applyBlockEntityArchetypesToWorldOptional<? extends BlockEntity>> (W world) -
of
public static <M extends MutableVolume,T, VolumeCollector<M,R> T, ofR> (M volume, VolumePositionTranslator<M, T> transformer, VolumeApplicator<M, T, R> applicator)
-