Class BlockFace

java.lang.Object
petrolpark.mc.library.util.Pair<net.minecraft.core.BlockPos,net.minecraft.core.Direction>
petrolpark.mc.library.util.BlockFace

@Deprecated public class BlockFace extends Pair<net.minecraft.core.BlockPos,net.minecraft.core.Direction>
Deprecated.
Use BlockFace instead.
  • Field Details

    • STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,BlockFace> STREAM_CODEC
      Deprecated.
  • Constructor Details

    • BlockFace

      public BlockFace(net.minecraft.core.BlockPos first, net.minecraft.core.Direction second)
      Deprecated.
  • Method Details

    • of

      public static BlockFace of(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face)
      Deprecated.
    • getPos

      public net.minecraft.core.BlockPos getPos()
      Deprecated.
    • getFace

      public net.minecraft.core.Direction getFace()
      Deprecated.
    • getConnectedPos

      public net.minecraft.core.BlockPos getConnectedPos()
      Deprecated.
    • getOpposite

      public BlockFace getOpposite()
      Deprecated.
    • getCenter

      public net.minecraft.world.phys.Vec3 getCenter()
      Deprecated.