Package com.petrolpark.util
Class BlockFace
java.lang.Object
com.petrolpark.util.Pair<net.minecraft.core.BlockPos,net.minecraft.core.Direction>
com.petrolpark.util.BlockFace
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionBlockFace(net.minecraft.core.BlockPos first, net.minecraft.core.Direction second) -
Method Summary
-
Constructor Details
-
BlockFace
public BlockFace(net.minecraft.core.BlockPos first, net.minecraft.core.Direction second)
-
-
Method Details
-
of
-
getPos
public net.minecraft.core.BlockPos getPos() -
getFace
public net.minecraft.core.Direction getFace() -
getConnectedPos
public net.minecraft.core.BlockPos getConnectedPos() -
getOpposite
-
getCenter
public net.minecraft.world.phys.Vec3 getCenter()
-