Uses of Interface
net.minecraft.world.TestableWorld
Packages that use TestableWorld
Package
Description
-
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 TypeInterfaceDescriptioninterfaceinterfaceA world view orWorld's superinterface that exposes access to a registry manager.interfaceRepresents access to a world on a logical Minecraft server.interfaceinterfaceClasses 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 booleanTreeFeature.canReplace(TestableWorld world, BlockPos pos)static booleanTreeFeature.canTreeReplace(TestableWorld world, BlockPos pos)private intTreeFeature.getTopPosition(TestableWorld world, int height, BlockPos pos, TreeFeatureConfig config)static booleanFeature.isAir(TestableWorld world, BlockPos pos)static booleanTreeFeature.isAirOrLeaves(TestableWorld world, BlockPos pos)private static booleanTreeFeature.isReplaceablePlant(TestableWorld world, BlockPos pos)static booleanFeature.isSoil(TestableWorld world, BlockPos pos)private static booleanTreeFeature.isVine(TestableWorld world, BlockPos pos)private static booleanTreeFeature.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 OptionalIntCaveSurface.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 voidAcaciaFoliagePlacer.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 voidBlobFoliagePlacer.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 voidBushFoliagePlacer.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 voidDarkOakFoliagePlacer.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.voidFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius)protected abstract voidFoliagePlacer.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 voidJungleFoliagePlacer.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 voidLargeOakFoliagePlacer.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 voidMegaPineFoliagePlacer.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 voidPineFoliagePlacer.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 voidRandomSpreadFoliagePlacer.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 voidSpruceFoliagePlacer.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 voidFoliagePlacer.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 voidFoliagePlacer.placeFoliageBlock(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, 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 TypeMethodDescriptionvoidAlterGroundTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)voidBeehiveTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)voidCocoaBeansTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)voidLeavesVineTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)abstract voidTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)voidTrunkVineTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)private static voidLeavesVineTreeDecorator.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 voidAlterGroundTreeDecorator.setArea(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos)private voidAlterGroundTreeDecorator.setColumn(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, 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 booleanTrunkPlacer.canGenerate(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 aroundprotected static booleanTrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config)protected static booleanTrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config, Function<BlockState,BlockState> stateProvider)private voidLargeOakTrunkPlacer.makeBranches(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer.BranchPosition> branchPositions, TreeFeatureConfig config)private booleanLargeOakTrunkPlacer.makeOrCheckBranch(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config)private static voidGiantTrunkPlacer.setLog(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config, BlockPos startPos, int x, int y, int z)protected static voidTrunkPlacer.setToDirt(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config)protected static voidTrunkPlacer.trySetState(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config)