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 TypeMethodDescriptionvoidclass_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 booleanclass_7386.method_43166(TestableWorld testableWorld, AbstractRandom abstractRandom, BlockPos blockPos, Direction direction, BlockPos blockPos2, List<BlockPos> list, int int2) protected booleanclass_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 voidclass_7386.method_43172(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) protected voidclass_7387.method_43172(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) protected BlockStateclass_7387.method_43181(TestableWorld testableWorld, BlockPos blockPos, BlockState blockState) private booleanclass_7389.method_43187(TestableWorld testableWorld, BlockPos blockPos, Direction direction) protected booleanclass_7390.method_43196(TestableWorld testableWorld, BlockPos blockPos) private voidclass_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 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) 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) 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, 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 voidBlobFoliagePlacer.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 voidBushFoliagePlacer.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 voidDarkOakFoliagePlacer.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.voidFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius) protected abstract voidFoliagePlacer.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 voidJungleFoliagePlacer.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 voidLargeOakFoliagePlacer.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 voidMegaPineFoliagePlacer.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 voidPineFoliagePlacer.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 voidRandomSpreadFoliagePlacer.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 voidSpruceFoliagePlacer.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 voidFoliagePlacer.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 voidFoliagePlacer.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 TypeMethodDescriptionvoidAlterGroundTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> list) voidBeehiveTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> list) voidCocoaBeansTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> list) voidLeavesVineTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> list) abstract voidTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> list) voidTrunkVineTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> list) 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, AbstractRandom abstractRandom, BlockPos pos) private voidAlterGroundTreeDecorator.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 booleanTrunkPlacer.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 booleanTrunkPlacer.getAndSetState(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) protected booleanTrunkPlacer.getAndSetState(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig, Function<BlockState, BlockState> function) private voidLargeOakTrunkPlacer.makeBranches(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer.BranchPosition> branchPositions, TreeFeatureConfig config) private booleanLargeOakTrunkPlacer.makeOrCheckBranch(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) protected booleanTrunkPlacer.method_43196(TestableWorld testableWorld, BlockPos blockPos) booleanTrunkPlacer.method_43198(TestableWorld testableWorld, BlockPos blockPos) private voidGiantTrunkPlacer.setLog(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int int3, int int4) protected static voidTrunkPlacer.setToDirt(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, BlockPos pos, TreeFeatureConfig config) protected voidTrunkPlacer.trySetState(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig)