Package baritone.api.schematic
Class FillSchematic
java.lang.Object
baritone.api.schematic.AbstractSchematic
baritone.api.schematic.FillSchematic
- All Implemented Interfaces:
ISchematic
-
Field Summary
Fields inherited from class baritone.api.schematic.AbstractSchematic
x, y, z -
Constructor Summary
ConstructorsConstructorDescriptionFillSchematic(int x, int y, int z, BlockOptionalMeta bom) FillSchematic(int x, int y, int z, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.state.BlockStatedesiredState(int x, int y, int z, net.minecraft.world.level.block.state.BlockState current, List<net.minecraft.world.level.block.state.BlockState> approxPlaceable) Returns the desired block state at a given (X, Y, Z) position relative to the origin (0, 0, 0).getBom()Methods inherited from class baritone.api.schematic.AbstractSchematic
heightY, lengthZ, widthXMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface baritone.api.schematic.ISchematic
inSchematic, reset, size
-
Constructor Details
-
FillSchematic
-
FillSchematic
-
-
Method Details
-
getBom
-
desiredState
public net.minecraft.world.level.block.state.BlockState desiredState(int x, int y, int z, net.minecraft.world.level.block.state.BlockState current, List<net.minecraft.world.level.block.state.BlockState> approxPlaceable) Description copied from interface:ISchematicReturns the desired block state at a given (X, Y, Z) position relative to the origin (0, 0, 0).- Parameters:
x- The x position of the block, relative to the originy- The y position of the block, relative to the originz- The z position of the block, relative to the origincurrent- The current state of that block in the world, or nullapproxPlaceable- The list of blockstates estimated to be placeable- Returns:
- The desired block state at the specified position
-