net.minecraft.world

public class PosListRegion

extends Region

net.minecraft.world.level.blockscan.OrderedBlockMatcher
net.minecraft.world.level.blockscan.OrderedBlockMatcher
net.minecraft.class_1_1349
net.minecraft.world.PosListRegion

Field summary

Modifier and TypeField
private Iterable<BlockPos>
positions
positions
field_1_9200
positions

Constructor summary

ModifierConstructor
public (WorldView world, Iterable<BlockPos> positions)

Method summary

Modifier and TypeMethod
public PosListRegion
filterPos(Predicate<? super BlockPos> predicate)
filterPos(Predicate<? super BlockPos> predicate)
method_1_8864(Predicate<? super class_2338> arg0)
filter(Predicate<? super BlockPos> positionPredicate)
public PosListRegion
filterState(Predicate<BlockState> predicate)
filterState(Predicate<BlockState> predicate)
method_1_7667(Predicate<class_2680> arg0)
matching(Predicate<BlockState> arg0)
public boolean
atLeastMatched(int n)
atLeastMatched(int n)
method_1_7665(int arg0)
containsAtLeast(int arg0)
protected boolean
anyMatched(Predicate<BlockState> statePredicate)
anyMatched(Predicate<BlockState> statePredicate)
method_1_8746(Predicate<class_2680> arg0)
containsAnyOf(Predicate<BlockState> arg0)
public void
forEach(BiConsumer<BlockPos, BlockState> consumer)
forEach(BiConsumer<BlockPos, BlockState> consumer)
method_1_7668(BiConsumer<class_2338, class_2680> arg0)
forEachBlock(BiConsumer<BlockPos, BlockState> arg0)
public boolean
forEachUntil(BlockStateConsumer consumer)
forEachUntil(BlockStateConsumer consumer)
method_1_7669(class_1_1221 arg0)
iterate(AbortableBlockConsumer arg0)
public Optional<BlockPos>
findFirst()
findFirst()
method_1_8866()
getFirst()
public Optional<BlockPos>
findFirst(BiPredicate<BlockPos, BlockState> predicate)
findFirst(BiPredicate<BlockPos, BlockState> predicate)
method_1_8867(BiPredicate<class_2338, class_2680> arg0)
getFirstMatching(BiPredicate<BlockPos, BlockState> predicate)