Uses of Interface
net.minecraft.world.TestableWorld
Packages that use TestableWorld
Package
Description
The base package for all Minecraft classes.
-
Uses of TestableWorld in net.minecraft
Methods in net.minecraft with parameters of type TestableWorldModifier and TypeMethodDescriptionvoid
class_7389.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> list) class_7390.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprivate boolean
class_7386.method_43166
(TestableWorld testableWorld, AbstractRandom abstractRandom, BlockPos blockPos, Direction direction, BlockPos blockPos2, List<BlockPos> list, int int2) protected boolean
class_7386.method_43167
(TestableWorld testableWorld, BlockPos blockPos) class_7386.method_43168
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) class_7387.method_43168
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) protected void
class_7386.method_43172
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) protected void
class_7387.method_43172
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) protected BlockState
class_7387.method_43181
(TestableWorld testableWorld, BlockPos blockPos, BlockState blockState) private boolean
class_7389.method_43187
(TestableWorld testableWorld, BlockPos blockPos, Direction direction) protected boolean
class_7390.method_43196
(TestableWorld testableWorld, BlockPos blockPos) private void
class_7390.method_43199
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, int int2, TreeFeatureConfig treeFeatureConfig, List<FoliagePlacer.TreeNode> list, BlockPos.Mutable mutable, int int3, Direction direction, int int4, int int5) -
Uses of TestableWorld in net.minecraft.client.world
Classes in net.minecraft.client.world that implement TestableWorld -
Uses of TestableWorld in net.minecraft.server.world
Classes in net.minecraft.server.world that implement TestableWorld -
Uses of TestableWorld in net.minecraft.world
Subinterfaces of TestableWorld in net.minecraft.worldModifier and TypeInterfaceDescriptioninterface
interface
A world view orWorld
's superinterface that exposes access to a registry manager.interface
Represents access to a world on a logical Minecraft server.interface
interface
Classes in net.minecraft.world that implement TestableWorld -
Uses of TestableWorld in net.minecraft.world.gen.feature
Methods in net.minecraft.world.gen.feature with parameters of type TestableWorldModifier and TypeMethodDescriptionstatic boolean
TreeFeature.canReplace
(TestableWorld world, BlockPos pos) private int
TreeFeature.getTopPosition
(TestableWorld world, int height, BlockPos pos, TreeFeatureConfig config) static boolean
Feature.isAir
(TestableWorld world, BlockPos pos) static boolean
TreeFeature.isAirOrLeaves
(TestableWorld world, BlockPos pos) private static boolean
TreeFeature.isReplaceablePlant
(TestableWorld world, BlockPos pos) static boolean
Feature.isSoil
(TestableWorld world, BlockPos pos) private static boolean
TreeFeature.isVine
(TestableWorld world, BlockPos pos) static boolean
TreeFeature.isWater
(TestableWorld world, BlockPos pos) -
Uses of TestableWorld in net.minecraft.world.gen.feature.util
Methods in net.minecraft.world.gen.feature.util with parameters of type TestableWorldModifier and TypeMethodDescriptionstatic Optional<CaveSurface>
CaveSurface.create
(TestableWorld world, BlockPos pos, int height, Predicate<BlockState> canGenerate, Predicate<BlockState> canReplace) private static OptionalInt
CaveSurface.getCaveSurface
(TestableWorld world, int height, Predicate<BlockState> canGenerate, Predicate<BlockState> canReplace, BlockPos.Mutable mutablePos, int y, Direction direction) -
Uses of TestableWorld in net.minecraft.world.gen.foliage
Methods in net.minecraft.world.gen.foliage with parameters of type TestableWorldModifier and TypeMethodDescriptionprotected void
AcaciaFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
BlobFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
BushFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
DarkOakFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.void
FoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius) protected abstract void
FoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
JungleFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
LargeOakFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
MegaPineFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
PineFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
RandomSpreadFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
SpruceFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
FoliagePlacer.generateSquare
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, BlockPos centerPos, int radius, int y, boolean giantTrunk) Generates a square of leaves with the given radius.protected static void
FoliagePlacer.placeFoliageBlock
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, BlockPos pos) -
Uses of TestableWorld in net.minecraft.world.gen.treedecorator
Methods in net.minecraft.world.gen.treedecorator with parameters of type TestableWorldModifier and TypeMethodDescriptionvoid
AlterGroundTreeDecorator.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> list) void
BeehiveTreeDecorator.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> list) void
CocoaBeansTreeDecorator.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> list) void
LeavesVineTreeDecorator.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> list) abstract void
TreeDecorator.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> list) void
TrunkVineTreeDecorator.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> list) private static void
LeavesVineTreeDecorator.placeVines
(TestableWorld world, BlockPos pos, BooleanProperty facing, BiConsumer<BlockPos, BlockState> replacer) Places a vine at a given position and then up to 4 more vines going downwards.private void
AlterGroundTreeDecorator.setArea
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, BlockPos pos) private void
AlterGroundTreeDecorator.setColumn
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, BlockPos pos) -
Uses of TestableWorld in net.minecraft.world.gen.trunk
Methods in net.minecraft.world.gen.trunk with parameters of type TestableWorldModifier and TypeMethodDescriptionprivate static boolean
TrunkPlacer.canGenerate
(TestableWorld world, BlockPos pos) BendingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundDarkOakTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundForkingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundGiantTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundLargeOakTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundMegaJungleTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundStraightTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundabstract List<FoliagePlacer.TreeNode>
TrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprotected boolean
TrunkPlacer.getAndSetState
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) protected boolean
TrunkPlacer.getAndSetState
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig, Function<BlockState, BlockState> function) private void
LargeOakTrunkPlacer.makeBranches
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer.BranchPosition> branchPositions, TreeFeatureConfig config) private boolean
LargeOakTrunkPlacer.makeOrCheckBranch
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) protected boolean
TrunkPlacer.method_43196
(TestableWorld testableWorld, BlockPos blockPos) boolean
TrunkPlacer.method_43198
(TestableWorld testableWorld, BlockPos blockPos) private void
GiantTrunkPlacer.setLog
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int int3, int int4) protected static void
TrunkPlacer.setToDirt
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, BlockPos pos, TreeFeatureConfig config) protected void
TrunkPlacer.trySetState
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig)