Uses of Interface
net.minecraft.world.level.LevelSimulatedReader
Packages that use LevelSimulatedReader
Package
Description
-
Uses of LevelSimulatedReader in net.minecraft.client.multiplayer
Classes in net.minecraft.client.multiplayer that implement LevelSimulatedReader -
Uses of LevelSimulatedReader in net.minecraft.server.level
Classes in net.minecraft.server.level that implement LevelSimulatedReader -
Uses of LevelSimulatedReader in net.minecraft.world.level
Subinterfaces of LevelSimulatedReader in net.minecraft.world.levelModifier and TypeInterfaceDescriptioninterface
interface
interface
interface
interface
Classes in net.minecraft.world.level that implement LevelSimulatedReader -
Uses of LevelSimulatedReader in net.minecraft.world.level.levelgen
Methods in net.minecraft.world.level.levelgen with parameters of type LevelSimulatedReaderModifier and TypeMethodDescriptionColumn.scan
(LevelSimulatedReader level, BlockPos pos, int maxDistance, Predicate<BlockState> columnPredicate, Predicate<BlockState> tipPredicate) Scans for a column of states satisfyingcolumnPredicate
, up to a length ofmaxDistance
from the origin, and ending with a state which satisfiestipPredicate
.private static OptionalInt
Column.scanDirection
(LevelSimulatedReader level, int maxDistance, Predicate<BlockState> columnPredicate, Predicate<BlockState> tipPredicate, BlockPos.MutableBlockPos mutablePos, int startY, Direction direction) Scans for a sequence of states in a givendirection
, up to a length ofmaxDistance
which satisfycolumnPredicate
, and ending with a state which satisfiestipPredicate
. -
Uses of LevelSimulatedReader in net.minecraft.world.level.levelgen.feature
Methods in net.minecraft.world.level.levelgen.feature with parameters of type LevelSimulatedReaderModifier and TypeMethodDescriptionprivate int
TreeFeature.getMaxFreeTreeHeight
(LevelSimulatedReader level, int trunkHeight, BlockPos topPosition, TreeConfiguration config) static boolean
TreeFeature.isAirOrLeaves
(LevelSimulatedReader level, BlockPos pos) static boolean
Feature.isGrassOrDirt
(LevelSimulatedReader level, BlockPos pos) private static boolean
TreeFeature.isVine
(LevelSimulatedReader level, BlockPos pos) static boolean
TreeFeature.validTreePos
(LevelSimulatedReader level, BlockPos pos) -
Uses of LevelSimulatedReader in net.minecraft.world.level.levelgen.feature.foliageplacers
Methods in net.minecraft.world.level.levelgen.feature.foliageplacers with parameters of type LevelSimulatedReaderModifier and TypeMethodDescriptionprotected void
AcaciaFoliagePlacer.createFoliage
(LevelSimulatedReader p_225499_, FoliagePlacer.FoliageSetter p_273746_, RandomSource p_225501_, TreeConfiguration p_225502_, int p_225503_, FoliagePlacer.FoliageAttachment p_225504_, int p_225505_, int p_225506_, int p_225507_) protected void
BlobFoliagePlacer.createFoliage
(LevelSimulatedReader level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) protected void
BushFoliagePlacer.createFoliage
(LevelSimulatedReader p_273251_, FoliagePlacer.FoliageSetter p_273782_, RandomSource p_273626_, TreeConfiguration p_272956_, int p_273384_, FoliagePlacer.FoliageAttachment p_273459_, int p_273161_, int p_272989_, int p_273166_) protected void
CherryFoliagePlacer.createFoliage
(LevelSimulatedReader level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) protected void
DarkOakFoliagePlacer.createFoliage
(LevelSimulatedReader p_225558_, FoliagePlacer.FoliageSetter p_273641_, RandomSource p_225560_, TreeConfiguration p_225561_, int p_225562_, FoliagePlacer.FoliageAttachment p_225563_, int p_225564_, int p_225565_, int p_225566_) protected void
FancyFoliagePlacer.createFoliage
(LevelSimulatedReader p_225582_, FoliagePlacer.FoliageSetter p_273184_, RandomSource p_225584_, TreeConfiguration p_225585_, int p_225586_, FoliagePlacer.FoliageAttachment p_225587_, int p_225588_, int p_225589_, int p_225590_) void
FoliagePlacer.createFoliage
(LevelSimulatedReader level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius) protected abstract void
FoliagePlacer.createFoliage
(LevelSimulatedReader level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) protected void
MegaJungleFoliagePlacer.createFoliage
(LevelSimulatedReader level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) protected void
MegaPineFoliagePlacer.createFoliage
(LevelSimulatedReader level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) protected void
PineFoliagePlacer.createFoliage
(LevelSimulatedReader level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) protected void
RandomSpreadFoliagePlacer.createFoliage
(LevelSimulatedReader level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) protected void
SpruceFoliagePlacer.createFoliage
(LevelSimulatedReader level, FoliagePlacer.FoliageSetter blockSetter, RandomSource random, TreeConfiguration config, int maxFreeTreeHeight, FoliagePlacer.FoliageAttachment attachment, int foliageHeight, int foliageRadius, int offset) protected void
FoliagePlacer.placeLeavesRow
(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration treeConfiguration, BlockPos pos, int range, int localY, boolean large) protected final void
FoliagePlacer.placeLeavesRowWithHangingLeavesBelow
(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration treeConfiguration, BlockPos pos, int range, int localY, boolean large, float hangingLeavesChance, float hangingLeavesExtensionChance) private static boolean
FoliagePlacer.tryPlaceExtension
(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration treeConfiguration, float extensionChance, BlockPos logPos, BlockPos.MutableBlockPos pos) protected static boolean
FoliagePlacer.tryPlaceLeaf
(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration treeConfiguration, BlockPos pos) -
Uses of LevelSimulatedReader in net.minecraft.world.level.levelgen.feature.rootplacers
Methods in net.minecraft.world.level.levelgen.feature.rootplacers with parameters of type LevelSimulatedReaderModifier and TypeMethodDescriptionprotected boolean
MangroveRootPlacer.canPlaceRoot
(LevelSimulatedReader level, BlockPos pos) protected boolean
RootPlacer.canPlaceRoot
(LevelSimulatedReader level, BlockPos pos) protected BlockState
RootPlacer.getPotentiallyWaterloggedState
(LevelSimulatedReader level, BlockPos pos, BlockState state) protected void
MangroveRootPlacer.placeRoot
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration treeConfig) protected void
RootPlacer.placeRoot
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration treeConfig) boolean
MangroveRootPlacer.placeRoots
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, BlockPos trunkOrigin, TreeConfiguration treeConfig) abstract boolean
RootPlacer.placeRoots
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, BlockPos trunkOrigin, TreeConfiguration treeConfig) private boolean
MangroveRootPlacer.simulateRoots
(LevelSimulatedReader level, RandomSource random, BlockPos pos, Direction direction, BlockPos trunkOrigin, List<BlockPos> roots, int length) -
Uses of LevelSimulatedReader in net.minecraft.world.level.levelgen.feature.treedecorators
Fields in net.minecraft.world.level.levelgen.feature.treedecorators declared as LevelSimulatedReaderMethods in net.minecraft.world.level.levelgen.feature.treedecorators that return LevelSimulatedReaderConstructors in net.minecraft.world.level.levelgen.feature.treedecorators with parameters of type LevelSimulatedReaderModifierConstructorDescriptionContext
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> decorationSetter, RandomSource random, Set<BlockPos> logs, Set<BlockPos> leaves, Set<BlockPos> roots) -
Uses of LevelSimulatedReader in net.minecraft.world.level.levelgen.feature.trunkplacers
Methods in net.minecraft.world.level.levelgen.feature.trunkplacers with parameters of type LevelSimulatedReaderModifier and TypeMethodDescriptionprivate FoliagePlacer.FoliageAttachment
CherryTrunkPlacer.generateBranch
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter, Direction p_direction, int secondBranchStartOffsetFromTop, boolean doubleBranch, BlockPos.MutableBlockPos currentPos) private static boolean
TrunkPlacer.isDirt
(LevelSimulatedReader level, BlockPos pos) boolean
TrunkPlacer.isFree
(LevelSimulatedReader level, BlockPos pos) private void
FancyTrunkPlacer.makeBranches
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int maxHeight, BlockPos pos, List<FancyTrunkPlacer.FoliageCoords> foliageCoords, TreeConfiguration config) private boolean
FancyTrunkPlacer.makeLimb
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos basePos, BlockPos offsetPos, boolean modifyWorld, TreeConfiguration config) private void
UpwardsBranchingTrunkPlacer.placeBranch
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, TreeConfiguration treeConfig, List<FoliagePlacer.FoliageAttachment> foliageAttachments, BlockPos.MutableBlockPos pos, int y, Direction direction, int extraBranchLength, int extraBranchSteps) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter) protected void
TrunkPlacer.placeLogIfFree
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos.MutableBlockPos pos, TreeConfiguration config) private void
GiantTrunkPlacer.placeLogIfFreeWithOffset
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos.MutableBlockPos pos, TreeConfiguration config, BlockPos offsetPos, int offsetX, int offsetY, int offsetZ) BendingTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) CherryTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) DarkOakTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) FancyTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) ForkingTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) GiantTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) MegaJungleTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) StraightTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) abstract List
<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) UpwardsBranchingTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) protected static void
TrunkPlacer.setDirtAt
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config) protected boolean
TrunkPlacer.validTreePos
(LevelSimulatedReader level, BlockPos pos) protected boolean
UpwardsBranchingTrunkPlacer.validTreePos
(LevelSimulatedReader level, BlockPos pos)