net.minecraft.world

public class BoxRegion

extends Region

net.minecraft.world.level.blockscan.BoxBlockMatcher
net.minecraft.world.level.blockscan.BoxBlockMatcher
net.minecraft.class_1_1338
net.minecraft.world.BoxRegion

Field summary

Modifier and TypeField
private final BlockPos
from
from
field_1_9155
minPos
private final BlockPos
to
to
field_1_9156
maxPos

Constructor summary

ModifierConstructor
public (WorldView world, BlockPos minPos, BlockPos maxPos)

Method summary

Modifier and TypeMethod
public BoxRegion
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)