Class InnerRadialLayer

java.lang.Object
fr.rodofire.ewc.shape.block.layer.AbstractRadialLikeLayer
fr.rodofire.ewc.shape.block.layer.InnerRadialLayer
All Implemented Interfaces:
Layer

public class InnerRadialLayer extends AbstractRadialLikeLayer
  • Field Details

    • blockLayer

      protected BlockLayerManager blockLayer
    • centerPos

      protected net.minecraft.world.phys.Vec3 centerPos
    • directionVector

      protected net.minecraft.world.phys.Vec3 directionVector
  • Method Details

    • findLayerIndex

      protected int findLayerIndex(int[] layerDistance, float distance)
      Specified by:
      findLayerIndex in class AbstractRadialLikeLayer
    • getDistance

      protected float getDistance(int[] pos)
      Specified by:
      getDistance in class AbstractRadialLikeLayer
    • getDistance

      protected float getDistance(int posX, int posY, int posZ)
      Specified by:
      getDistance in class AbstractRadialLikeLayer
    • getCenterPos

      public net.minecraft.world.phys.Vec3 getCenterPos()
      Specified by:
      getCenterPos in interface Layer
    • setCenterPos

      public void setCenterPos(net.minecraft.world.phys.Vec3 centerPos)
      Specified by:
      setCenterPos in interface Layer
    • getDirectionVector

      public net.minecraft.world.phys.Vec3 getDirectionVector()
      Specified by:
      getDirectionVector in interface Layer
    • setDirectionVector

      public void setDirectionVector(net.minecraft.core.Vec3i directionVector)
      Specified by:
      setDirectionVector in interface Layer