Class BlueprintFrameIterator

java.lang.Object
com.ldtteam.structurize.placement.AbstractBlueprintIterator
com.minecolonies.core.entity.ai.workers.util.BlueprintFrameIterator
All Implemented Interfaces:
com.ldtteam.structurize.placement.IBlueprintIterator

public class BlueprintFrameIterator extends com.ldtteam.structurize.placement.AbstractBlueprintIterator
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.ldtteam.structurize.placement.AbstractBlueprintIterator

    com.ldtteam.structurize.placement.AbstractBlueprintIterator.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    List<net.minecraft.core.BlockPos>
    List of frame positions.
    int
    Current progress index.

    Fields inherited from class com.ldtteam.structurize.placement.AbstractBlueprintIterator

    NULL_POS, prevProgressPos, progressPos, size
  • Constructor Summary

    Constructors
    Constructor
    Description
    BlueprintFrameIterator(com.ldtteam.structurize.placement.structure.IStructureHandler structureHandler, List<net.minecraft.core.BlockPos> hframePos, List<net.minecraft.core.BlockPos> vframePos)
    Initialize the blueprint iterator with the structure handler.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.ldtteam.structurize.placement.AbstractBlueprintIterator.Result
     
    net.minecraft.core.BlockPos
     
    net.minecraft.core.BlockPos
     
    com.ldtteam.structurize.placement.AbstractBlueprintIterator.Result
     
    void
     
    void
    setProgressPos(net.minecraft.core.BlockPos localPosition)
     

    Methods inherited from class com.ldtteam.structurize.placement.AbstractBlueprintIterator

    decrement, getBluePrintPositionInfo, getSize, getStructureHandler, hasEntities, includeEntities, increment, isRemoving, setRemoving

    Methods inherited from class java.lang.Object

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

    • frameList

      public List<net.minecraft.core.BlockPos> frameList
      List of frame positions.
    • index

      public int index
      Current progress index.
  • Constructor Details

    • BlueprintFrameIterator

      public BlueprintFrameIterator(com.ldtteam.structurize.placement.structure.IStructureHandler structureHandler, List<net.minecraft.core.BlockPos> hframePos, List<net.minecraft.core.BlockPos> vframePos)
      Initialize the blueprint iterator with the structure handler.
      Parameters:
      structureHandler - the structure handler.
  • Method Details

    • getProgressPos

      public net.minecraft.core.BlockPos getProgressPos()
      Specified by:
      getProgressPos in interface com.ldtteam.structurize.placement.IBlueprintIterator
      Overrides:
      getProgressPos in class com.ldtteam.structurize.placement.AbstractBlueprintIterator
    • setProgressPos

      public void setProgressPos(net.minecraft.core.BlockPos localPosition)
      Specified by:
      setProgressPos in interface com.ldtteam.structurize.placement.IBlueprintIterator
      Overrides:
      setProgressPos in class com.ldtteam.structurize.placement.AbstractBlueprintIterator
    • getPrevProgressPos

      public net.minecraft.core.BlockPos getPrevProgressPos()
      Specified by:
      getPrevProgressPos in interface com.ldtteam.structurize.placement.IBlueprintIterator
      Overrides:
      getPrevProgressPos in class com.ldtteam.structurize.placement.AbstractBlueprintIterator
    • reset

      public void reset()
      Specified by:
      reset in interface com.ldtteam.structurize.placement.IBlueprintIterator
      Overrides:
      reset in class com.ldtteam.structurize.placement.AbstractBlueprintIterator
    • increment

      public com.ldtteam.structurize.placement.AbstractBlueprintIterator.Result increment()
    • decrement

      public com.ldtteam.structurize.placement.AbstractBlueprintIterator.Result decrement()