Class BlockHelper

java.lang.Object
com.petrolpark.util.BlockHelper

public class BlockHelper extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.core.Vec3i
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static final Stream<net.minecraft.core.BlockPos>
    betweenClosedExcludingEdges(net.minecraft.core.BlockPos firstPos, net.minecraft.core.BlockPos secondPos)
     
    static final boolean
    coplanar(net.minecraft.core.BlockPos pos1, net.minecraft.core.BlockPos pos2)
     
    static final Predicate<net.minecraft.core.BlockPos>
    coplanarWith(net.minecraft.core.BlockPos pos)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • UNIT

      public static final net.minecraft.core.Vec3i UNIT
  • Constructor Details

    • BlockHelper

      public BlockHelper()
  • Method Details

    • betweenClosedExcludingEdges

      public static final Stream<net.minecraft.core.BlockPos> betweenClosedExcludingEdges(net.minecraft.core.BlockPos firstPos, net.minecraft.core.BlockPos secondPos)
    • coplanar

      public static final boolean coplanar(net.minecraft.core.BlockPos pos1, net.minecraft.core.BlockPos pos2)
    • coplanarWith

      public static final Predicate<net.minecraft.core.BlockPos> coplanarWith(net.minecraft.core.BlockPos pos)