java.lang.Object
com.simibubi.create.content.contraptions.elevator.ElevatorColumn

public class ElevatorColumn extends Object
  • Field Details

    • LOADED_COLUMNS

      public static net.createmod.catnip.data.WorldAttached<Map<ElevatorColumn.ColumnCoords,ElevatorColumn>> LOADED_COLUMNS
    • level

      protected net.minecraft.world.level.LevelAccessor level
    • coords

      protected ElevatorColumn.ColumnCoords coords
    • contacts

      protected List<Integer> contacts
    • targetedYLevel

      protected int targetedYLevel
    • isActive

      protected boolean isActive
    • targetAvailable

      protected boolean targetAvailable
    • namesListVersion

      public int namesListVersion
  • Constructor Details

  • Method Details

    • get

      @Nullable public static @Nullable ElevatorColumn get(net.minecraft.world.level.LevelAccessor level, ElevatorColumn.ColumnCoords coords)
    • getOrCreate

      public static ElevatorColumn getOrCreate(net.minecraft.world.level.LevelAccessor level, ElevatorColumn.ColumnCoords coords)
    • markDirty

      public void markDirty()
    • floorReached

      public void floorReached(net.minecraft.world.level.LevelAccessor level, String name)
    • compileNamesList

      public List<net.createmod.catnip.data.IntAttached<net.createmod.catnip.data.Couple<String>>> compileNamesList()
    • namesChanged

      public void namesChanged()
    • getContacts

      public Collection<net.minecraft.core.BlockPos> getContacts()
    • gatherAll

      public void gatherAll()
    • contactAt

      public net.minecraft.core.BlockPos contactAt(int y)
    • setActive

      public void setActive(boolean isActive)
    • isActive

      public boolean isActive()
    • target

      public void target(int yLevel)
    • isTargetAvailable

      public boolean isTargetAvailable()
    • getTargetedYLevel

      public int getTargetedYLevel()
    • initNames

      public void initNames(net.minecraft.world.level.Level level)
    • add

      public void add(net.minecraft.core.BlockPos contactPos)
    • remove

      public void remove(net.minecraft.core.BlockPos contactPos)