public class MCBlockPos
extends java.lang.Object
implements crafttweaker.api.world.IBlockPos
Constructor and Description |
---|
MCBlockPos(net.minecraft.util.math.BlockPos blockPos) |
MCBlockPos(int x,
int y,
int z) |
Modifier and Type | Method and Description |
---|---|
crafttweaker.api.util.Position3f |
asPosition3f() |
java.lang.Object |
getInternal() |
crafttweaker.api.world.IBlockPos |
getOffset(crafttweaker.api.world.IFacing direction,
int offset) |
int |
getX() |
int |
getY() |
int |
getZ() |
public MCBlockPos(net.minecraft.util.math.BlockPos blockPos)
public MCBlockPos(int x, int y, int z)
public int getX()
getX
in interface crafttweaker.api.world.IBlockPos
public int getY()
getY
in interface crafttweaker.api.world.IBlockPos
public int getZ()
getZ
in interface crafttweaker.api.world.IBlockPos
public crafttweaker.api.world.IBlockPos getOffset(crafttweaker.api.world.IFacing direction, int offset)
getOffset
in interface crafttweaker.api.world.IBlockPos
public crafttweaker.api.util.Position3f asPosition3f()
asPosition3f
in interface crafttweaker.api.world.IBlockPos
public java.lang.Object getInternal()
getInternal
in interface crafttweaker.api.world.IBlockPos