Package com.hbm_m.api.network
Class NodeDirPos
java.lang.Object
com.hbm_m.api.network.NodeDirPos
Аналог DirPos из 1.7.10: позиция узла + направление от текущего узла к этому.
Direction может быть null (UNKNOWN-аналог) для труб с произвольными соединениями (pipeline/anchor).
-
Constructor Summary
ConstructorsConstructorDescriptionNodeDirPos(int x, int y, int z, net.minecraft.core.Direction dir) NodeDirPos(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction dir) -
Method Summary
-
Constructor Details
-
NodeDirPos
public NodeDirPos(net.minecraft.core.BlockPos pos, @Nullable net.minecraft.core.Direction dir) -
NodeDirPos
public NodeDirPos(int x, int y, int z, @Nullable net.minecraft.core.Direction dir)
-
-
Method Details
-
getPos
public net.minecraft.core.BlockPos getPos() -
getDir
@Nullable public net.minecraft.core.Direction getDir() -
getX
public int getX() -
getY
public int getY() -
getZ
public int getZ()
-