Class AbstractRadialLikeLayer

java.lang.Object
fr.rodofire.ewc.shape.block.layer.AbstractRadialLikeLayer
All Implemented Interfaces:
Layer
Direct Known Subclasses:
AbstractOuterLayer, InnerCylindricalLayer, InnerRadialLayer

public abstract class AbstractRadialLikeLayer extends Object
  • Field Details

    • blockLayer

      protected BlockLayerManager blockLayer
    • centerPos

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

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

    • get

      public BlockListManager get(Map<net.minecraft.world.level.ChunkPos,it.unimi.dsi.fastutil.longs.LongOpenHashSet> posMap)
    • place

      public void place(net.minecraft.world.level.WorldGenLevel world, Map<net.minecraft.world.level.ChunkPos,it.unimi.dsi.fastutil.longs.LongOpenHashSet> posMap)
    • getVerified

      public BlockListManager getVerified(net.minecraft.world.level.WorldGenLevel world, Map<net.minecraft.world.level.ChunkPos,it.unimi.dsi.fastutil.longs.LongOpenHashSet> posMap)
    • getDivided

      public DividedBlockListManager getDivided(Map<net.minecraft.world.level.ChunkPos,it.unimi.dsi.fastutil.longs.LongOpenHashSet> posMap)
    • getVerifiedDivided

      public DividedBlockListManager getVerifiedDivided(net.minecraft.world.level.WorldGenLevel world, Map<net.minecraft.world.level.ChunkPos,it.unimi.dsi.fastutil.longs.LongOpenHashSet> posMap)
    • get

      public <T extends Collection<net.minecraft.core.BlockPos>> BlockListManager get(T posList)
    • place

      public <T extends Collection<net.minecraft.core.BlockPos>> void place(net.minecraft.world.level.WorldGenLevel world, T posList)
    • getVerified

      public <T extends Collection<net.minecraft.core.BlockPos>> BlockListManager getVerified(net.minecraft.world.level.WorldGenLevel world, T posList)
    • getDivided

      public <T extends Collection<net.minecraft.core.BlockPos>> DividedBlockListManager getDivided(T posList)
    • getVerifiedDivided

      public <T extends Collection<net.minecraft.core.BlockPos>> DividedBlockListManager getVerifiedDivided(net.minecraft.world.level.WorldGenLevel world, T posList)
    • get

      public <U extends it.unimi.dsi.fastutil.longs.AbstractLongCollection> BlockListManager get(U posList)
    • place

      public <U extends it.unimi.dsi.fastutil.longs.AbstractLongCollection> void place(net.minecraft.world.level.WorldGenLevel world, U posList)
    • getVerified

      public <U extends it.unimi.dsi.fastutil.longs.AbstractLongCollection> BlockListManager getVerified(net.minecraft.world.level.WorldGenLevel world, U posList)
    • getDivided

      public <U extends it.unimi.dsi.fastutil.longs.AbstractLongCollection> DividedBlockListManager getDivided(U posList)
    • getVerifiedDivided

      public <U extends it.unimi.dsi.fastutil.longs.AbstractLongCollection> DividedBlockListManager getVerifiedDivided(net.minecraft.world.level.WorldGenLevel world, U posList)
    • getDistance

      protected abstract float getDistance(int[] pos)
    • getDistance

      protected abstract float getDistance(int posX, int posY, int posZ)
    • findLayerIndex

      protected abstract int findLayerIndex(int[] layerDistance, float distance)
    • 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