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() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getInternal() |
crafttweaker.api.world.IBlockPos |
getOffset(crafttweaker.api.world.IFacing direction,
int offset) |
int |
getX() |
int |
getY() |
int |
getZ() |
int |
hashCode() |
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.IBlockPospublic int getY()
getY in interface crafttweaker.api.world.IBlockPospublic int getZ()
getZ in interface crafttweaker.api.world.IBlockPospublic crafttweaker.api.world.IBlockPos getOffset(crafttweaker.api.world.IFacing direction,
int offset)
getOffset in interface crafttweaker.api.world.IBlockPospublic crafttweaker.api.util.Position3f asPosition3f()
asPosition3f in interface crafttweaker.api.world.IBlockPospublic java.lang.Object getInternal()
getInternal in interface crafttweaker.api.world.IBlockPospublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object