Class KineticsHelper

java.lang.Object
petrolpark.mc.library.util.KineticsHelper

public class KineticsHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addLargeCogwheelPropagationLocations(net.minecraft.core.BlockPos pos, List<net.minecraft.core.BlockPos> neighbours)
     
    static net.minecraft.core.Direction
    directionBetween(net.minecraft.core.BlockPos posFrom, net.minecraft.core.BlockPos posTo)
     
    static com.simibubi.create.content.kinetics.base.KineticBlockEntity
    getSource(com.simibubi.create.content.kinetics.base.KineticBlockEntity kbe)
     
    static boolean
    isOrCanBePoweredBy(com.simibubi.create.content.kinetics.base.KineticBlockEntity kbe, com.simibubi.create.content.kinetics.base.KineticBlockEntity source)
     
    static com.mojang.blaze3d.vertex.PoseStack
    rotateToAxis(net.minecraft.core.Direction.Axis axis)
     
    static com.mojang.blaze3d.vertex.PoseStack
    rotateToFace(net.minecraft.core.Direction facing)
     

    Methods inherited from class java.lang.Object

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

    • KineticsHelper

      public KineticsHelper()
  • Method Details

    • getSource

      @Nullable public static com.simibubi.create.content.kinetics.base.KineticBlockEntity getSource(com.simibubi.create.content.kinetics.base.KineticBlockEntity kbe)
    • isOrCanBePoweredBy

      public static boolean isOrCanBePoweredBy(com.simibubi.create.content.kinetics.base.KineticBlockEntity kbe, com.simibubi.create.content.kinetics.base.KineticBlockEntity source)
    • addLargeCogwheelPropagationLocations

      public static void addLargeCogwheelPropagationLocations(net.minecraft.core.BlockPos pos, List<net.minecraft.core.BlockPos> neighbours)
    • directionBetween

      public static net.minecraft.core.Direction directionBetween(net.minecraft.core.BlockPos posFrom, net.minecraft.core.BlockPos posTo)
    • rotateToFace

      public static com.mojang.blaze3d.vertex.PoseStack rotateToFace(net.minecraft.core.Direction facing)
    • rotateToAxis

      public static com.mojang.blaze3d.vertex.PoseStack rotateToAxis(net.minecraft.core.Direction.Axis axis)