Uses of Interface
net.minecraft.world.TestableWorld
Package
Description
-
Uses of TestableWorld in net.minecraft.client.world
-
Uses of TestableWorld in net.minecraft.server.world
-
Uses of TestableWorld in net.minecraft.world
Modifier 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
-
Uses of TestableWorld in net.minecraft.world.gen.feature
Modifier and TypeMethodDescriptionstatic boolean
TreeFeature.canReplace
(TestableWorld world, BlockPos pos) private int
TreeFeature.getTopPosition
(TestableWorld world, int height, BlockPos pos, TreeFeatureConfig config) 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
Modifier 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
Modifier and TypeMethodDescriptionprotected void
AcaciaFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, 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, Random random, 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, Random random, 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, Random random, 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, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius) protected abstract void
FoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, 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, Random random, 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, Random random, 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, Random random, 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, Random random, 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, Random random, 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, Random random, 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, Random random, 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, Random random, TreeFeatureConfig config, BlockPos pos) -
Uses of TestableWorld in net.minecraft.world.gen.root
Modifier and TypeMethodDescriptionprotected BlockState
RootPlacer.applyWaterlogging
(TestableWorld world, BlockPos pos, BlockState state) private boolean
MangroveRootPlacer.canGrow
(TestableWorld world, Random random, BlockPos pos, Direction direction, BlockPos origin, List<BlockPos> offshootPositions, int rootLength) protected boolean
MangroveRootPlacer.canGrowThrough
(TestableWorld world, BlockPos pos) protected boolean
RootPlacer.canGrowThrough
(TestableWorld world, BlockPos pos) boolean
MangroveRootPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) abstract boolean
RootPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) protected void
MangroveRootPlacer.placeRoots
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected void
RootPlacer.placeRoots
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) -
Uses of TestableWorld in net.minecraft.world.gen.treedecorator
ModifierConstructorDescriptionGenerator
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, Set<BlockPos> logPositions, Set<BlockPos> leavesPositions, Set<BlockPos> rootPositions) -
Uses of TestableWorld in net.minecraft.world.gen.trunk
Modifier and TypeMethodDescriptionprivate static boolean
TrunkPlacer.canGenerate
(TestableWorld world, BlockPos pos) protected boolean
TrunkPlacer.canReplace
(TestableWorld world, BlockPos pos) protected boolean
UpwardsBranchingTrunkPlacer.canReplace
(TestableWorld world, BlockPos pos) boolean
TrunkPlacer.canReplaceOrIsLog
(TestableWorld world, BlockPos pos) BendingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, 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, Random random, 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, Random random, 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, Random random, 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, Random random, 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, Random random, 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, Random random, 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, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundUpwardsBranchingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprivate void
UpwardsBranchingTrunkPlacer.generateExtraBranch
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, TreeFeatureConfig config, List<FoliagePlacer.TreeNode> nodes, BlockPos.Mutable pos, int yOffset, Direction direction, int length, int steps) protected boolean
TrunkPlacer.getAndSetState
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected boolean
TrunkPlacer.getAndSetState
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config, Function<BlockState, BlockState> function) private void
LargeOakTrunkPlacer.makeBranches
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer.BranchPosition> branchPositions, TreeFeatureConfig config) private boolean
LargeOakTrunkPlacer.makeOrCheckBranch
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, Random random, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) private void
GiantTrunkPlacer.setLog
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, Random random, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int int3, int int4) protected static void
TrunkPlacer.setToDirt
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected void
TrunkPlacer.trySetState
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config)