From 5e937664552ea132238bd2cdba23bf2b7003dbbe Mon Sep 17 00:00:00 2001 From: Glease Date: Thu, 15 Sep 2022 10:18:29 +0000 Subject: [PATCH] Deploy javadoc from ref 1.2.0-beta.1 --- 1.2.0-beta.1/javadoc/allclasses-frame.html | 72 + 1.2.0-beta.1/javadoc/allclasses-noframe.html | 72 + ...ureEvent.StructureElementVisitedEvent.html | 457 +++ .../structurelib/StructureEvent.html | 290 ++ .../structurelib/StructureLibAPI.html | 1190 ++++++++ .../alignment/AlignmentUtility.html | 242 ++ .../structurelib/alignment/IAlignment.html | 676 +++++ .../alignment/IAlignmentLimits.Builder.html | 452 +++ .../alignment/IAlignmentLimits.html | 320 ++ .../alignment/IAlignmentProvider.html | 223 ++ .../alignment/IntegerAxisSwap.html | 371 +++ .../constructable/ChannelDataAccessor.html | 454 +++ .../constructable/ConstructableUtility.html | 246 ++ .../constructable/IConstructable.html | 254 ++ .../constructable/IConstructableProvider.html | 224 ++ .../IMultiblockInfoContainer.html | 395 +++ .../constructable/ISurvivalConstructable.html | 344 +++ .../constructable/package-frame.html | 27 + .../constructable/package-summary.html | 189 ++ .../alignment/constructable/package-tree.html | 145 + .../alignment/enumerable/Direction.html | 474 +++ .../alignment/enumerable/ExtendedFacing.html | 2062 +++++++++++++ .../alignment/enumerable/Flip.html | 559 ++++ .../alignment/enumerable/Rotation.html | 559 ++++ .../alignment/enumerable/package-frame.html | 22 + .../alignment/enumerable/package-summary.html | 151 + .../alignment/enumerable/package-tree.html | 141 + .../structurelib/alignment/package-frame.html | 27 + .../alignment/package-summary.html | 182 ++ .../structurelib/alignment/package-tree.html | 149 + .../structurelib/package-frame.html | 21 + .../structurelib/package-summary.html | 154 + .../structurelib/package-tree.html | 143 + .../AutoPlaceEnvironment.APILevel.html | 368 +++ .../structure/AutoPlaceEnvironment.html | 468 +++ .../structure/IBlockPosConsumer.html | 224 ++ .../structure/ICustomBlockSetting.html | 239 ++ .../structurelib/structure/IItemSource.html | 393 +++ .../structure/ISpecialItemBlock.html | 220 ++ .../structure/IStructureDefinition.html | 735 +++++ .../IStructureElement.BlocksToPlace.html | 401 +++ .../IStructureElement.PlaceResult.html | 400 +++ .../structure/IStructureElement.html | 573 ++++ .../structure/IStructureElementChain.html | 488 +++ .../structure/IStructureElementCheckOnly.html | 396 +++ .../structure/IStructureElementDeferred.html | 206 ++ .../IStructureElementNoPlacement.html | 388 +++ .../structure/ISurvivalBuildEnvironment.html | 262 ++ .../structure/ITierConverter.html | 230 ++ .../structure/IWithExtendedContext.html | 228 ++ .../StructureDefinition.Builder.html | 340 +++ .../structure/StructureDefinition.html | 364 +++ .../structure/StructureUtility.html | 2662 +++++++++++++++++ .../structure/adders/IBlockAdder.html | 234 ++ .../structure/adders/ITileAdder.html | 231 ++ .../structure/adders/package-frame.html | 20 + .../structure/adders/package-summary.html | 152 + .../structure/adders/package-tree.html | 131 + .../structurelib/structure/package-frame.html | 44 + .../structure/package-summary.html | 271 ++ .../structurelib/structure/package-tree.html | 170 ++ .../structurelib/util/InventoryIterable.html | 299 ++ .../InventoryUtility.InventoryProvider.html | 237 ++ .../InventoryUtility.ItemStackCounter.html | 227 ++ ...oryUtility.ItemStackExtractor.APIType.html | 342 +++ .../InventoryUtility.ItemStackExtractor.html | 332 ++ .../InventoryUtility.OptimizedExtractor.html | 243 ++ .../structurelib/util/InventoryUtility.html | 495 +++ .../util/ItemStackArrayIterable.html | 297 ++ .../util/ItemStackPredicate.NBTMode.html | 374 +++ .../structurelib/util/ItemStackPredicate.html | 364 +++ .../structurelib/util/MiscUtils.html | 235 ++ .../structurelib/util/SortedRegistry.html | 395 +++ .../structurelib/util/Vec3Impl.html | 644 ++++ .../gtnewhorizon/structurelib/util/XSTR.html | 628 ++++ .../structurelib/util/package-frame.html | 38 + .../structurelib/util/package-summary.html | 222 ++ .../structurelib/util/package-tree.html | 165 + 1.2.0-beta.1/javadoc/constant-values.html | 262 ++ 1.2.0-beta.1/javadoc/deprecated-list.html | 214 ++ 1.2.0-beta.1/javadoc/help-doc.html | 222 ++ 1.2.0-beta.1/javadoc/index-all.html | 1849 ++++++++++++ 1.2.0-beta.1/javadoc/index.html | 75 + 1.2.0-beta.1/javadoc/overview-frame.html | 26 + 1.2.0-beta.1/javadoc/overview-summary.html | 381 +++ 1.2.0-beta.1/javadoc/overview-tree.html | 232 ++ 1.2.0-beta.1/javadoc/package-list | 7 + 1.2.0-beta.1/javadoc/script.js | 30 + 1.2.0-beta.1/javadoc/serialized-form.html | 157 + 1.2.0-beta.1/javadoc/stylesheet.css | 574 ++++ index.txt | 1 + 91 files changed, 31692 insertions(+) create mode 100644 1.2.0-beta.1/javadoc/allclasses-frame.html create mode 100644 1.2.0-beta.1/javadoc/allclasses-noframe.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/StructureEvent.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/StructureLibAPI.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/AlignmentUtility.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignment.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignmentLimits.Builder.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignmentLimits.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IntegerAxisSwap.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/ChannelDataAccessor.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/ConstructableUtility.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/IConstructableProvider.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/IMultiblockInfoContainer.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/package-frame.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/package-summary.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/package-tree.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/package-frame.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/package-summary.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/package-tree.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/package-frame.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/package-summary.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/package-tree.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/package-frame.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/package-summary.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/package-tree.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IBlockPosConsumer.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ICustomBlockSetting.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IItemSource.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ISpecialItemBlock.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureDefinition.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElement.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementChain.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementDeferred.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ITierConverter.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IWithExtendedContext.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/StructureDefinition.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/StructureUtility.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/IBlockAdder.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/ITileAdder.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/package-frame.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/package-summary.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/package-tree.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/package-frame.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/package-summary.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/package-tree.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryIterable.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.InventoryProvider.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.ItemStackCounter.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.ItemStackExtractor.APIType.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.ItemStackExtractor.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.OptimizedExtractor.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/ItemStackArrayIterable.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/ItemStackPredicate.NBTMode.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/ItemStackPredicate.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/MiscUtils.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/SortedRegistry.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/Vec3Impl.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/XSTR.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/package-frame.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/package-summary.html create mode 100644 1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/package-tree.html create mode 100644 1.2.0-beta.1/javadoc/constant-values.html create mode 100644 1.2.0-beta.1/javadoc/deprecated-list.html create mode 100644 1.2.0-beta.1/javadoc/help-doc.html create mode 100644 1.2.0-beta.1/javadoc/index-all.html create mode 100644 1.2.0-beta.1/javadoc/index.html create mode 100644 1.2.0-beta.1/javadoc/overview-frame.html create mode 100644 1.2.0-beta.1/javadoc/overview-summary.html create mode 100644 1.2.0-beta.1/javadoc/overview-tree.html create mode 100644 1.2.0-beta.1/javadoc/package-list create mode 100644 1.2.0-beta.1/javadoc/script.js create mode 100644 1.2.0-beta.1/javadoc/serialized-form.html create mode 100644 1.2.0-beta.1/javadoc/stylesheet.css diff --git a/1.2.0-beta.1/javadoc/allclasses-frame.html b/1.2.0-beta.1/javadoc/allclasses-frame.html new file mode 100644 index 00000000..d82b63a7 --- /dev/null +++ b/1.2.0-beta.1/javadoc/allclasses-frame.html @@ -0,0 +1,72 @@ + + + + + +All Classes (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + +

All Classes

+
+ +
+ + diff --git a/1.2.0-beta.1/javadoc/allclasses-noframe.html b/1.2.0-beta.1/javadoc/allclasses-noframe.html new file mode 100644 index 00000000..06c9e245 --- /dev/null +++ b/1.2.0-beta.1/javadoc/allclasses-noframe.html @@ -0,0 +1,72 @@ + + + + + +All Classes (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + +

All Classes

+
+ +
+ + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html new file mode 100644 index 00000000..043ede0d --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html @@ -0,0 +1,457 @@ + + + + + +StructureEvent.StructureElementVisitedEvent (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib
+

Class StructureEvent.StructureElementVisitedEvent

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    StructureEvent
    +
    +
    +
    +
    public static final class StructureEvent.StructureElementVisitedEvent
    +extends StructureEvent
    +
    Fired just before any structure element is visited.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        fireEvent

        +
        public static void fireEvent(World world,
        +                             int x,
        +                             int y,
        +                             int z,
        +                             int a,
        +                             int b,
        +                             int c,
        +                             IStructureElement<?> element)
        +
        Fire this event on MinecraftForge.EVENT_BUS by populating it with given arguments. + Do nothing if instrumenting isn't enabled for current thread. +

        + Any Exception thrown by event listeners will be logged and ignored. Error will be propagated + as is.

        +
      • +
      + + + +
        +
      • +

        getA

        +
        public int getA()
        +
        A position in ABC coordinate, relative to (0,0,0) in the piece, i.e. without baseOffset +

        + Submit a feature request if you need the baseOffset.

        +
      • +
      + + + +
        +
      • +

        getB

        +
        public int getB()
        +
        B position in ABC coordinate, relative to (0,0,0) in the piece, i.e. without baseOffset +

        + Submit a feature request if you need the baseOffset.

        +
      • +
      + + + +
        +
      • +

        getC

        +
        public int getC()
        +
        C position in ABC coordinate, relative to (0,0,0) in the piece, i.e. without baseOffset +

        + Submit a feature request if you need the baseOffset.

        +
      • +
      + + + +
        +
      • +

        getElement

        +
        public IStructureElement<?> getElement()
        +
        Element being visited.
        +
      • +
      + + + + + + + +
        +
      • +

        getWorld

        +
        public World getWorld()
        +
        Location of this event.
        +
      • +
      + + + +
        +
      • +

        getX

        +
        public int getX()
        +
        Location of this event. Absolute world coordinate.
        +
      • +
      + + + +
        +
      • +

        getY

        +
        public int getY()
        +
        Location of this event. Absolute world coordinate.
        +
      • +
      + + + +
        +
      • +

        getZ

        +
        public int getZ()
        +
        Location of this event. Absolute world coordinate.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/StructureEvent.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/StructureEvent.html new file mode 100644 index 00000000..02fc5114 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/StructureEvent.html @@ -0,0 +1,290 @@ + + + + + +StructureEvent (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib
+

Class StructureEvent

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    StructureEvent.StructureElementVisitedEvent
    +
    +
    +
    +
    public abstract class StructureEvent
    +extends Event
    +
    Subscribers are required to not keep reference to these events, nor to depend on values of these events after + the method call returns. +

    + All of these events will be fired on the MinecraftForge.EVENT_BUS, if they are + enabled by StructureLibAPI.enableInstrument(Object). +

    + All public stuff in this class and its enclosed classes are considered part of the public API. + Backwards compatibility is maintained to the maximum extend possible.

    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getInstrumentIdentifier

        +
        public Object getInstrumentIdentifier()
        +
        The instrument identifier. Subscribers should filter by these identifiers to prevent listening to a structure + event for other people.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/StructureLibAPI.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/StructureLibAPI.html new file mode 100644 index 00000000..8934e11d --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/StructureLibAPI.html @@ -0,0 +1,1190 @@ + + + + + +StructureLibAPI (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib
+

Class StructureLibAPI

+
+
+ +
+
    +
  • +
    +
    +
    public class StructureLibAPI
    +extends Object
    +
    A stable interface into the structure lib's internals. Backwards compatibility is maintained to the maximum extend possible.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + + + + + +
        +
      • +

        HINT_BLOCK_META_GENERIC_0

        +
        public static final int HINT_BLOCK_META_GENERIC_0
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HINT_BLOCK_META_GENERIC_1

        +
        public static final int HINT_BLOCK_META_GENERIC_1
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HINT_BLOCK_META_GENERIC_2

        +
        public static final int HINT_BLOCK_META_GENERIC_2
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HINT_BLOCK_META_GENERIC_3

        +
        public static final int HINT_BLOCK_META_GENERIC_3
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HINT_BLOCK_META_GENERIC_4

        +
        public static final int HINT_BLOCK_META_GENERIC_4
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HINT_BLOCK_META_GENERIC_5

        +
        public static final int HINT_BLOCK_META_GENERIC_5
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HINT_BLOCK_META_GENERIC_6

        +
        public static final int HINT_BLOCK_META_GENERIC_6
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HINT_BLOCK_META_GENERIC_7

        +
        public static final int HINT_BLOCK_META_GENERIC_7
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HINT_BLOCK_META_GENERIC_8

        +
        public static final int HINT_BLOCK_META_GENERIC_8
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HINT_BLOCK_META_GENERIC_9

        +
        public static final int HINT_BLOCK_META_GENERIC_9
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HINT_BLOCK_META_GENERIC_10

        +
        public static final int HINT_BLOCK_META_GENERIC_10
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HINT_BLOCK_META_GENERIC_11

        +
        public static final int HINT_BLOCK_META_GENERIC_11
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HINT_BLOCK_META_DEFAULT

        +
        public static final int HINT_BLOCK_META_DEFAULT
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HINT_BLOCK_META_AIR

        +
        public static final int HINT_BLOCK_META_AIR
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HINT_BLOCK_META_NOT_AIR

        +
        public static final int HINT_BLOCK_META_NOT_AIR
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HINT_BLOCK_META_ERROR

        +
        public static final int HINT_BLOCK_META_ERROR
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StructureLibAPI

        +
        public StructureLibAPI()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        enableInstrument

        +
        public static void enableInstrument(Object identifier)
        +
        Start instrumenting for the current thread only. When instrumentation is enabled, + IStructureDefinition's builtin iteration methods will send StructureEvent and its subclasses when + appropriate. Otherwise, these events will not be sent at all, regardless of whether a listener for these events + are registered. +

        + Identifiers are required to be value-comparable, i.e. overrides Object.equals(Object). + Suggested identifier includes +

        +

        + It's an API abuse for normal IStructureDefinition users to depend on this feature. They have full control + and full knowledge of the IStructureDefinition they are using. Using events to instrument the structure + check/autoplace is completely unnecessary and does nothing but add overhead. +

        + Instruments are required to call disableInstrument() whenever it is done with its business, as there can + be only one instrument for any given thread.

        +
        +
        Parameters:
        +
        identifier - an identifier sent along the actual event.
        +
        Throws:
        +
        IllegalStateException - if instrument has already been enabled.
        +
        +
      • +
      + + + +
        +
      • +

        disableInstrument

        +
        public static void disableInstrument()
        +
        Stop instrumenting.
        +
        +
        Throws:
        +
        IllegalStateException - if instrumenting hasn't been enabled.
        +
        +
      • +
      + + + +
        +
      • +

        isInstrumentEnabled

        +
        public static boolean isInstrumentEnabled()
        +
        Check if instrumenting is enabled.
        +
        +
        Returns:
        +
        true if enabled, false otherwise
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        hintParticleTinted

        +
        public static void hintParticleTinted(World w,
        +                                      int x,
        +                                      int y,
        +                                      int z,
        +                                      IIcon[] icons,
        +                                      short[] RGBa)
        +
        Generate a new hint particle on client side at given location using given textures with a tint.
        +
        +
        Parameters:
        +
        w - World to spawn. Usually the client world.
        +
        x - x coord
        +
        y - y coord
        +
        z - z coord
        +
        icons - 6 texture. in forge direction order.
        +
        RGBa - a 4 short array. tint in rgba form. currently alpha channel is ignored, but we might change this later on.
        +
        +
      • +
      + + + +
        +
      • +

        hintParticleTinted

        +
        public static void hintParticleTinted(World w,
        +                                      int x,
        +                                      int y,
        +                                      int z,
        +                                      Block block,
        +                                      int meta,
        +                                      short[] RGBa)
        +
        Generate a new hint particle on client side at given location using textures from given block with a tint.
        +
        +
        Parameters:
        +
        w - World to spawn. Usually the client world.
        +
        x - x coord
        +
        y - y coord
        +
        z - z coord
        +
        block - block to take texture from
        +
        meta - the meta of block to take texture from
        +
        RGBa - a 4 short array. tint in rgba form. currently alpha channel is ignored, but we might change this later on.
        +
        +
      • +
      + + + +
        +
      • +

        hintParticle

        +
        public static void hintParticle(World w,
        +                                int x,
        +                                int y,
        +                                int z,
        +                                IIcon[] icons)
        +
        Generate a new hint particle on client side at given location using given textures.
        +
        +
        Parameters:
        +
        w - World to spawn. Usually the client world.
        +
        x - x coord
        +
        y - y coord
        +
        z - z coord
        +
        icons - 6 texture. in forge direction order.
        +
        +
      • +
      + + + +
        +
      • +

        hintParticle

        +
        public static void hintParticle(World w,
        +                                int x,
        +                                int y,
        +                                int z,
        +                                Block block,
        +                                int meta)
        +
        Generate a new hint particle on client side at given location using textures from given block.
        +
        +
        Parameters:
        +
        w - World to spawn. Usually the client world.
        +
        x - x coord
        +
        y - y coord
        +
        z - z coord
        +
        block - block to take texture from
        +
        meta - the meta of block to take texture from
        +
        +
      • +
      + + + +
        +
      • +

        markHintParticleError

        +
        public static boolean markHintParticleError(EntityPlayer player,
        +                                            World w,
        +                                            int x,
        +                                            int y,
        +                                            int z)
        +
        Update the tint of given hint particle. Do nothing if particle not found. +

        + Can be called on either client side or server side. + Server side will schedule a network message to update it for this player only. + Will do nothing if no hint particle is found at given location.

        +
        +
        Returns:
        +
        false if nothing updated. true if updated or update instruction sent.
        +
        +
      • +
      + + + +
        +
      • +

        updateHintParticleTint

        +
        public static boolean updateHintParticleTint(EntityPlayer player,
        +                                             World w,
        +                                             int x,
        +                                             int y,
        +                                             int z,
        +                                             short[] RGBa)
        +
        Update the tint of given hint particle. Do nothing if particle not found.
        +
        +
        Returns:
        +
        false if nothing updated. true if updated.
        +
        +
      • +
      + + + + + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getBlockHint

        +
        public static Block getBlockHint()
        +
        Get the Block for StructureLib supplied hint block.
        +
      • +
      + + + +
        +
      • +

        getItemBlockHint

        +
        public static Item getItemBlockHint()
        +
        Get the ItemBlock for StructureLib supplied hint block.
        +
      • +
      + + + +
        +
      • +

        isDebugEnabled

        +
        public static boolean isDebugEnabled()
        +
        Check if structure debug mode is on.
        +
        +
        Returns:
        +
        true if debug mode is on
        +
        +
      • +
      + + + +
        +
      • +

        setDebugEnabled

        +
        public static void setDebugEnabled(boolean enabled)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        addThrottledChat

        +
        public static void addThrottledChat(Object throttleKey,
        +                                    EntityPlayer player,
        +                                    IChatComponent text,
        +                                    short intervalRequired)
        +
        Send chat to player, but throttled.
        +
        +
        Parameters:
        +
        throttleKey - throttle key. Must properly implement Object.hashCode() and Object.equals(Object) + to handle value equality.
        +
        player - player to send chat to
        +
        text - chat to send
        +
        intervalRequired - interval required before last recorded time to actually send the message. unit in millisecond. + we purposefully chose to not use a bigger data type to limit how long this interval can be
        +
        +
      • +
      + + + +
        +
      • +

        addThrottledChat

        +
        public static void addThrottledChat(Object throttleKey,
        +                                    EntityPlayer player,
        +                                    IChatComponent text,
        +                                    short intervalRequired,
        +                                    boolean forceUpdateLastSend)
        +
        Send chat to player, but throttled.
        +
        +
        Parameters:
        +
        throttleKey - throttle key. Must properly implement Object.hashCode() and Object.equals(Object) + to handle value equality.
        +
        player - player to send chat to
        +
        text - chat to send
        +
        intervalRequired - interval required before last recorded time to actually send the message. unit in millisecond. + we purposefully chose to not use a bigger data type to limit how long this interval can be
        +
        forceUpdateLastSend - if true, always update the last send time, even if the message isn't actually sent.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/AlignmentUtility.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/AlignmentUtility.html new file mode 100644 index 00000000..c77f76f9 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/AlignmentUtility.html @@ -0,0 +1,242 @@ + + + + + +AlignmentUtility (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment
+

Class AlignmentUtility

+
+
+ +
+
    +
  • +
    +
    +
    public class AlignmentUtility
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        handle

        +
        public static boolean handle(EntityPlayer aPlayer,
        +                             World aWorld,
        +                             int aX,
        +                             int aY,
        +                             int aZ)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignment.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignment.html new file mode 100644 index 00000000..cdc81447 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignment.html @@ -0,0 +1,676 @@ + + + + + +IAlignment (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment
+

Interface IAlignment

+
+
+
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        DIRECTIONS_COUNT

        +
        static final int DIRECTIONS_COUNT
        +
      • +
      + + + +
        +
      • +

        ROTATIONS_COUNT

        +
        static final int ROTATIONS_COUNT
        +
      • +
      + + + +
        +
      • +

        FLIPS_COUNT

        +
        static final int FLIPS_COUNT
        +
      • +
      + + + +
        +
      • +

        STATES_COUNT

        +
        static final int STATES_COUNT
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getAlignmentIndex

        +
        static int getAlignmentIndex(net.minecraftforge.common.util.ForgeDirection direction,
        +                             Rotation rotation,
        +                             Flip flip)
        +
      • +
      + + + +
        +
      • +

        getDirection

        +
        default net.minecraftforge.common.util.ForgeDirection getDirection()
        +
      • +
      + + + +
        +
      • +

        setDirection

        +
        default void setDirection(net.minecraftforge.common.util.ForgeDirection direction)
        +
      • +
      + + + +
        +
      • +

        getRotation

        +
        default Rotation getRotation()
        +
      • +
      + + + +
        +
      • +

        setRotation

        +
        default void setRotation(Rotation rotation)
        +
      • +
      + + + +
        +
      • +

        getFlip

        +
        default Flip getFlip()
        +
      • +
      + + + +
        +
      • +

        setFlip

        +
        default void setFlip(Flip flip)
        +
      • +
      + + + +
        +
      • +

        toolSetDirection

        +
        default boolean toolSetDirection(net.minecraftforge.common.util.ForgeDirection direction)
        +
      • +
      + + + +
        +
      • +

        checkedSetDirection

        +
        default boolean checkedSetDirection(net.minecraftforge.common.util.ForgeDirection direction)
        +
      • +
      + + + +
        +
      • +

        canSetToDirectionAny

        +
        default boolean canSetToDirectionAny(net.minecraftforge.common.util.ForgeDirection direction)
        +
      • +
      + + + +
        +
      • +

        toolSetRotation

        +
        default boolean toolSetRotation(Rotation rotation)
        +
      • +
      + + + +
        +
      • +

        checkedSetRotation

        +
        default boolean checkedSetRotation(Rotation rotation)
        +
      • +
      + + + +
        +
      • +

        toolSetFlip

        +
        default boolean toolSetFlip(Flip flip)
        +
      • +
      + + + +
        +
      • +

        checkedSetFlip

        +
        default boolean checkedSetFlip(Flip flip)
        +
      • +
      + + + +
        +
      • +

        toolSetExtendedFacing

        +
        default boolean toolSetExtendedFacing(ExtendedFacing extendedFacing)
        +
      • +
      + + + +
        +
      • +

        checkedSetExtendedFacing

        +
        default boolean checkedSetExtendedFacing(ExtendedFacing alignment)
        +
      • +
      + + + +
        +
      • +

        isNewDirectionValid

        +
        default boolean isNewDirectionValid(net.minecraftforge.common.util.ForgeDirection direction)
        +
      • +
      + + + +
        +
      • +

        isNewRotationValid

        +
        default boolean isNewRotationValid(Rotation rotation)
        +
      • +
      + + + +
        +
      • +

        isNewFlipValid

        +
        default boolean isNewFlipValid(Flip flip)
        +
      • +
      + + + +
        +
      • +

        isExtendedFacingValid

        +
        default boolean isExtendedFacingValid()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignmentLimits.Builder.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignmentLimits.Builder.html new file mode 100644 index 00000000..b4f75acd --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignmentLimits.Builder.html @@ -0,0 +1,452 @@ + + + + + +IAlignmentLimits.Builder (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment
+

Class IAlignmentLimits.Builder

+
+
+ +
+
    +
  • +
    +
    Enclosing interface:
    +
    IAlignmentLimits
    +
    +
    +
    +
    public static class IAlignmentLimits.Builder
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignmentLimits.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignmentLimits.html new file mode 100644 index 00000000..7a3ff10b --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignmentLimits.html @@ -0,0 +1,320 @@ + + + + + +IAlignmentLimits (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment
+

Interface IAlignmentLimits

+
+
+
+
    +
  • +
    +
    All Known Subinterfaces:
    +
    IAlignment
    +
    +
    +
    +
    public interface IAlignmentLimits
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html new file mode 100644 index 00000000..e51f57f2 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html @@ -0,0 +1,223 @@ + + + + + +IAlignmentProvider (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment
+

Interface IAlignmentProvider

+
+
+
+
    +
  • +
    +
    All Known Subinterfaces:
    +
    IAlignment
    +
    +
    +
    +
    public interface IAlignmentProvider
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IntegerAxisSwap.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IntegerAxisSwap.html new file mode 100644 index 00000000..6d357e45 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/IntegerAxisSwap.html @@ -0,0 +1,371 @@ + + + + + +IntegerAxisSwap (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment
+

Class IntegerAxisSwap

+
+
+ +
+
    +
  • +
    +
    +
    public class IntegerAxisSwap
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        IntegerAxisSwap

        +
        public IntegerAxisSwap(net.minecraftforge.common.util.ForgeDirection forFirstAxis,
        +                       net.minecraftforge.common.util.ForgeDirection forSecondAxis,
        +                       net.minecraftforge.common.util.ForgeDirection forThirdAxis)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        translate

        +
        public Vec3 translate(Vec3 point)
        +
      • +
      + + + +
        +
      • +

        inverseTranslate

        +
        public Vec3 inverseTranslate(Vec3 point)
        +
      • +
      + + + +
        +
      • +

        translate

        +
        public void translate(int[] point,
        +                      int[] out)
        +
      • +
      + + + +
        +
      • +

        inverseTranslate

        +
        public void inverseTranslate(int[] point,
        +                             int[] out)
        +
      • +
      + + + +
        +
      • +

        translate

        +
        public void translate(double[] point,
        +                      double[] out)
        +
      • +
      + + + +
        +
      • +

        inverseTranslate

        +
        public void inverseTranslate(double[] point,
        +                             double[] out)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/ChannelDataAccessor.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/ChannelDataAccessor.html new file mode 100644 index 00000000..1e96c3a0 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/ChannelDataAccessor.html @@ -0,0 +1,454 @@ + + + + + +ChannelDataAccessor (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment.constructable
+

Class ChannelDataAccessor

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        withChannel

        +
        public static ItemStack withChannel(ItemStack masterStack,
        +                                    String channel)
        +
        Return a trigger item that +
          +
        • Still carry all the subchannel in some unspecified ways
        • +
        • Have its master channel data replaced with specified subchannel's data
        • +
        + + If given subchannel does not exist, masterStack may or may not be returned to save performance. + Code within StructureLib can depend on this behavior, you cannot.
        +
        +
        Parameters:
        +
        masterStack - trigger item. can be the return value of another withChannel(ItemStack, String) call
        +
        channel - subchannel to use. will use current master channel data instead if this channel does not exist + Note: all channel identifiers are supposed to be lower case and not empty.
        +
        Returns:
        +
        a trigger item with new master channel
        +
        +
      • +
      + + + +
        +
      • +

        hasSubChannel

        +
        public static boolean hasSubChannel(ItemStack masterStack)
        +
        Check if given trigger item contains any subchannel
        +
        +
        Parameters:
        +
        masterStack - trigger stack to check
        +
        Returns:
        +
        true if contains any subchannel
        +
        +
      • +
      + + + +
        +
      • +

        hasSubChannel

        +
        public static boolean hasSubChannel(ItemStack masterStack,
        +                                    String channel)
        +
        Check if given trigger item contains specified subchannel
        +
        +
        Parameters:
        +
        masterStack - trigger stack to check
        +
        channel - channel identifier. + Note: all channel identifiers are supposed to be lower case and not empty.
        +
        Returns:
        +
        true if contains specified subchannel
        +
        +
      • +
      + + + +
        +
      • +

        getChannelData

        +
        public static int getChannelData(ItemStack masterStack,
        +                                 String channel)
        +
        Get the subchannel data from given trigger item. Will use master channel instead if not present.
        +
        +
        Parameters:
        +
        masterStack - trigger stack to query from
        +
        channel - channel identifier. + Note: all channel identifiers are supposed to be lower case and not empty.
        +
        Returns:
        +
        channel data
        +
        +
      • +
      + + + +
        +
      • +

        setChannelData

        +
        public static void setChannelData(ItemStack masterStack,
        +                                  String channel,
        +                                  int data)
        +
        Set the subchannel data on given trigger item
        +
        +
        Parameters:
        +
        masterStack - trigger stack to check
        +
        channel - channel identifier. + Note: all channel identifiers are supposed to be lower case and not empty.
        +
        data - subchannel data. should always be a positive value
        +
        +
      • +
      + + + +
        +
      • +

        unsetChannelData

        +
        public static void unsetChannelData(ItemStack masterStack,
        +                                    String channel)
        +
        Clear the given subchannel from given trigger item, if it exists
        +
        +
        Parameters:
        +
        masterStack - trigger stack to unset
        +
        channel - channel identifier. + Note: all channel identifiers are supposed to be lower case and not empty.
        +
        +
      • +
      + + + +
        +
      • +

        wipeChannelData

        +
        public static void wipeChannelData(ItemStack masterStack)
        +
        Wipe all subchannel data on given trigger item
        +
        +
        Parameters:
        +
        masterStack - trigger stack to wipe
        +
        +
      • +
      + + + +
        +
      • +

        iterateChannelData

        +
        public static Stream<Map.Entry<String,Integer>> iterateChannelData(ItemStack masterStack)
        +
        Iterate over all subchannel data on trigger stack. Does not include master channel!!
        +
        +
        Parameters:
        +
        masterStack - trigger stack to check
        +
        Returns:
        +
        A java8 stream of pairs. Key is channel identifier and value is channel data. Pairs do not support + mutation nor removal. Can still cause ConcurrentModificationException if underlying channel + data is modified while stream is working.
        +
        +
      • +
      + + + +
        +
      • +

        countChannelData

        +
        public static int countChannelData(ItemStack masterStack)
        +
        Get the number of subchannels present on given trigger item. Does not include master channel.
        +
        +
        Parameters:
        +
        masterStack - trigger stack to query from
        +
        Returns:
        +
        subchannel count
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/ConstructableUtility.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/ConstructableUtility.html new file mode 100644 index 00000000..c70d4c32 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/ConstructableUtility.html @@ -0,0 +1,246 @@ + + + + + +ConstructableUtility (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment.constructable
+

Class ConstructableUtility

+
+
+ +
+
    +
  • +
    +
    +
    public class ConstructableUtility
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        handle

        +
        public static boolean handle(ItemStack aStack,
        +                             EntityPlayer aPlayer,
        +                             World aWorld,
        +                             int aX,
        +                             int aY,
        +                             int aZ,
        +                             int aSide)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html new file mode 100644 index 00000000..a1d20444 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html @@ -0,0 +1,254 @@ + + + + + +IConstructable (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment.constructable
+

Interface IConstructable

+
+
+
+
    +
  • +
    +
    All Known Subinterfaces:
    +
    ISurvivalConstructable
    +
    +
    +
    +
    public interface IConstructable
    +
    Created by Tec on 24.03.2017.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        construct

        +
        void construct(ItemStack stackSize,
        +               boolean hintsOnly)
        +
      • +
      + + + +
        +
      • +

        getStructureDefinition

        +
        default IStructureDefinition<?> getStructureDefinition()
        +
        Get the structure definition used for this constructable. Can be null if this constructable is not backed by one.
        +
      • +
      + + + +
        +
      • +

        getStructureDescription

        +
        String[] getStructureDescription(ItemStack stackSize)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/IConstructableProvider.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/IConstructableProvider.html new file mode 100644 index 00000000..60f4e904 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/IConstructableProvider.html @@ -0,0 +1,224 @@ + + + + + +IConstructableProvider (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment.constructable
+

Interface IConstructableProvider

+
+
+
+
    +
  • +
    +
    +
    public interface IConstructableProvider
    +
    Implement this interface if this tile entity MIGHT be constructable
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getConstructable

        +
        @Nullable
        +IConstructable getConstructable()
        +
        +
        Returns:
        +
        null if not constructable, an instance otherwise.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/IMultiblockInfoContainer.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/IMultiblockInfoContainer.html new file mode 100644 index 00000000..29609c2b --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/IMultiblockInfoContainer.html @@ -0,0 +1,395 @@ + + + + + +IMultiblockInfoContainer (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment.constructable
+

Interface IMultiblockInfoContainer<T>

+
+
+
+
    +
  • +
    +
    +
    public interface IMultiblockInfoContainer<T>
    +
    To implement IConstructable on not own TileEntities
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html new file mode 100644 index 00000000..03c69f7f --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html @@ -0,0 +1,344 @@ + + + + + +ISurvivalConstructable (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment.constructable
+

Interface ISurvivalConstructable

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    IConstructable
    +
    +
    +
    +
    public interface ISurvivalConstructable
    +extends IConstructable
    +
    An extension to IConstructable. Tile Entities (or delegates returned by IConstructableProvider.getConstructable() + should implement this interface to allow third party tools and StructureLib builtin constructable tools to trigger + autoplace in survival mode. +

    + While not originally planned, a creative player can also use this interface to trigger autoplace by using an + IItemSource with every possible items in the game.

    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/package-frame.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/package-frame.html new file mode 100644 index 00000000..7c17b847 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/package-frame.html @@ -0,0 +1,27 @@ + + + + + +com.gtnewhorizon.structurelib.alignment.constructable (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + +

com.gtnewhorizon.structurelib.alignment.constructable

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/package-summary.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/package-summary.html new file mode 100644 index 00000000..6dcdb3ce --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/package-summary.html @@ -0,0 +1,189 @@ + + + + + +com.gtnewhorizon.structurelib.alignment.constructable (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Package com.gtnewhorizon.structurelib.alignment.constructable

+
+
This package contains interfaces and utility methods for autobuilding a structure.
+
+

See: Description

+
+
+ + + + +

Package com.gtnewhorizon.structurelib.alignment.constructable Description

+
This package contains interfaces and utility methods for autobuilding a structure.
+
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/package-tree.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/package-tree.html new file mode 100644 index 00000000..05556424 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/constructable/package-tree.html @@ -0,0 +1,145 @@ + + + + + +com.gtnewhorizon.structurelib.alignment.constructable Class Hierarchy (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.gtnewhorizon.structurelib.alignment.constructable

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html new file mode 100644 index 00000000..3918ccf9 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html @@ -0,0 +1,474 @@ + + + + + +Direction (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment.enumerable
+

Enum Direction

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        VALUES

        +
        public static final Direction[] VALUES
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Direction[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (Direction c : Direction.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Direction valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getForgeDirection

        +
        public net.minecraftforge.common.util.ForgeDirection getForgeDirection()
        +
      • +
      + + + +
        +
      • +

        getAxisVector

        +
        public Vec3Impl getAxisVector()
        +
      • +
      + + + +
        +
      • +

        getAxisVector

        +
        public static Vec3Impl getAxisVector(net.minecraftforge.common.util.ForgeDirection forgeDirection)
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html new file mode 100644 index 00000000..420deffe --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html @@ -0,0 +1,2062 @@ + + + + + +ExtendedFacing (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment.enumerable
+

Enum ExtendedFacing

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        DOWN_NORMAL_NONE

        +
        public static final ExtendedFacing DOWN_NORMAL_NONE
        +
      • +
      + + + +
        +
      • +

        DOWN_NORMAL_HORIZONTAL

        +
        public static final ExtendedFacing DOWN_NORMAL_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        DOWN_NORMAL_VERTICAL

        +
        public static final ExtendedFacing DOWN_NORMAL_VERTICAL
        +
      • +
      + + + +
        +
      • +

        DOWN_NORMAL_BOTH

        +
        public static final ExtendedFacing DOWN_NORMAL_BOTH
        +
      • +
      + + + +
        +
      • +

        DOWN_CLOCKWISE_NONE

        +
        public static final ExtendedFacing DOWN_CLOCKWISE_NONE
        +
      • +
      + + + +
        +
      • +

        DOWN_CLOCKWISE_HORIZONTAL

        +
        public static final ExtendedFacing DOWN_CLOCKWISE_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        DOWN_CLOCKWISE_VERTICAL

        +
        public static final ExtendedFacing DOWN_CLOCKWISE_VERTICAL
        +
      • +
      + + + +
        +
      • +

        DOWN_CLOCKWISE_BOTH

        +
        public static final ExtendedFacing DOWN_CLOCKWISE_BOTH
        +
      • +
      + + + +
        +
      • +

        DOWN_UPSIDE_DOWN_NONE

        +
        public static final ExtendedFacing DOWN_UPSIDE_DOWN_NONE
        +
      • +
      + + + +
        +
      • +

        DOWN_UPSIDE_DOWN_HORIZONTAL

        +
        public static final ExtendedFacing DOWN_UPSIDE_DOWN_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        DOWN_UPSIDE_DOWN_VERTICAL

        +
        public static final ExtendedFacing DOWN_UPSIDE_DOWN_VERTICAL
        +
      • +
      + + + +
        +
      • +

        DOWN_UPSIDE_DOWN_BOTH

        +
        public static final ExtendedFacing DOWN_UPSIDE_DOWN_BOTH
        +
      • +
      + + + +
        +
      • +

        DOWN_COUNTER_CLOCKWISE_NONE

        +
        public static final ExtendedFacing DOWN_COUNTER_CLOCKWISE_NONE
        +
      • +
      + + + +
        +
      • +

        DOWN_COUNTER_CLOCKWISE_HORIZONTAL

        +
        public static final ExtendedFacing DOWN_COUNTER_CLOCKWISE_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        DOWN_COUNTER_CLOCKWISE_VERTICAL

        +
        public static final ExtendedFacing DOWN_COUNTER_CLOCKWISE_VERTICAL
        +
      • +
      + + + +
        +
      • +

        DOWN_COUNTER_CLOCKWISE_BOTH

        +
        public static final ExtendedFacing DOWN_COUNTER_CLOCKWISE_BOTH
        +
      • +
      + + + +
        +
      • +

        UP_NORMAL_NONE

        +
        public static final ExtendedFacing UP_NORMAL_NONE
        +
      • +
      + + + +
        +
      • +

        UP_NORMAL_HORIZONTAL

        +
        public static final ExtendedFacing UP_NORMAL_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        UP_NORMAL_VERTICAL

        +
        public static final ExtendedFacing UP_NORMAL_VERTICAL
        +
      • +
      + + + +
        +
      • +

        UP_NORMAL_BOTH

        +
        public static final ExtendedFacing UP_NORMAL_BOTH
        +
      • +
      + + + +
        +
      • +

        UP_CLOCKWISE_NONE

        +
        public static final ExtendedFacing UP_CLOCKWISE_NONE
        +
      • +
      + + + +
        +
      • +

        UP_CLOCKWISE_HORIZONTAL

        +
        public static final ExtendedFacing UP_CLOCKWISE_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        UP_CLOCKWISE_VERTICAL

        +
        public static final ExtendedFacing UP_CLOCKWISE_VERTICAL
        +
      • +
      + + + +
        +
      • +

        UP_CLOCKWISE_BOTH

        +
        public static final ExtendedFacing UP_CLOCKWISE_BOTH
        +
      • +
      + + + +
        +
      • +

        UP_UPSIDE_DOWN_NONE

        +
        public static final ExtendedFacing UP_UPSIDE_DOWN_NONE
        +
      • +
      + + + +
        +
      • +

        UP_UPSIDE_DOWN_HORIZONTAL

        +
        public static final ExtendedFacing UP_UPSIDE_DOWN_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        UP_UPSIDE_DOWN_VERTICAL

        +
        public static final ExtendedFacing UP_UPSIDE_DOWN_VERTICAL
        +
      • +
      + + + +
        +
      • +

        UP_UPSIDE_DOWN_BOTH

        +
        public static final ExtendedFacing UP_UPSIDE_DOWN_BOTH
        +
      • +
      + + + +
        +
      • +

        UP_COUNTER_CLOCKWISE_NONE

        +
        public static final ExtendedFacing UP_COUNTER_CLOCKWISE_NONE
        +
      • +
      + + + +
        +
      • +

        UP_COUNTER_CLOCKWISE_HORIZONTAL

        +
        public static final ExtendedFacing UP_COUNTER_CLOCKWISE_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        UP_COUNTER_CLOCKWISE_VERTICAL

        +
        public static final ExtendedFacing UP_COUNTER_CLOCKWISE_VERTICAL
        +
      • +
      + + + +
        +
      • +

        UP_COUNTER_CLOCKWISE_BOTH

        +
        public static final ExtendedFacing UP_COUNTER_CLOCKWISE_BOTH
        +
      • +
      + + + +
        +
      • +

        NORTH_NORMAL_NONE

        +
        public static final ExtendedFacing NORTH_NORMAL_NONE
        +
      • +
      + + + +
        +
      • +

        NORTH_NORMAL_HORIZONTAL

        +
        public static final ExtendedFacing NORTH_NORMAL_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        NORTH_NORMAL_VERTICAL

        +
        public static final ExtendedFacing NORTH_NORMAL_VERTICAL
        +
      • +
      + + + +
        +
      • +

        NORTH_NORMAL_BOTH

        +
        public static final ExtendedFacing NORTH_NORMAL_BOTH
        +
      • +
      + + + +
        +
      • +

        NORTH_CLOCKWISE_NONE

        +
        public static final ExtendedFacing NORTH_CLOCKWISE_NONE
        +
      • +
      + + + +
        +
      • +

        NORTH_CLOCKWISE_HORIZONTAL

        +
        public static final ExtendedFacing NORTH_CLOCKWISE_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        NORTH_CLOCKWISE_VERTICAL

        +
        public static final ExtendedFacing NORTH_CLOCKWISE_VERTICAL
        +
      • +
      + + + +
        +
      • +

        NORTH_CLOCKWISE_BOTH

        +
        public static final ExtendedFacing NORTH_CLOCKWISE_BOTH
        +
      • +
      + + + +
        +
      • +

        NORTH_UPSIDE_DOWN_NONE

        +
        public static final ExtendedFacing NORTH_UPSIDE_DOWN_NONE
        +
      • +
      + + + +
        +
      • +

        NORTH_UPSIDE_DOWN_HORIZONTAL

        +
        public static final ExtendedFacing NORTH_UPSIDE_DOWN_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        NORTH_UPSIDE_DOWN_VERTICAL

        +
        public static final ExtendedFacing NORTH_UPSIDE_DOWN_VERTICAL
        +
      • +
      + + + +
        +
      • +

        NORTH_UPSIDE_DOWN_BOTH

        +
        public static final ExtendedFacing NORTH_UPSIDE_DOWN_BOTH
        +
      • +
      + + + +
        +
      • +

        NORTH_COUNTER_CLOCKWISE_NONE

        +
        public static final ExtendedFacing NORTH_COUNTER_CLOCKWISE_NONE
        +
      • +
      + + + +
        +
      • +

        NORTH_COUNTER_CLOCKWISE_HORIZONTAL

        +
        public static final ExtendedFacing NORTH_COUNTER_CLOCKWISE_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        NORTH_COUNTER_CLOCKWISE_VERTICAL

        +
        public static final ExtendedFacing NORTH_COUNTER_CLOCKWISE_VERTICAL
        +
      • +
      + + + +
        +
      • +

        NORTH_COUNTER_CLOCKWISE_BOTH

        +
        public static final ExtendedFacing NORTH_COUNTER_CLOCKWISE_BOTH
        +
      • +
      + + + +
        +
      • +

        SOUTH_NORMAL_NONE

        +
        public static final ExtendedFacing SOUTH_NORMAL_NONE
        +
      • +
      + + + +
        +
      • +

        SOUTH_NORMAL_HORIZONTAL

        +
        public static final ExtendedFacing SOUTH_NORMAL_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        SOUTH_NORMAL_VERTICAL

        +
        public static final ExtendedFacing SOUTH_NORMAL_VERTICAL
        +
      • +
      + + + +
        +
      • +

        SOUTH_NORMAL_BOTH

        +
        public static final ExtendedFacing SOUTH_NORMAL_BOTH
        +
      • +
      + + + +
        +
      • +

        SOUTH_CLOCKWISE_NONE

        +
        public static final ExtendedFacing SOUTH_CLOCKWISE_NONE
        +
      • +
      + + + +
        +
      • +

        SOUTH_CLOCKWISE_HORIZONTAL

        +
        public static final ExtendedFacing SOUTH_CLOCKWISE_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        SOUTH_CLOCKWISE_VERTICAL

        +
        public static final ExtendedFacing SOUTH_CLOCKWISE_VERTICAL
        +
      • +
      + + + +
        +
      • +

        SOUTH_CLOCKWISE_BOTH

        +
        public static final ExtendedFacing SOUTH_CLOCKWISE_BOTH
        +
      • +
      + + + +
        +
      • +

        SOUTH_UPSIDE_DOWN_NONE

        +
        public static final ExtendedFacing SOUTH_UPSIDE_DOWN_NONE
        +
      • +
      + + + +
        +
      • +

        SOUTH_UPSIDE_DOWN_HORIZONTAL

        +
        public static final ExtendedFacing SOUTH_UPSIDE_DOWN_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        SOUTH_UPSIDE_DOWN_VERTICAL

        +
        public static final ExtendedFacing SOUTH_UPSIDE_DOWN_VERTICAL
        +
      • +
      + + + +
        +
      • +

        SOUTH_UPSIDE_DOWN_BOTH

        +
        public static final ExtendedFacing SOUTH_UPSIDE_DOWN_BOTH
        +
      • +
      + + + +
        +
      • +

        SOUTH_COUNTER_CLOCKWISE_NONE

        +
        public static final ExtendedFacing SOUTH_COUNTER_CLOCKWISE_NONE
        +
      • +
      + + + +
        +
      • +

        SOUTH_COUNTER_CLOCKWISE_HORIZONTAL

        +
        public static final ExtendedFacing SOUTH_COUNTER_CLOCKWISE_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        SOUTH_COUNTER_CLOCKWISE_VERTICAL

        +
        public static final ExtendedFacing SOUTH_COUNTER_CLOCKWISE_VERTICAL
        +
      • +
      + + + +
        +
      • +

        SOUTH_COUNTER_CLOCKWISE_BOTH

        +
        public static final ExtendedFacing SOUTH_COUNTER_CLOCKWISE_BOTH
        +
      • +
      + + + +
        +
      • +

        WEST_NORMAL_NONE

        +
        public static final ExtendedFacing WEST_NORMAL_NONE
        +
      • +
      + + + +
        +
      • +

        WEST_NORMAL_HORIZONTAL

        +
        public static final ExtendedFacing WEST_NORMAL_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        WEST_NORMAL_VERTICAL

        +
        public static final ExtendedFacing WEST_NORMAL_VERTICAL
        +
      • +
      + + + +
        +
      • +

        WEST_NORMAL_BOTH

        +
        public static final ExtendedFacing WEST_NORMAL_BOTH
        +
      • +
      + + + +
        +
      • +

        WEST_CLOCKWISE_NONE

        +
        public static final ExtendedFacing WEST_CLOCKWISE_NONE
        +
      • +
      + + + +
        +
      • +

        WEST_CLOCKWISE_HORIZONTAL

        +
        public static final ExtendedFacing WEST_CLOCKWISE_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        WEST_CLOCKWISE_VERTICAL

        +
        public static final ExtendedFacing WEST_CLOCKWISE_VERTICAL
        +
      • +
      + + + +
        +
      • +

        WEST_CLOCKWISE_BOTH

        +
        public static final ExtendedFacing WEST_CLOCKWISE_BOTH
        +
      • +
      + + + +
        +
      • +

        WEST_UPSIDE_DOWN_NONE

        +
        public static final ExtendedFacing WEST_UPSIDE_DOWN_NONE
        +
      • +
      + + + +
        +
      • +

        WEST_UPSIDE_DOWN_HORIZONTAL

        +
        public static final ExtendedFacing WEST_UPSIDE_DOWN_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        WEST_UPSIDE_DOWN_VERTICAL

        +
        public static final ExtendedFacing WEST_UPSIDE_DOWN_VERTICAL
        +
      • +
      + + + +
        +
      • +

        WEST_UPSIDE_DOWN_BOTH

        +
        public static final ExtendedFacing WEST_UPSIDE_DOWN_BOTH
        +
      • +
      + + + +
        +
      • +

        WEST_COUNTER_CLOCKWISE_NONE

        +
        public static final ExtendedFacing WEST_COUNTER_CLOCKWISE_NONE
        +
      • +
      + + + +
        +
      • +

        WEST_COUNTER_CLOCKWISE_HORIZONTAL

        +
        public static final ExtendedFacing WEST_COUNTER_CLOCKWISE_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        WEST_COUNTER_CLOCKWISE_VERTICAL

        +
        public static final ExtendedFacing WEST_COUNTER_CLOCKWISE_VERTICAL
        +
      • +
      + + + +
        +
      • +

        WEST_COUNTER_CLOCKWISE_BOTH

        +
        public static final ExtendedFacing WEST_COUNTER_CLOCKWISE_BOTH
        +
      • +
      + + + +
        +
      • +

        EAST_NORMAL_NONE

        +
        public static final ExtendedFacing EAST_NORMAL_NONE
        +
      • +
      + + + +
        +
      • +

        EAST_NORMAL_HORIZONTAL

        +
        public static final ExtendedFacing EAST_NORMAL_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        EAST_NORMAL_VERTICAL

        +
        public static final ExtendedFacing EAST_NORMAL_VERTICAL
        +
      • +
      + + + +
        +
      • +

        EAST_NORMAL_BOTH

        +
        public static final ExtendedFacing EAST_NORMAL_BOTH
        +
      • +
      + + + +
        +
      • +

        EAST_CLOCKWISE_NONE

        +
        public static final ExtendedFacing EAST_CLOCKWISE_NONE
        +
      • +
      + + + +
        +
      • +

        EAST_CLOCKWISE_HORIZONTAL

        +
        public static final ExtendedFacing EAST_CLOCKWISE_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        EAST_CLOCKWISE_VERTICAL

        +
        public static final ExtendedFacing EAST_CLOCKWISE_VERTICAL
        +
      • +
      + + + +
        +
      • +

        EAST_CLOCKWISE_BOTH

        +
        public static final ExtendedFacing EAST_CLOCKWISE_BOTH
        +
      • +
      + + + +
        +
      • +

        EAST_UPSIDE_DOWN_NONE

        +
        public static final ExtendedFacing EAST_UPSIDE_DOWN_NONE
        +
      • +
      + + + +
        +
      • +

        EAST_UPSIDE_DOWN_HORIZONTAL

        +
        public static final ExtendedFacing EAST_UPSIDE_DOWN_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        EAST_UPSIDE_DOWN_VERTICAL

        +
        public static final ExtendedFacing EAST_UPSIDE_DOWN_VERTICAL
        +
      • +
      + + + +
        +
      • +

        EAST_UPSIDE_DOWN_BOTH

        +
        public static final ExtendedFacing EAST_UPSIDE_DOWN_BOTH
        +
      • +
      + + + +
        +
      • +

        EAST_COUNTER_CLOCKWISE_NONE

        +
        public static final ExtendedFacing EAST_COUNTER_CLOCKWISE_NONE
        +
      • +
      + + + +
        +
      • +

        EAST_COUNTER_CLOCKWISE_HORIZONTAL

        +
        public static final ExtendedFacing EAST_COUNTER_CLOCKWISE_HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        EAST_COUNTER_CLOCKWISE_VERTICAL

        +
        public static final ExtendedFacing EAST_COUNTER_CLOCKWISE_VERTICAL
        +
      • +
      + + + +
        +
      • +

        EAST_COUNTER_CLOCKWISE_BOTH

        +
        public static final ExtendedFacing EAST_COUNTER_CLOCKWISE_BOTH
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Field Detail

      + + + + + + + + + + + +
        +
      • +

        FOR_FACING

        +
        public static final Map<net.minecraftforge.common.util.ForgeDirection,List<ExtendedFacing>> FOR_FACING
        +
      • +
      + + + +
        +
      • +

        STATES_COUNT

        +
        public static final int STATES_COUNT
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ExtendedFacing[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ExtendedFacing c : ExtendedFacing.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ExtendedFacing valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        of

        +
        public static ExtendedFacing of(net.minecraftforge.common.util.ForgeDirection direction,
        +                                Rotation rotation,
        +                                Flip flip)
        +
      • +
      + + + +
        +
      • +

        of

        +
        public static ExtendedFacing of(net.minecraftforge.common.util.ForgeDirection direction)
        +
      • +
      + + + +
        +
      • +

        getAllWith

        +
        public static com.google.common.collect.ImmutableSet<ExtendedFacing> getAllWith(net.minecraftforge.common.util.ForgeDirection direction)
        +
      • +
      + + + +
        +
      • +

        getAllWith

        +
        public static com.google.common.collect.ImmutableSet<ExtendedFacing> getAllWith(Rotation rotation)
        +
      • +
      + + + +
        +
      • +

        getAllWith

        +
        public static com.google.common.collect.ImmutableSet<ExtendedFacing> getAllWith(Flip flip)
        +
      • +
      + + + +
        +
      • +

        with

        +
        public ExtendedFacing with(net.minecraftforge.common.util.ForgeDirection direction)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getOppositeDirection

        +
        public ExtendedFacing getOppositeDirection()
        +
      • +
      + + + +
        +
      • +

        getOppositeRotation

        +
        public ExtendedFacing getOppositeRotation()
        +
      • +
      + + + + + + + +
        +
      • +

        getDuplicate

        +
        public ExtendedFacing getDuplicate()
        +
        Gets the same effective facing achieved by different rot/flip combo
        +
        +
        Returns:
        +
        same effective facing, but different enum value
        +
        +
      • +
      + + + +
        +
      • +

        getIndex

        +
        public int getIndex()
        +
      • +
      + + + +
        +
      • +

        getName2

        +
        public String getName2()
        +
      • +
      + + + +
        +
      • +

        getLocalizedName

        +
        public String getLocalizedName()
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        getDirection

        +
        public net.minecraftforge.common.util.ForgeDirection getDirection()
        +
      • +
      + + + +
        +
      • +

        getRotation

        +
        public Rotation getRotation()
        +
      • +
      + + + +
        +
      • +

        getFlip

        +
        public Flip getFlip()
        +
      • +
      + + + +
        +
      • +

        getWorldOffset

        +
        public Vec3 getWorldOffset(Vec3 abcOffset)
        +
        Translates relative to front facing offset to world offset
        +
        +
        Parameters:
        +
        abcOffset - A,B,C offset (facing relative L-->R,U-->D,F-->B)
        +
        Returns:
        +
        X, Y, Z offset in world
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getWorldOffset

        +
        public void getWorldOffset(int[] point,
        +                           int[] out)
        +
      • +
      + + + +
        +
      • +

        getWorldOffset

        +
        public void getWorldOffset(double[] point,
        +                           double[] out)
        +
      • +
      + + + +
        +
      • +

        getWorldDirection

        +
        public net.minecraftforge.common.util.ForgeDirection getWorldDirection(net.minecraftforge.common.util.ForgeDirection abcDirection)
        +
        do note the ABC coordinate system is (X, -Y, Z).
        +
      • +
      + + + +
        +
      • +

        getOffsetABC

        +
        public Vec3 getOffsetABC(Vec3 xyzOffset)
        +
        Translates world offset to relative front facing offset
        +
        +
        Parameters:
        +
        xyzOffset - X,Y,Z offset in world
        +
        Returns:
        +
        A, B, C offset (facing relative L-->R,U-->D,F-->B)
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getOffsetABC

        +
        public void getOffsetABC(int[] point,
        +                         int[] out)
        +
      • +
      + + + +
        +
      • +

        getOffsetABC

        +
        public void getOffsetABC(double[] point,
        +                         double[] out)
        +
      • +
      + + + + + + + +
        +
      • +

        getRelativeLeftInWorld

        +
        public net.minecraftforge.common.util.ForgeDirection getRelativeLeftInWorld()
        +
      • +
      + + + +
        +
      • +

        getRelativeRightInWorld

        +
        public net.minecraftforge.common.util.ForgeDirection getRelativeRightInWorld()
        +
      • +
      + + + +
        +
      • +

        getRelativeDownInWorld

        +
        public net.minecraftforge.common.util.ForgeDirection getRelativeDownInWorld()
        +
      • +
      + + + +
        +
      • +

        getRelativeUpInWorld

        +
        public net.minecraftforge.common.util.ForgeDirection getRelativeUpInWorld()
        +
      • +
      + + + +
        +
      • +

        getRelativeBackInWorld

        +
        public net.minecraftforge.common.util.ForgeDirection getRelativeBackInWorld()
        +
      • +
      + + + +
        +
      • +

        getRelativeForwardInWorld

        +
        public net.minecraftforge.common.util.ForgeDirection getRelativeForwardInWorld()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html new file mode 100644 index 00000000..97e4b44c --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html @@ -0,0 +1,559 @@ + + + + + +Flip (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment.enumerable
+

Enum Flip

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        NONE

        +
        public static final Flip NONE
        +
      • +
      + + + +
        +
      • +

        HORIZONTAL

        +
        public static final Flip HORIZONTAL
        +
      • +
      + + + +
        +
      • +

        VERTICAL

        +
        public static final Flip VERTICAL
        +
      • +
      + + + +
        +
      • +

        BOTH

        +
        public static final Flip BOTH
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        VALUES

        +
        public static final Flip[] VALUES
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Flip[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (Flip c : Flip.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Flip valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getIndex

        +
        public int getIndex()
        +
      • +
      + + + +
        +
      • +

        getOpposite

        +
        public Flip getOpposite()
        +
      • +
      + + + +
        +
      • +

        getName2

        +
        public String getName2()
        +
      • +
      + + + +
        +
      • +

        byName

        +
        public static Flip byName(String name)
        +
      • +
      + + + +
        +
      • +

        byIndex

        +
        public static Flip byIndex(int index)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getName

        +
        public String getName()
        +
      • +
      + + + +
        +
      • +

        isNotFlipped

        +
        public boolean isNotFlipped()
        +
      • +
      + + + +
        +
      • +

        isBothFlipped

        +
        public boolean isBothFlipped()
        +
      • +
      + + + +
        +
      • +

        isHorizontallyFlipped

        +
        public boolean isHorizontallyFlipped()
        +
      • +
      + + + +
        +
      • +

        isVerticallyFliped

        +
        public boolean isVerticallyFliped()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html new file mode 100644 index 00000000..842c4e24 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html @@ -0,0 +1,559 @@ + + + + + +Rotation (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.alignment.enumerable
+

Enum Rotation

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        NORMAL

        +
        public static final Rotation NORMAL
        +
      • +
      + + + +
        +
      • +

        CLOCKWISE

        +
        public static final Rotation CLOCKWISE
        +
      • +
      + + + +
        +
      • +

        UPSIDE_DOWN

        +
        public static final Rotation UPSIDE_DOWN
        +
      • +
      + + + +
        +
      • +

        COUNTER_CLOCKWISE

        +
        public static final Rotation COUNTER_CLOCKWISE
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        VALUES

        +
        public static final Rotation[] VALUES
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Rotation[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (Rotation c : Rotation.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Rotation valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getIndex

        +
        public int getIndex()
        +
      • +
      + + + +
        +
      • +

        getOpposite

        +
        public Rotation getOpposite()
        +
      • +
      + + + +
        +
      • +

        getName2

        +
        public String getName2()
        +
      • +
      + + + + + + + +
        +
      • +

        byIndex

        +
        public static Rotation byIndex(int index)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getName

        +
        public String getName()
        +
      • +
      + + + +
        +
      • +

        isNotRotated

        +
        public boolean isNotRotated()
        +
      • +
      + + + +
        +
      • +

        isClockwise

        +
        public boolean isClockwise()
        +
      • +
      + + + +
        +
      • +

        isCounterClockwise

        +
        public boolean isCounterClockwise()
        +
      • +
      + + + +
        +
      • +

        isUpsideDown

        +
        public boolean isUpsideDown()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/package-frame.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/package-frame.html new file mode 100644 index 00000000..1ec9ab9c --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/package-frame.html @@ -0,0 +1,22 @@ + + + + + +com.gtnewhorizon.structurelib.alignment.enumerable (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + +

com.gtnewhorizon.structurelib.alignment.enumerable

+
+

Enums

+ +
+ + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/package-summary.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/package-summary.html new file mode 100644 index 00000000..9c7d6ed4 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/package-summary.html @@ -0,0 +1,151 @@ + + + + + +com.gtnewhorizon.structurelib.alignment.enumerable (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Package com.gtnewhorizon.structurelib.alignment.enumerable

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/package-tree.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/package-tree.html new file mode 100644 index 00000000..75e43415 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/enumerable/package-tree.html @@ -0,0 +1,141 @@ + + + + + +com.gtnewhorizon.structurelib.alignment.enumerable Class Hierarchy (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.gtnewhorizon.structurelib.alignment.enumerable

+Package Hierarchies: + +
+
+

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/package-frame.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/package-frame.html new file mode 100644 index 00000000..5b4064ca --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/package-frame.html @@ -0,0 +1,27 @@ + + + + + +com.gtnewhorizon.structurelib.alignment (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + +

com.gtnewhorizon.structurelib.alignment

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/package-summary.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/package-summary.html new file mode 100644 index 00000000..bd9a130c --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/package-summary.html @@ -0,0 +1,182 @@ + + + + + +com.gtnewhorizon.structurelib.alignment (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Package com.gtnewhorizon.structurelib.alignment

+
+
This package provide a framework for rotating a given block, or a multiblock structure.
+
+

See: Description

+
+
+ + + + +

Package com.gtnewhorizon.structurelib.alignment Description

+
This package provide a framework for rotating a given block, or a multiblock structure. +

+ All public stuff in this package and its subpackages are considered part of the public API. + Backwards compatibility is maintained to the maximum extend possible.

+
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/package-tree.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/package-tree.html new file mode 100644 index 00000000..8a07904e --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/alignment/package-tree.html @@ -0,0 +1,149 @@ + + + + + +com.gtnewhorizon.structurelib.alignment Class Hierarchy (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.gtnewhorizon.structurelib.alignment

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/package-frame.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/package-frame.html new file mode 100644 index 00000000..d80f62fb --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/package-frame.html @@ -0,0 +1,21 @@ + + + + + +com.gtnewhorizon.structurelib (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + +

com.gtnewhorizon.structurelib

+
+

Classes

+ +
+ + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/package-summary.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/package-summary.html new file mode 100644 index 00000000..883c75d0 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/package-summary.html @@ -0,0 +1,154 @@ + + + + + +com.gtnewhorizon.structurelib (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Package com.gtnewhorizon.structurelib

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/package-tree.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/package-tree.html new file mode 100644 index 00000000..5c76392d --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/package-tree.html @@ -0,0 +1,143 @@ + + + + + +com.gtnewhorizon.structurelib Class Hierarchy (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.gtnewhorizon.structurelib

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html new file mode 100644 index 00000000..166bcca0 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html @@ -0,0 +1,368 @@ + + + + + +AutoPlaceEnvironment.APILevel (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Enum AutoPlaceEnvironment.APILevel

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html new file mode 100644 index 00000000..e9eeb594 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html @@ -0,0 +1,468 @@ + + + + + +AutoPlaceEnvironment (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Class AutoPlaceEnvironment

+
+
+ +
+
    +
  • +
    +
    +
    public class AutoPlaceEnvironment
    +extends Object
    +
    Represent the environment in which autoplace of a single element took place.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        getSource

        +
        public IItemSource getSource()
        +
        From where survival autoplace will drain resources.
        +
      • +
      + + + + + + + +
        +
      • +

        getChatter

        +
        public Consumer<IChatComponent> getChatter()
        +
        send error messages here. Caller will choose an appropriate way to forward it to player if the other fallbacks + also fails.
        +
      • +
      + + + +
        +
      • +

        isContainedInPiece

        +
        public boolean isContainedInPiece(int offsetA,
        +                                  int offsetB,
        +                                  int offsetC)
        +
        Test if given location is contained within the current piece.
        +
        +
        Parameters:
        +
        offsetA - offset in A direction relative to current element
        +
        offsetB - offset in B direction relative to current element
        +
        offsetC - offset in C direction relative to current element
        +
        Returns:
        +
        true if contained, false otherwise.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        withSource

        +
        public AutoPlaceEnvironment withSource(IItemSource source)
        +
        Return a new instance with source modified to given value.
        +
        +
        Parameters:
        +
        source - new source
        +
        Returns:
        +
        new instance
        +
        +
      • +
      + + + +
        +
      • +

        withActor

        +
        public AutoPlaceEnvironment withActor(EntityPlayer actor)
        +
        Return a new instance with actor modified to given value.
        +
        +
        Parameters:
        +
        actor - new actor
        +
        Returns:
        +
        new instance
        +
        +
      • +
      + + + +
        +
      • +

        withChatter

        +
        public AutoPlaceEnvironment withChatter(Consumer<IChatComponent> chatter)
        +
        Return a new instance with chatter modified to given value.
        +
        +
        Parameters:
        +
        chatter - new chatter
        +
        Returns:
        +
        new instance
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IBlockPosConsumer.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IBlockPosConsumer.html new file mode 100644 index 00000000..0c42d682 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IBlockPosConsumer.html @@ -0,0 +1,224 @@ + + + + + +IBlockPosConsumer (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Interface IBlockPosConsumer

+
+
+
+
    +
  • +
    +
    +
    public interface IBlockPosConsumer
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        consume

        +
        void consume(World world,
        +             int x,
        +             int y,
        +             int z)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ICustomBlockSetting.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ICustomBlockSetting.html new file mode 100644 index 00000000..5d8bfbc5 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ICustomBlockSetting.html @@ -0,0 +1,239 @@ + + + + + +ICustomBlockSetting (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Interface ICustomBlockSetting

+
+
+
+
    +
  • +
    +
    +
    public interface ICustomBlockSetting
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setBlock

        +
        void setBlock(World world,
        +              int x,
        +              int y,
        +              int z,
        +              int meta)
        +
        Default block setting calls World.setBlock(int x, int y, int z, Block block, int meta, int updateType) like: + world.setBlock(x,y,z,this/block,meta,2) where updateType 2 means to update lighting and stuff
        +
        +
        Parameters:
        +
        world - world that should be affected
        +
        x - x position to set
        +
        y - y position to set
        +
        z - z position to set
        +
        meta - required meta
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IItemSource.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IItemSource.html new file mode 100644 index 00000000..21c7850a --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IItemSource.html @@ -0,0 +1,393 @@ + + + + + +IItemSource (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Interface IItemSource

+
+
+
+
    +
  • +
    +
    +
    public interface IItemSource
    +
    Represent an item source. Take only, cannot be placed back.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        take

        +
        @Nonnull
        +Map<ItemStack,Integer> take(Predicate<ItemStack> predicate,
        +                                     boolean simulate,
        +                                     int count)
        +
        Retrieve some amount of items from this item source matching given filter. +

        + We probably don't need to get a lot of items from this method, + so I don't care about the overhead of storing all fetched items even if downstream code doesn't need it

        +
        +
        Parameters:
        +
        predicate - filtering predicate. should return true for ItemStacks that should be added to result collection
        +
        simulate - whether to actually commit the modification. true for dry run, false otherwise.
        +
        count - how many items to extract.
        +
        Returns:
        +
        A nonnull map reflecting the result of extraction. Note this map is NBT and metadata aware.
        +
        +
      • +
      + + + +
        +
      • +

        takeOne

        +
        default ItemStack takeOne(Predicate<ItemStack> predicate,
        +                          boolean simulate)
        +
        Take exactly one item that matches the predicate.
        +
        +
        Parameters:
        +
        predicate - filtering predicate. should return true for ItemStacks that should be added to result collection
        +
        simulate - whether to actually commit the modification. true for dry run, false otherwise.
        +
        Returns:
        +
        item stack, or null if none matches
        +
        Throws:
        +
        IllegalArgumentException - if given predicate is null.
        +
        +
      • +
      + + + +
        +
      • +

        takeAll

        +
        default boolean takeAll(Predicate<ItemStack> predicate,
        +                        boolean simulate,
        +                        int count)
        +
        Take exactly count amount of items matching predicate.
        +
        +
        Parameters:
        +
        predicate - filtering predicate. should return true for ItemStacks that should be added to result collection
        +
        simulate - whether to actually commit the modification. true for dry run, false otherwise.
        +
        count - how many items to extract.
        +
        Returns:
        +
        true if at least count amount of items can be/is taken.
        +
        Throws:
        +
        IllegalArgumentException - if given predicate is null
        +
        +
      • +
      + + + +
        +
      • +

        takeOne

        +
        default boolean takeOne(ItemStack stack,
        +                        boolean simulate)
        +
        Take exactly one item. ItemStack given must have a stack size of 1. +

        + This is meant to be an optimized version of takeOne(Predicate, boolean). + Implementations that support item storage indexed by ItemStack can use this to speed up calculation.

        +
        +
        Parameters:
        +
        stack - what item to extract. The NBT tag of this ItemStack is siginifcant and will be + considered during matching. must have a stack size of 1.
        +
        simulate - whether to actually commit the modification. true for dry run, false otherwise.
        +
        Returns:
        +
        true if found. false otherwise
        +
        Throws:
        +
        IllegalArgumentException - if given stack is invalid, or has a stack size other than 1.
        +
        +
      • +
      + + + +
        +
      • +

        takeAll

        +
        default boolean takeAll(ItemStack stack,
        +                        boolean simulate)
        +
        Take some item. Will not take item if it cannot find enough items to take. +

        + This is meant to be an optimized version of takeOne(Predicate, boolean). + Implementations that support indexing off ItemStack can use this to speed up calculation.

        +
        +
        Parameters:
        +
        stack - what item and how many to extract. The NBT tag of this ItemStack is siginifcant and will be + considered during matching
        +
        simulate - whether to actually commit the modification. true for dry run, false otherwise.
        +
        Returns:
        +
        true if enough item can be/has been extracted. false otherwise
        +
        Throws:
        +
        IllegalArgumentException - if given stack is invalid
        +
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ISpecialItemBlock.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ISpecialItemBlock.html new file mode 100644 index 00000000..ad700b18 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ISpecialItemBlock.html @@ -0,0 +1,220 @@ + + + + + +ISpecialItemBlock (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Interface ISpecialItemBlock

+
+
+
+
    +
  • +
    +
    +
    public interface ISpecialItemBlock
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getItemMetaFromBlockMeta

        +
        int getItemMetaFromBlockMeta(Block block,
        +                             int blockMeta)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureDefinition.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureDefinition.html new file mode 100644 index 00000000..7a24edb6 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureDefinition.html @@ -0,0 +1,735 @@ + + + + + +IStructureDefinition (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Interface IStructureDefinition<T>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - Type of the context object. Usually this will be the multiblock controller.
    +
    +
    +
    All Known Implementing Classes:
    +
    StructureDefinition
    +
    +
    +
    +
    public interface IStructureDefinition<T>
    +
    This is the structure definition of your multi. You will have one of these for each multi. + +

    Cache the instances of this class

    +

    + You will construct this definition once per multi, either at class load or at first call to your variant of getStructureDefinition(). + You can use a ClassValue<IStructureDefinition<?>> if you have a template for subclass. + You can also use defer() or its overloads for simpler cases, but it is + slightly less performant as it will allocate new objects on each structure check, whereas ClassValue will + allocate once and cache it onwards. +

    +

    Constructing

    +

    + IStructureDefinition is constructed using builder() +

    + Builder has two main methods: +

      +
    • addShape() + is a 2d string array describing the layout of structure. You can optionally use `StructureUtility#transpose()` + to transpose the array to make the structure look nicer in source code. +
    • addElement(). It takes a char identifier (mapped to a char in any of addShape() calls) and a IStructureElement. +
    +

    Position A, B and C

    + + Imagine you stand in front of the controller, with controller facing towards you not rotated or flipped. +
      +
    • The "A" position would be the number of blocks on the left side of the controller, not counting controller itself.
    • +
    • The "B" position would be the number of blocks on the top side of the controller, not counting controller itself.
    • +
    • The "C" position would be the number of blocks between you and controller, not counting controller itself.
    • +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getStructureFor

        +
        IStructureElement<T>[] getStructureFor(String name)
        +
        Used internally +

        + Might, but is not required, to throw NoSuchElementException if the given structure piece is not found.

        +
        +
        Parameters:
        +
        name - same name as for other methods here
        +
        Returns:
        +
        the array of elements to process
        +
        Throws:
        +
        NoSuchElementException - if the given structure piece is not found and the moon phase perfectly matches
        +
        +
      • +
      + + + +
        +
      • +

        isContainedInStructure

        +
        boolean isContainedInStructure(String name,
        +                               int offsetA,
        +                               int offsetB,
        +                               int offsetC)
        +
      • +
      + + + + + +
        +
      • +

        check

        +
        default boolean check(T object,
        +                      String piece,
        +                      World world,
        +                      ExtendedFacing extendedFacing,
        +                      int basePositionX,
        +                      int basePositionY,
        +                      int basePositionZ,
        +                      int basePositionA,
        +                      int basePositionB,
        +                      int basePositionC,
        +                      boolean forceCheckAllBlocks)
        +
        Run a structure check.
        +
        +
        Parameters:
        +
        object - context object. usually multiblock controller.
        +
        piece - the structure piece's string identifier.
        +
        world - the world object this check takes place in.
        +
        extendedFacing - the current structure's orientation.
        +
        basePositionX - X location of the structure
        +
        basePositionY - Y location of the structure
        +
        basePositionZ - Z location of the structure
        +
        basePositionA - see class javadoc
        +
        basePositionB - see class javadoc
        +
        basePositionC - see class javadoc
        +
        forceCheckAllBlocks - check all location even if chunk not currently loaded.
        +
        Returns:
        +
        true if successful, false otherwise
        +
        +
      • +
      + + + + + +
        +
      • +

        hints

        +
        default boolean hints(T object,
        +                      ItemStack trigger,
        +                      String piece,
        +                      World world,
        +                      ExtendedFacing extendedFacing,
        +                      int basePositionX,
        +                      int basePositionY,
        +                      int basePositionZ,
        +                      int basePositionA,
        +                      int basePositionB,
        +                      int basePositionC)
        +
        Spawn hint particles. Should not be called on server side.
        +
        +
        Parameters:
        +
        object - context object. usually multiblock controller.
        +
        piece - the structure piece's string identifier.
        +
        world - the world object this check takes place in.
        +
        extendedFacing - the current structure's orientation.
        +
        basePositionX - X location of the structure
        +
        basePositionY - Y location of the structure
        +
        basePositionZ - Z location of the structure
        +
        basePositionA - see class javadoc
        +
        basePositionB - see class javadoc
        +
        basePositionC - see class javadoc
        +
        Returns:
        +
        true if successful, false otherwise
        +
        +
      • +
      + + + + + +
        +
      • +

        build

        +
        default boolean build(T object,
        +                      ItemStack trigger,
        +                      String piece,
        +                      World world,
        +                      ExtendedFacing extendedFacing,
        +                      int basePositionX,
        +                      int basePositionY,
        +                      int basePositionZ,
        +                      int basePositionA,
        +                      int basePositionB,
        +                      int basePositionC)
        +
        Build the multi in creative mode on a best-effort basis. Does not guarantee the structure is correct after a + successful call.
        +
        +
        Parameters:
        +
        object - context object. usually multiblock controller.
        +
        trigger - The trigger item that contains channel data.
        +
        piece - the structure piece's string identifier.
        +
        world - the world object this check takes place in.
        +
        extendedFacing - the current structure's orientation.
        +
        basePositionX - X location of the structure
        +
        basePositionY - Y location of the structure
        +
        basePositionZ - Z location of the structure
        +
        basePositionA - see class javadoc
        +
        basePositionB - see class javadoc
        +
        basePositionC - see class javadoc
        +
        Returns:
        +
        true if sucessful, false otherwise
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        survivalBuild

        +
        @Deprecated
        +default int survivalBuild(T object,
        +                                      ItemStack trigger,
        +                                      String piece,
        +                                      World world,
        +                                      ExtendedFacing extendedFacing,
        +                                      int basePositionX,
        +                                      int basePositionY,
        +                                      int basePositionZ,
        +                                      int basePositionA,
        +                                      int basePositionB,
        +                                      int basePositionC,
        +                                      int elementBudget,
        +                                      IItemSource source,
        +                                      EntityPlayerMP actor,
        +                                      boolean check)
        +
        Deprecated. 
        +
        Cause a survival build.
        +
        +
        Parameters:
        +
        object - context object. usually multiblock controller.
        +
        trigger - The trigger item that contains channel data.
        +
        piece - the structure piece's string identifier.
        +
        world - the world object this check takes place in.
        +
        extendedFacing - the current structure's orientation.
        +
        basePositionX - X location of the structure
        +
        basePositionY - Y location of the structure
        +
        basePositionZ - Z location of the structure
        +
        basePositionA - see class javadoc
        +
        basePositionB - see class javadoc
        +
        basePositionC - see class javadoc
        +
        elementBudget - build up to this many elements
        +
        source - from where to drain resource
        +
        actor - source of action
        +
        check - whether IStructureElement.check(Object, World, int, int, int) should be called if anything + would be placed. use with caution. + if in doubt, call check(Object, String, World, ExtendedFacing, int, int, int, int, int, int, boolean) + after this call and set this parameter to false
        +
        Returns:
        +
        number of elements built, or -1 if structure done
        +
        See Also:
        +
        build(Object, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int)
        +
        +
      • +
      + + + + + +
        +
      • +

        survivalBuild

        +
        default int survivalBuild(T object,
        +                          ItemStack trigger,
        +                          String piece,
        +                          World world,
        +                          ExtendedFacing extendedFacing,
        +                          int basePositionX,
        +                          int basePositionY,
        +                          int basePositionZ,
        +                          int basePositionA,
        +                          int basePositionB,
        +                          int basePositionC,
        +                          int elementBudget,
        +                          ISurvivalBuildEnvironment env,
        +                          boolean check)
        +
        Cause a survival build.
        +
        +
        Parameters:
        +
        object - context object. usually multiblock controller.
        +
        trigger - The trigger item that contains channel data.
        +
        piece - the structure piece's string identifier.
        +
        world - the world object this check takes place in.
        +
        extendedFacing - the current structure's orientation.
        +
        basePositionX - X location of the structure
        +
        basePositionY - Y location of the structure
        +
        basePositionZ - Z location of the structure
        +
        basePositionA - see class javadoc
        +
        basePositionB - see class javadoc
        +
        basePositionC - see class javadoc
        +
        elementBudget - build up to this many elements
        +
        env - build environment.
        +
        check - whether IStructureElement.check(Object, World, int, int, int) should be called if anything + would be placed. use with caution. + if in doubt, call check(Object, String, World, ExtendedFacing, int, int, int, int, int, int, boolean) + after this call and set this parameter to false
        +
        Returns:
        +
        number of elements built, or -1 if structure done
        +
        See Also:
        +
        build(Object, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int)
        +
        +
      • +
      + + + + + +
        +
      • +

        iterate

        +
        static <T> boolean iterate(T object,
        +                           ItemStack trigger,
        +                           IStructureElement<T>[] elements,
        +                           World world,
        +                           ExtendedFacing extendedFacing,
        +                           int basePositionX,
        +                           int basePositionY,
        +                           int basePositionZ,
        +                           int basePositionA,
        +                           int basePositionB,
        +                           int basePositionC,
        +                           boolean hintsOnly,
        +                           Boolean checkBlocksIfNotNullForceCheckAllIfTrue)
        +
        Low level utility.
        +
        +
        Type Parameters:
        +
        T - type of context object.
        +
        Parameters:
        +
        object - context object. usually multiblock controller.
        +
        trigger - The trigger item that contains channel data.
        +
        elements - the structure piece
        +
        world - the world object this check takes place in.
        +
        extendedFacing - the current structure's orientation.
        +
        basePositionX - X location of the structure
        +
        basePositionY - Y location of the structure
        +
        basePositionZ - Z location of the structure
        +
        basePositionA - see class javadoc
        +
        basePositionB - see class javadoc
        +
        basePositionC - see class javadoc
        +
        hintsOnly - whether to spawn hints or do creative build. no effect if checkBlocksIfNotNullForceCheckAllIfTrue is not null.
        +
        checkBlocksIfNotNullForceCheckAllIfTrue - creative build or spawn hints if null. Force check not loaded chunk + if true. Check only loaded chunk is false.
        +
        Returns:
        +
        true if iteration completed successfully.
        +
        +
      • +
      + + + +
        +
      • +

        builder

        +
        static <T> StructureDefinition.Builder<T> builder()
        +
        Create a new instance of builder.
        +
        +
        Type Parameters:
        +
        T - type of context object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html new file mode 100644 index 00000000..64715763 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html @@ -0,0 +1,401 @@ + + + + + +IStructureElement.BlocksToPlace (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Class IStructureElement.BlocksToPlace

+
+
+ +
+
    +
  • +
    +
    Enclosing interface:
    +
    IStructureElement<T>
    +
    +
    +
    +
    public static final class IStructureElement.BlocksToPlace
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html new file mode 100644 index 00000000..c8e38a3a --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html @@ -0,0 +1,400 @@ + + + + + +IStructureElement.PlaceResult (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Enum IStructureElement.PlaceResult

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        SKIP

        +
        public static final IStructureElement.PlaceResult SKIP
        +
        This element either exists already, or does not yet have an implementation for survivalPlaceBlock, or + some other unforeseen situations. + TODO this definition doesn't seem right. Should we separate SKIP from EXISTS, or SKIP from ERROR?
        +
      • +
      + + + +
        +
      • +

        REJECT

        +
        public static final IStructureElement.PlaceResult REJECT
        +
        This element's space is occupied by other stuff and require player attention, or player missing required resource, + or the block cannot be placed due to obscure mechanisms, or some other unforeseen situations.
        +
      • +
      + + + +
        +
      • +

        STOP

        +
        public static final IStructureElement.PlaceResult STOP
        +
        Autoplace cannot proceed within this tick. To proceed further would require stopping the placement and wait for next round.
        +
      • +
      + + + + + + + +
        +
      • +

        ACCEPT_STOP

        +
        public static final IStructureElement.PlaceResult ACCEPT_STOP
        +
        Combination of ACCEPT and STOP. +

        + Element placed successfully. To proceed further would require stopping the placement and wait for next round.

        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static IStructureElement.PlaceResult[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (IStructureElement.PlaceResult c : IStructureElement.PlaceResult.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static IStructureElement.PlaceResult valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElement.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElement.html new file mode 100644 index 00000000..51cc1447 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElement.html @@ -0,0 +1,573 @@ + + + + + +IStructureElement (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Interface IStructureElement<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementChain.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementChain.html new file mode 100644 index 00000000..43eb8993 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementChain.html @@ -0,0 +1,488 @@ + + + + + +IStructureElementChain (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Interface IStructureElementChain<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html new file mode 100644 index 00000000..2f9e9653 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html @@ -0,0 +1,396 @@ + + + + + +IStructureElementCheckOnly (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Interface IStructureElementCheckOnly<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementDeferred.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementDeferred.html new file mode 100644 index 00000000..77d3f9d5 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementDeferred.html @@ -0,0 +1,206 @@ + + + + + +IStructureElementDeferred (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Interface IStructureElementDeferred<T>

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    IStructureElement<T>
    +
    +
    +
    +
    public interface IStructureElementDeferred<T>
    +extends IStructureElement<T>
    +
    Use StructureUtility to instantiate
    +
  • +
+
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html new file mode 100644 index 00000000..338f0392 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html @@ -0,0 +1,388 @@ + + + + + +IStructureElementNoPlacement (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Interface IStructureElementNoPlacement<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html new file mode 100644 index 00000000..781edbde --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html @@ -0,0 +1,262 @@ + + + + + +ISurvivalBuildEnvironment (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Interface ISurvivalBuildEnvironment

+
+
+
+
    +
  • +
    +
    +
    public interface ISurvivalBuildEnvironment
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ITierConverter.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ITierConverter.html new file mode 100644 index 00000000..8b3e80fb --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/ITierConverter.html @@ -0,0 +1,230 @@ + + + + + +ITierConverter (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Interface ITierConverter<TIER>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    TIER -
    +
    +
    +
    Functional Interface:
    +
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
    +
    +
    +
    +
    @FunctionalInterface
    +public interface ITierConverter<TIER>
    +
    a function to extract tier info from a block.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        convert

        +
        TIER convert(Block block,
        +             int meta)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IWithExtendedContext.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IWithExtendedContext.html new file mode 100644 index 00000000..12f93d0d --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/IWithExtendedContext.html @@ -0,0 +1,228 @@ + + + + + +IWithExtendedContext (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Interface IWithExtendedContext<CTX>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    CTX - the temporary state context
    +
    +
    +
    +
    public interface IWithExtendedContext<CTX>
    +
    Implement this and use StructureUtility.withContext(IStructureElement) in case you need to record some + temporary states that don't need to live in your main context, which would usually live for the whole lifetime of the + structure than just during structure check. Usually just save some few bytes, but becomes non-trivial if you need to + record too much stuff. +

    + You will have to reset the context yourself though. The API can't guess when the old context becomes invalid.

    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getCurrentContext

        +
        CTX getCurrentContext()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html new file mode 100644 index 00000000..3f3a06f1 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html @@ -0,0 +1,340 @@ + + + + + +StructureDefinition.Builder (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Class StructureDefinition.Builder<T>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/StructureDefinition.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/StructureDefinition.html new file mode 100644 index 00000000..2a257ccb --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/StructureDefinition.html @@ -0,0 +1,364 @@ + + + + + +StructureDefinition (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Class StructureDefinition<T>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/StructureUtility.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/StructureUtility.html new file mode 100644 index 00000000..d88638f6 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/StructureUtility.html @@ -0,0 +1,2662 @@ + + + + + +StructureUtility (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure
+

Class StructureUtility

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        +
      • +

        isAir

        +
        public static <T> IStructureElement<T> isAir()
        +
        Return a structure element that only allow air (or air equivalents, like Railcraft hidden blocks). + You usually don't need to call this yourselves. Use - in shape to automatically use this. + Provided nontheless in case you want this as a fallback to something else.
        +
      • +
      + + + +
        +
      • +

        notAir

        +
        public static <T> IStructureElement<T> notAir()
        +
        Return a structure element that allow anything but air (or air equivalents, like Railcraft hidden blocks). + You usually don't need to call this yourselves. Use + in shape to automatically use this. + Provided nontheless in case you want this as a fallback to something else.
        +
      • +
      + + + +
        +
      • +

        error

        +
        public static <T> IStructureElement<T> error()
        +
        Check returns false. + Placement is always handled by this and does nothing. + Makes little to no use it in fallback chain.
        +
      • +
      + + + + + + + + + + + + + + + + + + + + + + + +
        +
      • +

        ofBlocksTiered

        +
        public static <T,TIER> IStructureElement<T> ofBlocksTiered(ITierConverter<TIER> tierExtractor,
        +                                                           @Nullable
        +                                                           List<org.apache.commons.lang3.tuple.Pair<Block,Integer>> allKnownTiers,
        +                                                           @Nullable
        +                                                           TIER notSet,
        +                                                           BiConsumer<T,TIER> setter,
        +                                                           Function<T,TIER> getter)
        +
        Element representing a component with different tiers. Your multi will accept any of them (as long as + player does not mix them (*)), but would like to know which is used. Player can use more blueprint to get + hints denoting more advanced components. +

        + (*): Implementation wise, this structure element will only accept a block if its tier is the same as existing tier or + if existing tier is unset (i.e. value of third argument) +

        + Above all else, you need to decide what tier you are going to use. For simpler cases, Integer is a good choice. + You can also use an existing Enum. Tier can never be null though. + It can also be a String or a ResourceLocation, or basically anything. + It doesn't even have to implement Comparable. +

        + This assumes you will reset the backing storage, and on the first occurrence getter would return notSet. + You can also make getter to return other value to forcefully select a certain tier, but you're probably better + off using block adders or ofBlock(Block, int, Block, int) and its overloads +

        + Implementation wise, this allows a block only when we don't yet have a tier, or the block at that location has + the same tier as we already have. +

        + There is yet no TileEntity counterpart of this utility. Feel free to submit a PR to add it. +

        + For most typical use cases, you will NOT want to return notSet from your tierExtractor. If you do so, we will + have this kind of chain of events: +

          +
        • at check start, tier is reset to notSet +
        • at first occurrence, ofBlocksTiered finds your current tier is notSet, and the block's tier is notSet, so it's accepted +
        • at 2nd, 3rd..., same thing in 2 happens +
        • at last occurrence, player placed a valid block with a tier not notSet. ofBlocksTiered now sets your current + tier to this tier, and accept the block +
        • check got notified structure is sound, and tier is not notSet. it marks the structure as complete and start doing its business +
        • Player enjoy a (probably) hilariously shaped multi and (probably) reduced build cost. +
        +

        + Example: +

        + Assume you have 16 tier, each map to one block's 16 different meta. You will usually want something like this +

        + public class Tile extends TileEntity {
        +     private static final Block B = getTargetBlock();
        +     private static final IStructureDefinition<Tile> S = IStructureDefinition.<Tile>builder()
        +            // ... addShape, and other elements
        +            .addElement('c', ofBlocksTiered((b, m) -> b == B ? m : null,
        +                                            IntStream.range(0, 16).mapToObj(i -> Pair.of(B, i)).collect(Collectors.toList()),
        +                                            -1,
        +                                            (t, m) -> t.tier = m,
        +                                            t -> t.tier))
        +            .build();
        +     private int tier;
        +
        +     public boolean check() {
        +         tier = -1;
        +         if (!S.check(...))
        +             return false;
        +         return isTierAcceptable(tier);
        +     }
        + }
        + 
        +
        +
        Parameters:
        +
        tierExtractor - a function to extract tier info from a block. + This function can return null and will never be passed a null block or an invalid block meta.
        +
        allKnownTiers - A list of all known tiers as of calling. Can be empty or null. No hint will be spawned if empty or null. Cannot have null elements. + First element denotes the most primitive tier. Last element denotes the most advanced tier. + If not all tiers are available at definition construction time, use lazy(Supplier) or its overloads to delay a bit. + This list is only for hint particle spawning and survival build. + The hint/autoplace code will choose 1st pair to spawn/place if trigger item has master channel data of 1, + 2nd pair if 2, and so on.
        +
        notSet - The value returned from getter when there were no tier info found in T yet. Can be null.
        +
        getter - a function to retrieve the current tier from context object
        +
        setter - a function to set the current tier into context object
        +
        +
      • +
      + + + +
        +
      • +

        ofBlockUnlocalizedName

        +
        public static <T> IStructureElement<T> ofBlockUnlocalizedName(String modid,
        +                                                              String unlocalizedName,
        +                                                              int meta)
        +
        Denote a block using unlocalized names. This can be useful to get around mod loading order issues. +

        + DUE TO HISTORICAL REASONS, THIS WAS CALLED ofBlockUnlocalizedName, BUT IT ACTUALLY USES REGISTRY NAME INSTEAD. +

        + While no immediate error will be thrown, client code should ensure said mod is loaded and + said mod is present, otherwise bad things will happen later!

        +
      • +
      + + + +
        +
      • +

        ofBlockUnlocalizedName

        +
        public static <T> IStructureElement<T> ofBlockUnlocalizedName(String modid,
        +                                                              String registryName,
        +                                                              int meta,
        +                                                              boolean wildcard)
        +
        Denote a block using unlocalized names. This can be useful to get around mod loading order issues. +

        + DUE TO HISTORICAL REASONS, THIS WAS CALLED ofBlockUnlocalizedName, BUT IT ACTUALLY USES REGISTRY NAME INSTEAD. +

        + While no immediate error will be thrown, client code should ensure said mod is loaded and + said mod is present, otherwise the element will effectively become an error(). +

        + Will place block or hint using the given meta if wildcard is true.

        +
      • +
      + + + +
        +
      • +

        ofBlockUnlocalizedName

        +
        public static <T> IStructureElement<T> ofBlockUnlocalizedName(String modid,
        +                                                              String unlocalizedName,
        +                                                              int meta,
        +                                                              IStructureElement<T> fallback)
        +
        Similiar to the other overload, but allows client code to specify a fallback in case said block was not found later + when the element got called. +

        + DUE TO HISTORICAL REASONS, THIS WAS CALLED ofBlockUnlocalizedName, BUT IT ACTUALLY USES REGISTRY NAME INSTEAD. +

        + This is slightly different to using the other overload and another element in a ofChain(IStructureElement[]). + Here fallback will only ever be used if this fails, where ofChain would form an OR relationship even if the mod + is loaded and the block exists in registry.

        +
      • +
      + + + + + + + + + + + +
        +
      • +

        ofBlockHint

        +
        public static <T> IStructureElementNoPlacement<T> ofBlockHint(Block block,
        +                                                              int meta,
        +                                                              Block hintBlock,
        +                                                              int hintMeta)
        +
        Accept one (block, meta). Spawn hint particles using an alternative block and meta. Not very useful...
        +
      • +
      + + + + + + + +
        +
      • +

        ofBlockAdderHint

        +
        public static <T> IStructureElementNoPlacement<T> ofBlockAdderHint(IBlockAdder<T> iBlockAdder,
        +                                                                   Block hintBlock,
        +                                                                   int hintMeta)
        +
        Add a block using block adder. Spawn hints using given hint block and meta. +

        + Useful when your logic is very complex. Does not support autoplace.

        +
      • +
      + + + +
        +
      • +

        ofBlocksFlat

        +
        public static <T> IStructureElement<T> ofBlocksFlat(Map<Block,Integer> blocsMap,
        +                                                    Block defaultBlock,
        +                                                    int defaultMeta)
        +
        Accept a set of blocks. Less cumbersome to use than ofBlocksMap(Map, Block, int) when for any accepted + block type we accept only one meta for each.
        +
        +
        Parameters:
        +
        blocsMap - Accepted (block, meta) pairs.
        +
        defaultBlock - default block to place/spawn hint
        +
        defaultMeta - default meta to place/spawn hint
        +
        See Also:
        +
        ofBlocksMapHint(Map, Block, int)
        +
        +
      • +
      + + + + + + + +
        +
      • +

        ofBlock

        +
        public static <T> IStructureElement<T> ofBlock(Block block,
        +                                               int meta,
        +                                               Block defaultBlock,
        +                                               int defaultMeta)
        +
        Accept a block. Spawn hint/autoplace using another.
        +
        +
        Parameters:
        +
        block - accepted block
        +
        meta - accepted meta
        +
        defaultBlock - hint block
        +
        defaultMeta - hint meta
        +
        +
      • +
      + + + + + + + +
        +
      • +

        ofBlock

        +
        public static <T> IStructureElement<T> ofBlock(Block block,
        +                                               int meta)
        +
        Accept a single block with a fixed meta. Most primitive form of structure.
        +
      • +
      + + + +
        +
      • +

        ofBlockAnyMeta

        +
        public static <T> IStructureElement<T> ofBlockAnyMeta(Block block)
        +
        Accept a single block, but accept any meta.
        +
      • +
      + + + +
        +
      • +

        ofBlockAnyMeta

        +
        public static <T> IStructureElement<T> ofBlockAnyMeta(Block block,
        +                                                      int defaultMeta)
        +
        Accept a single block, but accept any meta. Spawn hint/autoplace using given meta.
        +
      • +
      + + + +
        +
      • +

        ofBlockAdder

        +
        public static <T> IStructureElement<T> ofBlockAdder(IBlockAdder<T> iBlockAdder,
        +                                                    Block defaultBlock,
        +                                                    int defaultMeta)
        +
        Add a block using block adder. Spawn hints/autoplace using given hint block and meta. +

        + Useful when your logic is very complex.

        +
      • +
      + + + + + + + +
        +
      • +

        ofTileAdder

        +
        public static <T> IStructureElementNoPlacement<T> ofTileAdder(ITileAdder<T> iTileAdder,
        +                                                              Block hintBlock,
        +                                                              int hintMeta)
        +
        Try to add a structure element with a tile entity. Note that tile adder will be called with a null argument at + locations without tile entity.
        +
      • +
      + + + +
        +
      • +

        ofSpecificTileAdder

        +
        public static <T,E> IStructureElementNoPlacement<T> ofSpecificTileAdder(BiPredicate<T,E> iTileAdder,
        +                                                                        Class<E> tileClass,
        +                                                                        Block hintBlock,
        +                                                                        int hintMeta)
        +
        Try to add a structure element with a particular type of tile entity. Note that tile adder will not be called at + locations without a tile entity.
        +
      • +
      + + + + + +
        +
      • +

        onElementPass

        +
        public static <B extends IStructureElement<T>,T> IStructureElement<T> onElementPass(Consumer<T> onCheckPass,
        +                                                                                    B element)
        +
        Call a callback if downstream element returned true in check.
        +
        +
        Parameters:
        +
        onCheckPass - side effect
        +
        element - downstream
        +
        +
      • +
      + + + + + +
        +
      • +

        onElementFail

        +
        public static <B extends IStructureElement<T>,T> IStructureElement<T> onElementFail(Consumer<T> onFail,
        +                                                                                    B element)
        +
        Call a callback if downstream element returned false in check.
        +
        +
        Parameters:
        +
        onFail - side effect
        +
        element - downstream
        +
        +
      • +
      + + + +
        +
      • +

        onlyIf

        +
        public static <T> IStructureElement<T> onlyIf(Predicate<? super T> predicate,
        +                                              IStructureElement<? super T> downstream)
        +
        Enable this structure element only if given predicate returns true. +

        + Return SKIP when survival auto place if given predicate returns false.

        +
      • +
      + + + +
        +
      • +

        onlyIf

        +
        public static <T> IStructureElement<T> onlyIf(Predicate<? super T> predicate,
        +                                              IStructureElement<? super T> downstream,
        +                                              IStructureElement.PlaceResult placeResultWhenDisabled)
        +
        Enable this structure element only if given predicate returns true.
        +
        +
        Parameters:
        +
        placeResultWhenDisabled - value to return for survival auto place when predicate returns false
        +
        +
      • +
      + + + +
        +
      • +

        ofChain

        +
        @SafeVarargs
        +public static <T> IStructureElementChain<T> ofChain(IStructureElement<T>... elementChain)
        +
        This allows you to compose different IStructureElement to form a OR chain. + As with any other OR operator, this one exhibits short-circuiting behavior, i.e. it will not call next structure element + if previous one succeeded. (*) +

        + This allows you e.g. accept both a glass block using ofBlock(Block, int, Block, int) and a piece of air + using isAir(). + It will not attempt to capture any errors though, so next one will not be tried if previous one would crash. +

        + (*): For survival auto place, it will + * REJECT, if all structure element REJECT + * SKIP, if 1 or more structure element SKIP and the rest structure element (0 or more) REJECT + * any other result, **immediately** upon any structure element returns these other results. + This behavior is not 100% fixed and might change later on, but we will send the notice on a best effort basis. +

        + Take care while chaining, as it will try to call every structure element until it returns true. + If none does it will finally return false.

        +
      • +
      + + + + + + + +
        +
      • +

        withContext

        +
        public static <CTX,T extends IWithExtendedContext<CTX>> IStructureElement<T> withContext(IStructureElement<CTX> elem)
        +
        Switch to the extended context object in the downstream element
        +
        +
        Type Parameters:
        +
        CTX - extended context type
        +
        T - existing context object type
        +
        Parameters:
        +
        elem - downstream element
        +
        +
      • +
      + + + +
        +
      • +

        lazy

        +
        public static <T> IStructureElementDeferred<T> lazy(Supplier<IStructureElement<T>> to)
        +
        Similar to defer, but caches the first returned element returned and won't call it again. + Initialization is not thread safe. + These both allow the structure element **constructor** to access properties only present on the context object + (e.g. GT5 multiblock controller), e.g. hatch texture index to use. + Use `lazy` if the data you access will remain constant across different context object.
        +
      • +
      + + + +
        +
      • +

        lazy

        +
        public static <T> IStructureElementDeferred<T> lazy(Function<T,IStructureElement<T>> to)
        +
        This will defer the actual instantiation of structure element until the first time structure code is actually called. +

        + Similar to defer, but caches the first returned element returned and won't call it again. + Initialization is not thread safe. + This will allow the structure element constructor to access properties only present on the context object + (e.g. GT5 multiblock controller), e.g. hatch texture index to use. + Use this if the data you access will remain constant.

        +
        +
        Parameters:
        +
        to - create structure element from the first context object passed in
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        public static <T> IStructureElementDeferred<T> defer(Supplier<IStructureElement<T>> to)
        +
        This will defer the actual instantiation of structure element until the structure code is actually called. + This will allow the structure element constructor to access properties only present on the context object + (e.g. GT5 multiblock controller), e.g. hatch texture index to use. + Use this if it might change for the same structure definition, e.g. if your structure might switch mode and + change some parameter, while basically remain the same shape. + Using this while lazy(Supplier) is enough will not break anything, but would incur unnecessary + performance overhead.
        +
        +
        Parameters:
        +
        to - downstream element supplier
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        public static <T> IStructureElementDeferred<T> defer(Function<T,IStructureElement<T>> to)
        +
        This will defer the actual instantiation of structure element until the structure code is actually called. + This will allow the structure element constructor to access properties only present on the context object + (e.g. GT5 multiblock controller), e.g. hatch texture index to use. + Use this if it might change for the same structure definition, e.g. if your structure might switch mode and + change some parameter, while basically remain the same shape. + Using this while lazy(Supplier) is enough will not break anything, but would incur unnecessary + performance overhead.
        +
        +
        Parameters:
        +
        to - downstream element supplier
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        @Deprecated
        +public static <T,K> IStructureElementDeferred<T> defer(Function<T,K> keyExtractor,
        +                                                                   Map<K,IStructureElement<T>> map)
        +
        Deprecated. renamed to partitionBy
        +
        This is the switch block for structure code. +

        + This allows you to extract or compute a key from context object, and lookup a map for actual structure element + to use.

        +
        +
        Parameters:
        +
        keyExtractor - extract a key from the context object
        +
        map - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        partitionBy

        +
        public static <T,K> IStructureElementDeferred<T> partitionBy(Function<T,K> keyExtractor,
        +                                                             Map<K,IStructureElement<T>> map)
        +
        This is the switch block for structure code. +

        + This allows you to extract or compute a key from context object, and lookup a map for actual structure element + to use. This will usually, but not guaranteed, to throw an exception at runtime if keyExtractor returns a key + not found in map. +

        + Do pay attention to what properties your map has though. You need to pay attention to how they consider equality + and how they consider null key/values. Guava ImmutableMap is usually a good enough choice.

        +
        +
        Parameters:
        +
        keyExtractor - extract a key from the context object
        +
        map - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        @Deprecated
        +public static <T,K> IStructureElementDeferred<T> defer(Function<T,K> keyExtractor,
        +                                                                   Map<K,IStructureElement<T>> map,
        +                                                                   IStructureElement<T> defaultElem)
        +
        Deprecated. renamed to partitionBy
        +
        This is the switch block for structure code, with default case support. +

        + This allows you to extract or compute a key from context object, and lookup a map for actual structure element + to use. The fallback will only be used when keyExtractor returns a value not found in given map. This will play + nicely in combination with error() +

        + Do pay attention to what properties your map has though. You need to pay attention to how they consider equality + and how they consider null key/values. Guava ImmutableMap is usually a good enough choice.

        +
        +
        Parameters:
        +
        keyExtractor - extract a key from the context object
        +
        map - all possible structure element
        +
        defaultElem - element to use when keyExtractor returns a value not found in given map
        +
        +
      • +
      + + + +
        +
      • +

        partitionBy

        +
        public static <T,K> IStructureElementDeferred<T> partitionBy(Function<T,K> keyExtractor,
        +                                                             Map<K,IStructureElement<T>> map,
        +                                                             IStructureElement<T> defaultElem)
        +
        This is the switch block for structure code, with default case support. +

        + This allows you to extract or compute a key from context object, and lookup a map for actual structure element + to use. The fallback will only be used when keyExtractor returns a value not found in given map. This will play + nicely in combination with error() +

        + Do pay attention to what properties your map has though. You need to pay attention to how they consider equality + and how they consider null key/values. Guava ImmutableMap is usually a good enough choice.

        +
        +
        Parameters:
        +
        keyExtractor - extract a key from the context object
        +
        map - all possible structure element
        +
        defaultElem - element to use when keyExtractor returns a value not found in given map
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        @SafeVarargs
        + @Deprecated
        +public static <T> IStructureElementDeferred<T> defer(Function<T,Integer> keyExtractor,
        +                                                                               IStructureElement<T>... array)
        +
        Deprecated. renamed to partitionBy
        +
        This is the switch block for structure code. +

        + This allows you to extract or compute an index from context object, and lookup an array for actual structure element + to use. This will usually, but not guaranteed, to throw an exception at runtime if keyExtractor returns an index + not within the array bound +

        + Do pay place null values in the array.

        +
        +
        Parameters:
        +
        keyExtractor - extract an index from the context object
        +
        array - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        partitionBy

        +
        @SafeVarargs
        +public static <T> IStructureElementDeferred<T> partitionBy(Function<T,Integer> keyExtractor,
        +                                                                        IStructureElement<T>... array)
        +
        This is the switch block for structure code. +

        + This allows you to extract or compute an index from context object, and lookup an array for actual structure element + to use. This will usually, but not guaranteed, to throw an exception at runtime if keyExtractor returns an index + not within the array bound +

        + Do pay place null values in the array.

        +
        +
        Parameters:
        +
        keyExtractor - extract an index from the context object
        +
        array - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        @Deprecated
        +public static <T> IStructureElementDeferred<T> defer(Function<T,Integer> keyExtractor,
        +                                                                 List<IStructureElement<T>> array)
        +
        Deprecated. renamed to partitionBy
        +
        This is the switch block for structure code. +

        + This allows you to extract or compute an index from context object, and lookup an array for actual structure element + to use. This will usually, but not guaranteed, to throw an exception at runtime if keyExtractor returns an index + not within the array bound +

        + Do pay place null values in the array.

        +
        +
        Parameters:
        +
        keyExtractor - extract an index from the context object
        +
        array - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        partitionBy

        +
        public static <T> IStructureElementDeferred<T> partitionBy(Function<T,Integer> keyExtractor,
        +                                                           List<IStructureElement<T>> array)
        +
        This is the switch block for structure code. +

        + This allows you to extract or compute an index from context object, and lookup an array for actual structure element + to use. This will usually, but not guaranteed, to throw an exception at runtime if keyExtractor returns an index + not within the array bound +

        + Do pay place null values in the array.

        +
        +
        Parameters:
        +
        keyExtractor - extract an index from the context object
        +
        array - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        public static <T> IStructureElementDeferred<T> defer(BiFunction<T,ItemStack,IStructureElement<T>> to)
        +
        This will defer the actual instantiation of structure element until the structure code is actually called. + This will allow the structure element constructor to access properties only present on the context object + (e.g. GT5 multiblock controller), e.g. hatch texture index to use. + Use this if it might change for the same structure definition, e.g. if your structure might switch mode and + change some parameter, while basically remain the same shape. + Using this while lazy(Supplier) is enough will not break anything, but would incur unnecessary + performance overhead. +

        + This variant also passes the trigger item to the function, allowing it to get more info.

        +
        +
        Parameters:
        +
        to - downstream element supplier
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        @Deprecated
        +public static <T,K> IStructureElementDeferred<T> defer(BiFunction<T,ItemStack,K> keyExtractor,
        +                                                                   Map<K,IStructureElement<T>> map)
        +
        Deprecated. renamed to partitionBy
        +
        This is the switch block for structure code. +

        + This allows you to extract or compute a key from context object, and lookup a map for actual structure element + to use. This will usually, but not guaranteed, to throw an exception at runtime if keyExtractor returns a key + not found in map. +

        + Do pay attention to what properties your map has though. You need to pay attention to how they consider equality + and how they consider null key/values. Guava ImmutableMap is usually a good enough choice. +

        + This variant also passes the trigger item to the function, allowing it to get more info.

        +
        +
        Parameters:
        +
        keyExtractor - extract a key from the context object and trigger item
        +
        map - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        partitionBy

        +
        public static <T,K> IStructureElementDeferred<T> partitionBy(BiFunction<T,ItemStack,K> keyExtractor,
        +                                                             Map<K,IStructureElement<T>> map)
        +
        This is the switch block for structure code. +

        + This allows you to extract or compute a key from context object, and lookup a map for actual structure element + to use. This will usually, but not guaranteed, to throw an exception at runtime if keyExtractor returns a key + not found in map. +

        + Do pay attention to what properties your map has though. You need to pay attention to how they consider equality + and how they consider null key/values. Guava ImmutableMap is usually a good enough choice. +

        + This variant also passes the trigger item to the function, allowing it to get more info.

        +
        +
        Parameters:
        +
        keyExtractor - extract a key from the context object and trigger item
        +
        map - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        @Deprecated
        +public static <T,K> IStructureElementDeferred<T> defer(BiFunction<T,ItemStack,K> keyExtractor,
        +                                                                   Map<K,IStructureElement<T>> map,
        +                                                                   IStructureElement<T> defaultElem)
        +
        Deprecated. renamed to partitionBy
        +
        This is the switch block for structure code, with default case support. +

        + This allows you to extract or compute a key from context object, and lookup a map for actual structure element + to use. The fallback will only be used when keyExtractor returns a value not found in given map. This will play + nicely in combination with error() +

        + Do pay attention to what properties your map has though. You need to pay attention to how they consider equality + and how they consider null key/values. Guava ImmutableMap is usually a good enough choice. +

        + This variant also passes the trigger item to the function, allowing it to get more info.

        +
        +
        Parameters:
        +
        keyExtractor - extract a key from the context object and trigger item
        +
        map - all possible structure element
        +
        defaultElem - element to use when keyExtractor returns a value not found in given map
        +
        +
      • +
      + + + +
        +
      • +

        partitionBy

        +
        public static <T,K> IStructureElementDeferred<T> partitionBy(BiFunction<T,ItemStack,K> keyExtractor,
        +                                                             Map<K,IStructureElement<T>> map,
        +                                                             IStructureElement<T> defaultElem)
        +
        This is the switch block for structure code, with default case support. +

        + This allows you to extract or compute a key from context object, and lookup a map for actual structure element + to use. The fallback will only be used when keyExtractor returns a value not found in given map. This will play + nicely in combination with error() +

        + Do pay attention to what properties your map has though. You need to pay attention to how they consider equality + and how they consider null key/values. Guava ImmutableMap is usually a good enough choice. +

        + This variant also passes the trigger item to the function, allowing it to get more info.

        +
        +
        Parameters:
        +
        keyExtractor - extract a key from the context object and trigger item
        +
        map - all possible structure element
        +
        defaultElem - element to use when keyExtractor returns a value not found in given map
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        @SafeVarargs
        +public static <T> IStructureElementDeferred<T> defer(BiFunction<T,ItemStack,Integer> keyExtractor,
        +                                                                  IStructureElement<T>... array)
        +
        This is the switch block for structure code. +

        + This allows you to extract or compute an index from context object, and lookup an array for actual structure element + to use. This will usually, but not guaranteed, to throw an exception at runtime if keyExtractor returns an index + not within the array bound +

        + Do pay place null values in the array. +

        + This variant also passes the trigger item to the function, allowing it to get more info.

        +
        +
        Parameters:
        +
        keyExtractor - extract a key from the context object and trigger item
        +
        array - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        public static <T> IStructureElementDeferred<T> defer(BiFunction<T,ItemStack,Integer> keyExtractor,
        +                                                     List<IStructureElement<T>> array)
        +
        This is the switch block for structure code. +

        + This allows you to extract or compute an index from context object, and lookup an array for actual structure element + to use. This will usually, but not guaranteed, to throw an exception at runtime if keyExtractor returns an index + not within the array bound +

        + Do pay place null values in the array. +

        + This variant also passes the trigger item to the function, allowing it to get more info.

        +
        +
        Parameters:
        +
        keyExtractor - extract a key from the context object and trigger item
        +
        array - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        public static <T> IStructureElementDeferred<T> defer(Function<T,IStructureElement<T>> toCheck,
        +                                                     BiFunction<T,ItemStack,IStructureElement<T>> to)
        +
        This will defer the actual instantiation of structure element until the first time structure code is actually called. +

        + Similar to defer, but caches the first returned element returned and won't call it again. + Initialization is not thread safe. + This will allow the structure element constructor to access properties only present on the context object + (e.g. GT5 multiblock controller), e.g. hatch texture index to use. + Use this if the data you access will remain constant. +

        + This variant will override the check function of the structure element from second function with the one returned + from the structure element from first function.

        +
        +
        Parameters:
        +
        toCheck - override the check function with the returned element
        +
        to - create structure element from the context object passed in
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        @Deprecated
        +public static <T,K> IStructureElementDeferred<T> defer(Function<T,K> keyExtractorCheck,
        +                                                                   BiFunction<T,ItemStack,K> keyExtractor,
        +                                                                   Map<K,IStructureElement<T>> map)
        +
        Deprecated. renamed to partitionBy
        +
        This is the switch block for structure code. +

        + This allows you to extract or compute a key from context object, and lookup a map for actual structure element + to use. This will usually, but not guaranteed, to throw an exception at runtime if keyExtractor returns a key + not found in map. +

        + Do pay attention to what properties your map has though. You need to pay attention to how they consider equality + and how they consider null key/values. Guava ImmutableMap is usually a good enough choice. +

        + This variant also passes the trigger item to the function, allowing it to get more info. +

        + This variant will override the check function of the structure element from second function with the one returned + from the structure element from first function.

        +
        +
        Parameters:
        +
        keyExtractorCheck - key extractor of the structure element that will be used for check.
        +
        keyExtractor - extract a key from the context object and trigger item
        +
        map - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        partitionBy

        +
        public static <T,K> IStructureElementDeferred<T> partitionBy(Function<T,K> keyExtractorCheck,
        +                                                             BiFunction<T,ItemStack,K> keyExtractor,
        +                                                             Map<K,IStructureElement<T>> map)
        +
        This is the switch block for structure code. +

        + This allows you to extract or compute a key from context object, and lookup a map for actual structure element + to use. This will usually, but not guaranteed, to throw an exception at runtime if keyExtractor returns a key + not found in map. +

        + Do pay attention to what properties your map has though. You need to pay attention to how they consider equality + and how they consider null key/values. Guava ImmutableMap is usually a good enough choice. +

        + This variant also passes the trigger item to the function, allowing it to get more info. +

        + This variant will override the check function of the structure element from second function with the one returned + from the structure element from first function.

        +
        +
        Parameters:
        +
        keyExtractorCheck - key extractor of the structure element that will be used for check.
        +
        keyExtractor - extract a key from the context object and trigger item
        +
        map - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        @Deprecated
        +public static <T,K> IStructureElementDeferred<T> defer(Function<T,K> keyExtractorCheck,
        +                                                                   BiFunction<T,ItemStack,K> keyExtractor,
        +                                                                   Map<K,IStructureElement<T>> map,
        +                                                                   IStructureElement<T> defaultElem)
        +
        Deprecated. renamed to partitionBy
        +
        This is the switch block for structure code, with default case. +

        + This allows you to extract or compute a key from context object, and lookup a map for actual structure element + to use. defaultElem will be used if either extractor returned a key not found in map. +

        + Do pay attention to what properties your map has though. You need to pay attention to how they consider equality + and how they consider null key/values. Guava ImmutableMap is usually a good enough choice. +

        + This variant also passes the trigger item to the function, allowing it to get more info. +

        + This variant will override the check function of the structure element from second function with the one returned + from the structure element from first function.

        +
        +
        Parameters:
        +
        keyExtractorCheck - key extractor of the structure element that will be used for check.
        +
        keyExtractor - extract a key from the context object and trigger item
        +
        map - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        partitionBy

        +
        public static <T,K> IStructureElementDeferred<T> partitionBy(Function<T,K> keyExtractorCheck,
        +                                                             BiFunction<T,ItemStack,K> keyExtractor,
        +                                                             Map<K,IStructureElement<T>> map,
        +                                                             IStructureElement<T> defaultElem)
        +
        This is the switch block for structure code, with default case. +

        + This allows you to extract or compute a key from context object, and lookup a map for actual structure element + to use. defaultElem will be used if either extractor returned a key not found in map. +

        + Do pay attention to what properties your map has though. You need to pay attention to how they consider equality + and how they consider null key/values. Guava ImmutableMap is usually a good enough choice. +

        + This variant also passes the trigger item to the function, allowing it to get more info. +

        + This variant will override the check function of the structure element from second function with the one returned + from the structure element from first function.

        +
        +
        Parameters:
        +
        keyExtractorCheck - key extractor of the structure element that will be used for check.
        +
        keyExtractor - extract a key from the context object and trigger item
        +
        map - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        @SafeVarargs
        + @Deprecated
        +public static <T> IStructureElementDeferred<T> defer(Function<T,Integer> keyExtractorCheck,
        +                                                                               BiFunction<T,ItemStack,Integer> keyExtractor,
        +                                                                               IStructureElement<T>... array)
        +
        Deprecated. renamed to partitionBy
        +
        This is the switch block for structure code, with default case. +

        + This allows you to extract or compute an index from context object, and lookup an array for actual structure element + to use. This will usually, but not guaranteed, to throw an exception at runtime if keyExtractor returns an index + not within the array bound +

        + Do pay place null values in the array. +

        + This variant also passes the trigger item to the function, allowing it to get more info. +

        + This variant will override the check function of the structure element from second function with the one returned + from the structure element from first function.

        +
        +
        Parameters:
        +
        keyExtractorCheck - key extractor of the structure element that will be used for check.
        +
        keyExtractor - extract a key from the context object and trigger item
        +
        array - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        partitionBy

        +
        @SafeVarargs
        +public static <T> IStructureElementDeferred<T> partitionBy(Function<T,Integer> keyExtractorCheck,
        +                                                                        BiFunction<T,ItemStack,Integer> keyExtractor,
        +                                                                        IStructureElement<T>... array)
        +
        This is the switch block for structure code, with default case. +

        + This allows you to extract or compute an index from context object, and lookup an array for actual structure element + to use. This will usually, but not guaranteed, to throw an exception at runtime if keyExtractor returns an index + not within the array bound +

        + Do pay place null values in the array. +

        + This variant also passes the trigger item to the function, allowing it to get more info. +

        + This variant will override the check function of the structure element from second function with the one returned + from the structure element from first function.

        +
        +
        Parameters:
        +
        keyExtractorCheck - key extractor of the structure element that will be used for check.
        +
        keyExtractor - extract a key from the context object and trigger item
        +
        array - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        defer

        +
        @Deprecated
        +public static <T> IStructureElementDeferred<T> defer(Function<T,Integer> keyExtractorCheck,
        +                                                                 BiFunction<T,ItemStack,Integer> keyExtractor,
        +                                                                 List<IStructureElement<T>> array)
        +
        Deprecated. renamed to partitionBy
        +
        This is the switch block for structure code, with default case. +

        + This allows you to extract or compute an index from context object, and lookup an array for actual structure element + to use. This will usually, but not guaranteed, to throw an exception at runtime if keyExtractor returns an index + not within the array bound +

        + This variant also passes the trigger item to the function, allowing it to get more info. +

        + This variant will override the check function of the structure element from second function with the one returned + from the structure element from first function.

        +
        +
        Parameters:
        +
        keyExtractorCheck - key extractor of the structure element that will be used for check.
        +
        keyExtractor - extract a key from the context object and trigger item
        +
        array - all possible structure element
        +
        +
      • +
      + + + +
        +
      • +

        partitionBy

        +
        public static <T> IStructureElementDeferred<T> partitionBy(Function<T,Integer> keyExtractorCheck,
        +                                                           BiFunction<T,ItemStack,Integer> keyExtractor,
        +                                                           List<IStructureElement<T>> array)
        +
        This is the switch block for structure code, with default case. +

        + This allows you to extract or compute an index from context object, and lookup an array for actual structure element + to use. This will usually, but not guaranteed, to throw an exception at runtime if keyExtractor returns an index + not within the array bound +

        + This variant also passes the trigger item to the function, allowing it to get more info. +

        + This variant will override the check function of the structure element from second function with the one returned + from the structure element from first function.

        +
        +
        Parameters:
        +
        keyExtractorCheck - key extractor of the structure element that will be used for check.
        +
        keyExtractor - extract a key from the context object and trigger item
        +
        array - all possible structure element
        +
        +
      • +
      + + + + + + + +
        +
      • +

        step

        +
        public static <T> com.gtnewhorizon.structurelib.structure.IStructureNavigate<T> step(int a,
        +                                                                                     int b,
        +                                                                                     int c)
        +
        Used internally, to generate skips for structure definitions
        +
      • +
      + + + +
        +
      • +

        step

        +
        public static <T> com.gtnewhorizon.structurelib.structure.IStructureNavigate<T> step(Vec3Impl step)
        +
        Used internally, to generate skips for structure definitions
        +
      • +
      + + + +
        +
      • +

        getPseudoJavaCode

        +
        public static String getPseudoJavaCode(World world,
        +                                       ExtendedFacing extendedFacing,
        +                                       int basePositionX,
        +                                       int basePositionY,
        +                                       int basePositionZ,
        +                                       int basePositionA,
        +                                       int basePositionB,
        +                                       int basePositionC,
        +                                       Function<? super TileEntity,String> tileEntityClassifier,
        +                                       int sizeA,
        +                                       int sizeB,
        +                                       int sizeC,
        +                                       boolean transpose)
        +
        Used only to get pseudo code in structure writer... +

        + NOTE: GT specific code got removed. TODO add a mean

        +
        +
        Parameters:
        +
        tileEntityClassifier - return a string that denote the type of a tile entity, or null if it's nothing special. useful if the tile entity cannot be simply distinguished via getClass.
        +
        +
      • +
      + + + +
        +
      • +

        iterate

        +
        public static void iterate(World world,
        +                           ExtendedFacing extendedFacing,
        +                           int basePositionX,
        +                           int basePositionY,
        +                           int basePositionZ,
        +                           int basePositionA,
        +                           int basePositionB,
        +                           int basePositionC,
        +                           int sizeA,
        +                           int sizeB,
        +                           int sizeC,
        +                           IBlockPosConsumer iBlockPosConsumer)
        +
      • +
      + + + +
        +
      • +

        iterate

        +
        public static void iterate(World world,
        +                           ExtendedFacing extendedFacing,
        +                           int basePositionX,
        +                           int basePositionY,
        +                           int basePositionZ,
        +                           int basePositionA,
        +                           int basePositionB,
        +                           int basePositionC,
        +                           boolean transpose,
        +                           int sizeA,
        +                           int sizeB,
        +                           int sizeC,
        +                           IBlockPosConsumer iBlockPosConsumer,
        +                           Runnable nextB,
        +                           Runnable nextC)
        +
      • +
      + + + +
        +
      • +

        transpose

        +
        public static String[][] transpose(String[][] structurePiece)
        +
        Transposes shape (swaps B and C axis, can be used to un-transpose transposed shape) + WARNING! Do not use on old api...
        +
        +
        Parameters:
        +
        structurePiece - shape (transposed shape)
        +
        Returns:
        +
        transposed shape (untransposed shape)
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/IBlockAdder.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/IBlockAdder.html new file mode 100644 index 00000000..6905c4ce --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/IBlockAdder.html @@ -0,0 +1,234 @@ + + + + + +IBlockAdder (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure.adders
+

Interface IBlockAdder<T>

+
+
+
+
    +
  • +
    +
    +
    public interface IBlockAdder<T>
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      booleanapply(T t, + Block block, + int meta) +
      Callback on block added, needs to check if block is valid (and add it)
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        apply

        +
        boolean apply(T t,
        +              Block block,
        +              int meta)
        +
        Callback on block added, needs to check if block is valid (and add it)
        +
        +
        Parameters:
        +
        block - block attempted to add
        +
        meta - meta of block attempted to add
        +
        Returns:
        +
        is structure still valid
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/ITileAdder.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/ITileAdder.html new file mode 100644 index 00000000..5c05bf03 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/ITileAdder.html @@ -0,0 +1,231 @@ + + + + + +ITileAdder (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.structure.adders
+

Interface ITileAdder<T>

+
+
+
+
    +
  • +
    +
    +
    public interface ITileAdder<T>
    +
  • +
+
+
+
    +
  • + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        apply

        +
        boolean apply(T t,
        +              TileEntity tileEntity)
        +
        Callback to add hatch, needs to check if tile is valid (and add it)
        +
        +
        Parameters:
        +
        tileEntity - tile
        +
        Returns:
        +
        managed to add hatch (structure still valid)
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/package-frame.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/package-frame.html new file mode 100644 index 00000000..920b787f --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/package-frame.html @@ -0,0 +1,20 @@ + + + + + +com.gtnewhorizon.structurelib.structure.adders (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + +

com.gtnewhorizon.structurelib.structure.adders

+
+

Interfaces

+ +
+ + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/package-summary.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/package-summary.html new file mode 100644 index 00000000..34bc67ce --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/package-summary.html @@ -0,0 +1,152 @@ + + + + + +com.gtnewhorizon.structurelib.structure.adders (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Package com.gtnewhorizon.structurelib.structure.adders

+
+
Adder interfaces used in various standard structure elements.
+
+

See: Description

+
+
+ + + + +

Package com.gtnewhorizon.structurelib.structure.adders Description

+
Adder interfaces used in various standard structure elements.
+
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/package-tree.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/package-tree.html new file mode 100644 index 00000000..1586108e --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/adders/package-tree.html @@ -0,0 +1,131 @@ + + + + + +com.gtnewhorizon.structurelib.structure.adders Class Hierarchy (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.gtnewhorizon.structurelib.structure.adders

+Package Hierarchies: + +
+
+

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/package-frame.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/package-frame.html new file mode 100644 index 00000000..3147429f --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/package-frame.html @@ -0,0 +1,44 @@ + + + + + +com.gtnewhorizon.structurelib.structure (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + +

com.gtnewhorizon.structurelib.structure

+
+

Interfaces

+ +

Classes

+ +

Enums

+ +
+ + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/package-summary.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/package-summary.html new file mode 100644 index 00000000..959347d2 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/package-summary.html @@ -0,0 +1,271 @@ + + + + + +com.gtnewhorizon.structurelib.structure (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Package com.gtnewhorizon.structurelib.structure

+
+
This package provide support for multiblock structure checking.
+
+

See: Description

+
+
+ + + + +

Package com.gtnewhorizon.structurelib.structure Description

+
This package provide support for multiblock structure checking. +

+ All public stuff in this package and its subpackages are considered part of the public API. + Backwards compatibility is maintained to the maximum extend possible.

+
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/package-tree.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/package-tree.html new file mode 100644 index 00000000..b0034a78 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/structure/package-tree.html @@ -0,0 +1,170 @@ + + + + + +com.gtnewhorizon.structurelib.structure Class Hierarchy (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.gtnewhorizon.structurelib.structure

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryIterable.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryIterable.html new file mode 100644 index 00000000..a1dc09a7 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryIterable.html @@ -0,0 +1,299 @@ + + + + + +InventoryIterable (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.util
+

Class InventoryIterable<Inv extends IInventory>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.InventoryProvider.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.InventoryProvider.html new file mode 100644 index 00000000..d708e25b --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.InventoryProvider.html @@ -0,0 +1,237 @@ + + + + + +InventoryUtility.InventoryProvider (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.util
+

Interface InventoryUtility.InventoryProvider<R extends Iterable<ItemStack>>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.ItemStackCounter.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.ItemStackCounter.html new file mode 100644 index 00000000..f7e6dd65 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.ItemStackCounter.html @@ -0,0 +1,227 @@ + + + + + +InventoryUtility.ItemStackCounter (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.util
+

Interface InventoryUtility.ItemStackCounter

+
+
+
+
    +
  • +
    +
    Enclosing class:
    +
    InventoryUtility
    +
    +
    +
    +
    public static interface InventoryUtility.ItemStackCounter
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        add

        +
        void add(ItemStack stack,
        +         int stackSize)
        +
        Add some amount of stack. Note stackSize is used instead of stack.stackSize.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.ItemStackExtractor.APIType.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.ItemStackExtractor.APIType.html new file mode 100644 index 00000000..5cfc1f2e --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.ItemStackExtractor.APIType.html @@ -0,0 +1,342 @@ + + + + + +InventoryUtility.ItemStackExtractor.APIType (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.util
+

Enum InventoryUtility.ItemStackExtractor.APIType

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static InventoryUtility.ItemStackExtractor.APIType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (InventoryUtility.ItemStackExtractor.APIType c : InventoryUtility.ItemStackExtractor.APIType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static InventoryUtility.ItemStackExtractor.APIType valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.ItemStackExtractor.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.ItemStackExtractor.html new file mode 100644 index 00000000..9ad2a74b --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.ItemStackExtractor.html @@ -0,0 +1,332 @@ + + + + + +InventoryUtility.ItemStackExtractor (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.util
+

Interface InventoryUtility.ItemStackExtractor

+
+
+
+
    +
  • +
    +
    Enclosing class:
    +
    InventoryUtility
    +
    +
    +
    +
    public static interface InventoryUtility.ItemStackExtractor
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        takeFromStack

        +
        int takeFromStack(Predicate<ItemStack> predicate,
        +                  boolean simulate,
        +                  int count,
        +                  InventoryUtility.ItemStackCounter store,
        +                  ItemStack source,
        +                  ItemStack filter,
        +                  EntityPlayerMP player)
        +
        Extract a particular type of item. The extractor can choose to not return all items contained within this item + as long as it makes sense, but the author should inform the player of this. +

        + Whether this method does recursive extraction is at the discretion of implementor.

        +
        +
        Parameters:
        +
        predicate - the main filtering predicate. never null. It's assumed predicate always returns true on filter, + if that is not null
        +
        store - where to store extracted items. Should increment the
        +
        source - from where an extraction should be attempted
        +
        filter - stack to extract. should not be mutated! match the NBT tag using EXACT mode. might be null.
        +
        simulate - true if only query but does not actually remove
        +
        player - executor of extraction, or null if from a machine
        +
        Returns:
        +
        amount extracted, or -1 if this is not implemented
        +
        +
      • +
      + + + +
        +
      • +

        getItem

        +
        default int getItem(ItemStack source,
        +                    ItemStack toExtract,
        +                    boolean simulate,
        +                    EntityPlayerMP player)
        +
        Extract a particular type of item. The extractor can choose to not return all items contained within this item + as long as it makes sense, but the author should inform the player of this. +

        + Whether this method does recursive extraction is at the discretion of implementor.

        +
        +
        Parameters:
        +
        source - from where an extraction should be attempted
        +
        toExtract - stack to extract. should not be mutated! match the NBT tag using EXACT mode.
        +
        simulate - true if only query but does not actually remove
        +
        player - executor of extraction, or null if from a machine
        +
        Returns:
        +
        amount extracted, or -1 if this is not implemented
        +
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.OptimizedExtractor.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.OptimizedExtractor.html new file mode 100644 index 00000000..a2cc103b --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.OptimizedExtractor.html @@ -0,0 +1,243 @@ + + + + + +InventoryUtility.OptimizedExtractor (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.util
+

Interface InventoryUtility.OptimizedExtractor

+
+
+
+
    +
  • +
    +
    Enclosing class:
    +
    InventoryUtility
    +
    +
    +
    +
    public static interface InventoryUtility.OptimizedExtractor
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        extract

        +
        int extract(ItemStack source,
        +            ItemStack toExtract,
        +            boolean simulate,
        +            EntityPlayerMP player)
        +
        Extract a particular type of item. The extractor can choose to not return all items contained within this item + as long as it makes sense, but the author should inform the player of this. +

        + Whether optimized extractor do recursive extraction is at the discretion of implementor.

        +
        +
        Parameters:
        +
        source - from where an extraction should be attempted
        +
        toExtract - stack to extract. should not be mutated! match the NBT tag using EXACT mode.
        +
        simulate - true if only query but does not actually remove
        +
        player - executor of extraction, or null if from a machine
        +
        Returns:
        +
        amount extracted
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.html new file mode 100644 index 00000000..94d8ace4 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/InventoryUtility.html @@ -0,0 +1,495 @@ + + + + + +InventoryUtility (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.util
+

Class InventoryUtility

+
+
+ +
+
    +
  • +
    +
    +
    public class InventoryUtility
    +extends Object
    +
    This class is part of API, but is not stable. Use at your own risk.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InventoryUtility

        +
        public InventoryUtility()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        registerEnableEnderCondition

        +
        public static void registerEnableEnderCondition(Predicate<? super EntityPlayerMP> predicate)
        +
      • +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        +
      • +

        takeFromInventory

        +
        public static Map<ItemStack,Integer> takeFromInventory(EntityPlayerMP player,
        +                                                       Predicate<ItemStack> predicate,
        +                                                       boolean simulate,
        +                                                       int count)
        +
        take count amount of stacks that matches given filter. might take partial amount of stuff, so simulation is suggested + if you ever need to take more than one.
        +
        +
        Parameters:
        +
        player - source of stacks
        +
        predicate - item stack filter
        +
        simulate - whether to do removal
        +
        count - let's hope int size is enough...
        +
        Returns:
        +
        amount taken. never negative nor bigger than count...
        +
        +
      • +
      + + + +
        +
      • +

        takeFromInventory

        +
        public static int takeFromInventory(EntityPlayerMP player,
        +                                    ItemStack filter,
        +                                    boolean simulate)
        +
        take count amount of stacks that matches given filter. might take partial amount of stuff, so simulation is suggested + if you ever need to take more than one.
        +
        +
        Parameters:
        +
        player - source of stacks
        +
        filter - the precise type of item to extract. stackSize matters
        +
        simulate - whether to do removal
        +
        Returns:
        +
        amount taken. never negative nor bigger than count...
        +
        +
      • +
      + + + +
        +
      • +

        takeFromInventory

        +
        public static Map<ItemStack,Integer> takeFromInventory(Iterable<ItemStack> inv,
        +                                                       Predicate<ItemStack> predicate,
        +                                                       boolean simulate,
        +                                                       int count,
        +                                                       boolean recursive)
        +
        take count amount of stacks that matches given filter. Will do 1 level of recursion to try find more stacks.... + e.g. from backpacks...
        +
        +
        Parameters:
        +
        inv - source of stacks
        +
        predicate - item stack filter
        +
        simulate - whether to do removal
        +
        count - let's hope int size is enough...
        +
        recursive - do recursive lookup using stack extractors
        +
        Returns:
        +
        amount taken. never negative nor bigger than count...
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/ItemStackArrayIterable.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/ItemStackArrayIterable.html new file mode 100644 index 00000000..ce1f836c --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/ItemStackArrayIterable.html @@ -0,0 +1,297 @@ + + + + + +ItemStackArrayIterable (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.util
+

Class ItemStackArrayIterable

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/ItemStackPredicate.NBTMode.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/ItemStackPredicate.NBTMode.html new file mode 100644 index 00000000..cace2125 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/ItemStackPredicate.NBTMode.html @@ -0,0 +1,374 @@ + + + + + +ItemStackPredicate.NBTMode (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.util
+

Enum ItemStackPredicate.NBTMode

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ItemStackPredicate.NBTMode[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ItemStackPredicate.NBTMode c : ItemStackPredicate.NBTMode.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ItemStackPredicate.NBTMode valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/ItemStackPredicate.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/ItemStackPredicate.html new file mode 100644 index 00000000..63b9ce07 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/ItemStackPredicate.html @@ -0,0 +1,364 @@ + + + + + +ItemStackPredicate (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.util
+

Class ItemStackPredicate

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/MiscUtils.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/MiscUtils.html new file mode 100644 index 00000000..a7a689d9 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/MiscUtils.html @@ -0,0 +1,235 @@ + + + + + +MiscUtils (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.util
+

Class MiscUtils

+
+
+ +
+
    +
  • +
    +
    +
    public class MiscUtils
    +extends Object
    +
    not related to a certain mod!
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/SortedRegistry.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/SortedRegistry.html new file mode 100644 index 00000000..98fbae61 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/SortedRegistry.html @@ -0,0 +1,395 @@ + + + + + +SortedRegistry (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.util
+

Class SortedRegistry<V>

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Iterable<V>
    +
    +
    +
    +
    public class SortedRegistry<V>
    +extends Object
    +implements Iterable<V>
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SortedRegistry

        +
        public SortedRegistry()
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/Vec3Impl.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/Vec3Impl.html new file mode 100644 index 00000000..c3a32359 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/Vec3Impl.html @@ -0,0 +1,644 @@ + + + + + +Vec3Impl (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.util
+

Class Vec3Impl

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        NULL_VECTOR

        +
        public static final Vec3Impl NULL_VECTOR
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Vec3Impl

        +
        public Vec3Impl(int in0,
        +                int in1,
        +                int in2)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getFromPool

        +
        public static Vec3Impl getFromPool(int in0,
        +                                   int in1,
        +                                   int in2)
        +
        THIS WILL CAUSE THIS VECTOR TO PERMANENTLY RESIDE IN STATIC MEMORY. DO NOT USE THIS UNLESS YOU KNOW WHAT YOU ARE + DOING!!!
        +
      • +
      + + + + + + + +
        +
      • +

        get

        +
        public int get(int index)
        +
        Gets the coordinate.
        +
      • +
      + + + +
        +
      • +

        get0

        +
        public int get0()
        +
        Gets the X coordinate.
        +
      • +
      + + + +
        +
      • +

        get1

        +
        public int get1()
        +
        Gets the Y coordinate.
        +
      • +
      + + + +
        +
      • +

        get2

        +
        public int get2()
        +
        Gets the Z coordinate.
        +
      • +
      + + + +
        +
      • +

        offset

        +
        public Vec3Impl offset(net.minecraftforge.common.util.ForgeDirection facing,
        +                       int n)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        add

        +
        public Vec3Impl add(int pos0,
        +                    int pos1,
        +                    int pos2)
        +
      • +
      + + + +
        +
      • +

        sub

        +
        public Vec3Impl sub(int pos0,
        +                    int pos1,
        +                    int pos2)
        +
      • +
      + + + + + + + +
        +
      • +

        withinDistance

        +
        public boolean withinDistance(Vec3Impl to,
        +                              double distance)
        +
      • +
      + + + +
        +
      • +

        withinDistance

        +
        public boolean withinDistance(IPosition to,
        +                              double distance)
        +
      • +
      + + + +
        +
      • +

        distanceSq

        +
        public double distanceSq(Vec3Impl to)
        +
      • +
      + + + +
        +
      • +

        distanceSq

        +
        public double distanceSq(IPosition to,
        +                         boolean useCenter)
        +
      • +
      + + + +
        +
      • +

        distanceSq

        +
        public double distanceSq(double x,
        +                         double y,
        +                         double z,
        +                         boolean useCenter)
        +
      • +
      + + + +
        +
      • +

        manhattanDistance

        +
        public int manhattanDistance(Vec3Impl to)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/XSTR.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/XSTR.html new file mode 100644 index 00000000..fdd4ebd6 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/XSTR.html @@ -0,0 +1,628 @@ + + + + + +XSTR (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + + +
+
com.gtnewhorizon.structurelib.util
+

Class XSTR

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    +
    public class XSTR
    +extends Random
    +
    XSTR - Xorshift ThermiteRandom + Modified by Bogdan-G + 03.06.2016 + version 0.0.4
    +
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static XSTRXSTR_INSTANCE 
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      XSTR() +
      Creates a new pseudo random number generator.
      +
      XSTR(long seed) +
      Creates a new pseudo random number generator, starting with the specified + seed, using setSeed(seed);.
      +
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        XSTR_INSTANCE

        +
        public static final XSTR XSTR_INSTANCE
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        XSTR

        +
        public XSTR()
        +
        Creates a new pseudo random number generator. The seed is initialized to + the current time, as if by + setSeed(System.currentTimeMillis());.
        +
      • +
      + + + +
        +
      • +

        XSTR

        +
        public XSTR(long seed)
        +
        Creates a new pseudo random number generator, starting with the specified + seed, using setSeed(seed);.
        +
        +
        Parameters:
        +
        seed - the initial seed
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        nextBoolean

        +
        public boolean nextBoolean()
        +
        +
        Overrides:
        +
        nextBoolean in class Random
        +
        +
      • +
      + + + +
        +
      • +

        nextDouble

        +
        public double nextDouble()
        +
        +
        Overrides:
        +
        nextDouble in class Random
        +
        +
      • +
      + + + +
        +
      • +

        getSeed

        +
        public long getSeed()
        +
        Returns the current state of the seed, can be used to clone the object
        +
        +
        Returns:
        +
        the current seed
        +
        +
      • +
      + + + +
        +
      • +

        setSeed

        +
        public void setSeed(long seed)
        +
        Sets the seed for this pseudo random number generator. As described + above, two instances of the same random class, starting with the same + seed, produce the same results, if the same methods are called.
        +
        +
        Overrides:
        +
        setSeed in class Random
        +
        Parameters:
        +
        seed - the new seed
        +
        +
      • +
      + + + +
        +
      • +

        clone

        +
        public XSTR clone()
        +
        +
        Overrides:
        +
        clone in class Object
        +
        Returns:
        +
        Returns an XSRandom object with the same state as the original
        +
        +
      • +
      + + + +
        +
      • +

        next

        +
        public int next(int nbits)
        +
        Implementation of George Marsaglia's elegant Xorshift random generator + 30% faster and better quality than the built-in java.util.random see also + see http://www.javamex.com/tutorials/random_numbers/xorshift.shtml
        +
        +
        Overrides:
        +
        next in class Random
        +
        Parameters:
        +
        nbits - will shift nbits bits
        +
        Returns:
        +
        next seed
        +
        +
      • +
      + + + +
        +
      • +

        nextGaussian

        +
        public double nextGaussian()
        +
        +
        Overrides:
        +
        nextGaussian in class Random
        +
        +
      • +
      + + + +
        +
      • +

        nextInt

        +
        public int nextInt(int bound)
        +
        Returns a pseudorandom, uniformly distributed int value between 0 + (inclusive) and the specified value (exclusive), drawn from this random + number generator's sequence. The general contract of nextInt is + that one int value in the specified range is pseudorandomly + generated and returned. All bound possible int values are + produced with (approximately) equal probability. The method + nextInt(int bound) is implemented by class Random as if + by: +
         
        + public int nextInt(int bound) {
        +   if (bound <= 0)
        +     throw new IllegalArgumentException("bound must be positive");
        +
        +   if ((bound & -bound) == bound)  // i.e., bound is a power of 2
        +     return (int)((bound * (long)next(31)) >> 31);
        +
        +   int bits, val;
        +   do {
        +       bits = next(31);
        +       val = bits % bound;
        +   } while (bits - val + (bound-1) < 0);
        +   return val;
        + }
        + +

        The hedge "approx + imately" is used in the foregoing description only because the next + method is only approximately an unbiased source of independently chosen + bits. If it were a perfect source of randomly chosen bits, then the + algorithm shown would choose int values from the stated range + with perfect uniformity. +

        + The algorithm is slightly tricky. It rejects values that would result in + an uneven distribution (due to the fact that 2^31 is not divisible by n). + The probability of a value being rejected depends on n. The worst case is + n=2^30+1, for which the probability of a reject is 1/2, and the expected + number of iterations before the loop terminates is 2. +

        + The algorithm treats the case where n is a power of two specially: it + returns the correct number of high-order bits from the underlying + pseudo-random number generator. In the absence of special treatment, the + correct number of low-order bits would be returned. Linear + congruential pseudo-random number generators such as the one implemented + by this class are known to have short periods in the sequence of values + of their low-order bits. Thus, this special case greatly increases the + length of the sequence of values returned by successive calls to this + method if n is a small power of two.

        +
        +
        Overrides:
        +
        nextInt in class Random
        +
        Parameters:
        +
        bound - the upper bound (exclusive). Must be positive.
        +
        Returns:
        +
        the next pseudorandom, uniformly distributed int value + between zero (inclusive) and bound (exclusive) from this random + number generator's sequence
        +
        Throws:
        +
        IllegalArgumentException - if bound is not positive
        +
        Since:
        +
        1.2
        +
        +
      • +
      + + + +
        +
      • +

        nextInt

        +
        public int nextInt()
        +
        +
        Overrides:
        +
        nextInt in class Random
        +
        +
      • +
      + + + +
        +
      • +

        nextFloat

        +
        public float nextFloat()
        +
        +
        Overrides:
        +
        nextFloat in class Random
        +
        +
      • +
      + + + +
        +
      • +

        nextLong

        +
        public long nextLong()
        +
        +
        Overrides:
        +
        nextLong in class Random
        +
        +
      • +
      + + + +
        +
      • +

        nextBytes

        +
        public void nextBytes(byte[] bytes_arr)
        +
        +
        Overrides:
        +
        nextBytes in class Random
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/package-frame.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/package-frame.html new file mode 100644 index 00000000..9d678069 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/package-frame.html @@ -0,0 +1,38 @@ + + + + + +com.gtnewhorizon.structurelib.util (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + +

com.gtnewhorizon.structurelib.util

+
+

Interfaces

+ +

Classes

+ +

Enums

+ +
+ + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/package-summary.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/package-summary.html new file mode 100644 index 00000000..dd332111 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/package-summary.html @@ -0,0 +1,222 @@ + + + + + +com.gtnewhorizon.structurelib.util (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Package com.gtnewhorizon.structurelib.util

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/package-tree.html b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/package-tree.html new file mode 100644 index 00000000..e8cb8266 --- /dev/null +++ b/1.2.0-beta.1/javadoc/com/gtnewhorizon/structurelib/util/package-tree.html @@ -0,0 +1,165 @@ + + + + + +com.gtnewhorizon.structurelib.util Class Hierarchy (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.gtnewhorizon.structurelib.util

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/constant-values.html b/1.2.0-beta.1/javadoc/constant-values.html new file mode 100644 index 00000000..d868da73 --- /dev/null +++ b/1.2.0-beta.1/javadoc/constant-values.html @@ -0,0 +1,262 @@ + + + + + +Constant Field Values (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+ +
+
+ + +

com.gtnewhorizon.*

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/deprecated-list.html b/1.2.0-beta.1/javadoc/deprecated-list.html new file mode 100644 index 00000000..c9779932 --- /dev/null +++ b/1.2.0-beta.1/javadoc/deprecated-list.html @@ -0,0 +1,214 @@ + + + + + +Deprecated List (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+ +
+
+ + + +
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/help-doc.html b/1.2.0-beta.1/javadoc/help-doc.html new file mode 100644 index 00000000..8e0227fc --- /dev/null +++ b/1.2.0-beta.1/javadoc/help-doc.html @@ -0,0 +1,222 @@ + + + + + +API Help (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/index-all.html b/1.2.0-beta.1/javadoc/index-all.html new file mode 100644 index 00000000..cf081f02 --- /dev/null +++ b/1.2.0-beta.1/javadoc/index-all.html @@ -0,0 +1,1849 @@ + + + + + +Index (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I L M N O P Q R S T U V W X _  + + +

A

+
+
abs() - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
add(ItemStack, int) - Method in interface com.gtnewhorizon.structurelib.util.InventoryUtility.ItemStackCounter
+
+
Add some amount of stack.
+
+
add(Vec3Impl) - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
add(int, int, int) - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
addElement(Character, IStructureElement<T>) - Method in class com.gtnewhorizon.structurelib.structure.StructureDefinition.Builder
+
+
Deprecated. +
use the unboxed version
+
+
+
addElement(char, IStructureElement<T>) - Method in class com.gtnewhorizon.structurelib.structure.StructureDefinition.Builder
+
 
+
addShape(String, String[][]) - Method in class com.gtnewhorizon.structurelib.structure.StructureDefinition.Builder
+
+
Adds shape.
+
+
addThrottledChat(Object, EntityPlayer, IChatComponent, short) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Send chat to player, but throttled.
+
+
addThrottledChat(Object, EntityPlayer, IChatComponent, short, boolean) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Send chat to player, but throttled.
+
+
AlignmentUtility - Class in com.gtnewhorizon.structurelib.alignment
+
 
+
allow(ForgeDirection) - Method in class com.gtnewhorizon.structurelib.alignment.IAlignmentLimits.Builder
+
 
+
allow(ExtendedFacing) - Method in class com.gtnewhorizon.structurelib.alignment.IAlignmentLimits.Builder
+
 
+
allow(Rotation) - Method in class com.gtnewhorizon.structurelib.alignment.IAlignmentLimits.Builder
+
 
+
allow(Flip) - Method in class com.gtnewhorizon.structurelib.alignment.IAlignmentLimits.Builder
+
 
+
allowAll() - Static method in class com.gtnewhorizon.structurelib.alignment.IAlignmentLimits.Builder
+
 
+
allowOnly(ExtendedFacing...) - Static method in interface com.gtnewhorizon.structurelib.alignment.IAlignmentLimits
+
 
+
apply(T, Block, int) - Method in interface com.gtnewhorizon.structurelib.structure.adders.IBlockAdder
+
+
Callback on block added, needs to check if block is valid (and add it)
+
+
apply(T, TileEntity) - Method in interface com.gtnewhorizon.structurelib.structure.adders.ITileAdder
+
+
Callback to add hatch, needs to check if tile is valid (and add it)
+
+
AutoPlaceEnvironment - Class in com.gtnewhorizon.structurelib.structure
+
+
Represent the environment in which autoplace of a single element took place.
+
+
AutoPlaceEnvironment(AutoPlaceEnvironment) - Constructor for class com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment
+
 
+
AutoPlaceEnvironment.APILevel - Enum in com.gtnewhorizon.structurelib.structure
+
+
Defines the various API level an AutoPlaceEnvironment has implemented.
+
+
+ + + +

B

+
+
build() - Method in class com.gtnewhorizon.structurelib.alignment.IAlignmentLimits.Builder
+
 
+
build(T, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureDefinition
+
+
Build the multi in creative mode on a best-effort basis.
+
+
build() - Method in class com.gtnewhorizon.structurelib.structure.StructureDefinition.Builder
+
 
+
builder() - Static method in interface com.gtnewhorizon.structurelib.structure.IStructureDefinition
+
+
Create a new instance of builder.
+
+
builder() - Static method in class com.gtnewhorizon.structurelib.structure.StructureDefinition
+
 
+
buildOrHints(T, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int, boolean) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureDefinition
+
+ +
+
byIndex(int) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
byIndex(int) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Flip
+
 
+
byIndex(int) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Rotation
+
 
+
byName(String) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
byName(String) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Flip
+
 
+
byName(String) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Rotation
+
 
+
+ + + +

C

+
+
canSetToDirectionAny(ForgeDirection) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
ChannelDataAccessor - Class in com.gtnewhorizon.structurelib.alignment.constructable
+
+
Provide accessor methods for channel data from trigger item.
+
+
check(T, String, World, ExtendedFacing, int, int, int, int, int, int, boolean) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureDefinition
+
+
Run a structure check.
+
+
check(T, World, int, int, int) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElement
+
 
+
check(T, World, int, int, int) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElementChain
+
 
+
checkedSetDirection(ForgeDirection) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
checkedSetExtendedFacing(ExtendedFacing) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
checkedSetFlip(Flip) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
checkedSetRotation(Rotation) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
clone() - Method in class com.gtnewhorizon.structurelib.util.XSTR
+
 
+
com.gtnewhorizon.structurelib - package com.gtnewhorizon.structurelib
+
 
+
com.gtnewhorizon.structurelib.alignment - package com.gtnewhorizon.structurelib.alignment
+
+
This package provide a framework for rotating a given block, or a multiblock structure.
+
+
com.gtnewhorizon.structurelib.alignment.constructable - package com.gtnewhorizon.structurelib.alignment.constructable
+
+
This package contains interfaces and utility methods for autobuilding a structure.
+
+
com.gtnewhorizon.structurelib.alignment.enumerable - package com.gtnewhorizon.structurelib.alignment.enumerable
+
 
+
com.gtnewhorizon.structurelib.structure - package com.gtnewhorizon.structurelib.structure
+
+
This package provide support for multiblock structure checking.
+
+
com.gtnewhorizon.structurelib.structure.adders - package com.gtnewhorizon.structurelib.structure.adders
+
+
Adder interfaces used in various standard structure elements.
+
+
com.gtnewhorizon.structurelib.util - package com.gtnewhorizon.structurelib.util
+
 
+
compareTo(Vec3Impl) - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
construct(ItemStack, boolean) - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.IConstructable
+
 
+
construct(ItemStack, boolean, T, ExtendedFacing) - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.IMultiblockInfoContainer
+
 
+
ConstructableUtility - Class in com.gtnewhorizon.structurelib.alignment.constructable
+
 
+
consume(World, int, int, int) - Method in interface com.gtnewhorizon.structurelib.structure.IBlockPosConsumer
+
 
+
contains(Class<?>) - Static method in interface com.gtnewhorizon.structurelib.alignment.constructable.IMultiblockInfoContainer
+
 
+
containsKey(String) - Method in class com.gtnewhorizon.structurelib.util.SortedRegistry
+
 
+
containsValue(V) - Method in class com.gtnewhorizon.structurelib.util.SortedRegistry
+
 
+
convert(Block, int) - Method in interface com.gtnewhorizon.structurelib.structure.ITierConverter
+
 
+
countChannelData(ItemStack) - Static method in class com.gtnewhorizon.structurelib.alignment.constructable.ChannelDataAccessor
+
+
Get the number of subchannels present on given trigger item.
+
+
create(ItemStack...) - Static method in class com.gtnewhorizon.structurelib.structure.IStructureElement.BlocksToPlace
+
 
+
create(Iterable<ItemStack>) - Static method in class com.gtnewhorizon.structurelib.structure.IStructureElement.BlocksToPlace
+
 
+
create(Block, int) - Static method in class com.gtnewhorizon.structurelib.structure.IStructureElement.BlocksToPlace
+
 
+
create(Item, int) - Static method in class com.gtnewhorizon.structurelib.structure.IStructureElement.BlocksToPlace
+
 
+
create(ItemStack) - Static method in class com.gtnewhorizon.structurelib.structure.IStructureElement.BlocksToPlace
+
 
+
create(Predicate<ItemStack>) - Static method in class com.gtnewhorizon.structurelib.structure.IStructureElement.BlocksToPlace
+
 
+
create(IItemSource, EntityPlayer) - Static method in interface com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment
+
+
Create a default implementation with three parameters all being constants.
+
+
createEmpty() - Static method in class com.gtnewhorizon.structurelib.structure.IStructureElement.BlocksToPlace
+
 
+
createOnlyOptimized(InventoryUtility.OptimizedExtractor) - Static method in interface com.gtnewhorizon.structurelib.util.InventoryUtility.ItemStackExtractor
+
 
+
crossProduct(Vec3Impl) - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
+ + + +

D

+
+
DEFAULT - Static variable in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
defer(Supplier<IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This will defer the actual instantiation of structure element until the structure code is actually called.
+
+
defer(Function<T, IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This will defer the actual instantiation of structure element until the structure code is actually called.
+
+
defer(Function<T, K>, Map<K, IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Deprecated. +
renamed to partitionBy
+
+
+
defer(Function<T, K>, Map<K, IStructureElement<T>>, IStructureElement<T>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Deprecated. +
renamed to partitionBy
+
+
+
defer(Function<T, Integer>, IStructureElement<T>...) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Deprecated. +
renamed to partitionBy
+
+
+
defer(Function<T, Integer>, List<IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Deprecated. +
renamed to partitionBy
+
+
+
defer(BiFunction<T, ItemStack, IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This will defer the actual instantiation of structure element until the structure code is actually called.
+
+
defer(BiFunction<T, ItemStack, K>, Map<K, IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Deprecated. +
renamed to partitionBy
+
+
+
defer(BiFunction<T, ItemStack, K>, Map<K, IStructureElement<T>>, IStructureElement<T>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Deprecated. +
renamed to partitionBy
+
+
+
defer(BiFunction<T, ItemStack, Integer>, IStructureElement<T>...) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This is the switch block for structure code.
+
+
defer(BiFunction<T, ItemStack, Integer>, List<IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This is the switch block for structure code.
+
+
defer(Function<T, IStructureElement<T>>, BiFunction<T, ItemStack, IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This will defer the actual instantiation of structure element until the first time structure code is actually called.
+
+
defer(Function<T, K>, BiFunction<T, ItemStack, K>, Map<K, IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Deprecated. +
renamed to partitionBy
+
+
+
defer(Function<T, K>, BiFunction<T, ItemStack, K>, Map<K, IStructureElement<T>>, IStructureElement<T>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Deprecated. +
renamed to partitionBy
+
+
+
defer(Function<T, Integer>, BiFunction<T, ItemStack, Integer>, IStructureElement<T>...) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Deprecated. +
renamed to partitionBy
+
+
+
defer(Function<T, Integer>, BiFunction<T, ItemStack, Integer>, List<IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Deprecated. +
renamed to partitionBy
+
+
+
deny(ForgeDirection) - Method in class com.gtnewhorizon.structurelib.alignment.IAlignmentLimits.Builder
+
 
+
deny(ExtendedFacing) - Method in class com.gtnewhorizon.structurelib.alignment.IAlignmentLimits.Builder
+
 
+
deny(Rotation) - Method in class com.gtnewhorizon.structurelib.alignment.IAlignmentLimits.Builder
+
 
+
deny(Flip) - Method in class com.gtnewhorizon.structurelib.alignment.IAlignmentLimits.Builder
+
 
+
denyAll() - Static method in class com.gtnewhorizon.structurelib.alignment.IAlignmentLimits.Builder
+
 
+
denyOnly(ExtendedFacing...) - Static method in interface com.gtnewhorizon.structurelib.alignment.IAlignmentLimits
+
 
+
Direction - Enum in com.gtnewhorizon.structurelib.alignment.enumerable
+
 
+
DIRECTIONS_COUNT - Static variable in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
DISABLE_HACKY_MIGRATION_CODE - Static variable in interface com.gtnewhorizon.structurelib.alignment.constructable.ISurvivalConstructable
+
+
End player might want to disable this hack if it turns out to be too crashy
+
+
disableInstrument() - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Stop instrumenting.
+
+
distanceSq(Vec3Impl) - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
distanceSq(IPosition, boolean) - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
distanceSq(double, double, double, boolean) - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
+ + + +

E

+
+
enableInstrument(Object) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Start instrumenting for the current thread only.
+
+
endHinting(World) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
End current batch of hinting.
+
+
ensureDuplicates() - Method in class com.gtnewhorizon.structurelib.alignment.IAlignmentLimits.Builder
+
 
+
ensureNoDuplicates(Flip) - Method in class com.gtnewhorizon.structurelib.alignment.IAlignmentLimits.Builder
+
+
Prefers rotation to flip, so both flip will get translated to opposite rotation and no flip
+
+
equals(Object) - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
error() - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Check returns false.
+
+
errored - Static variable in class com.gtnewhorizon.structurelib.structure.IStructureElement.BlocksToPlace
+
 
+
ExtendedFacing - Enum in com.gtnewhorizon.structurelib.alignment.enumerable
+
 
+
extract(ItemStack, ItemStack, boolean, EntityPlayerMP) - Method in interface com.gtnewhorizon.structurelib.util.InventoryUtility.OptimizedExtractor
+
+
Extract a particular type of item.
+
+
+ + + +

F

+
+
fallbacks() - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElementChain
+
 
+
filter(Function<ExtendedFacing, Optional<Boolean>>) - Method in class com.gtnewhorizon.structurelib.alignment.IAlignmentLimits.Builder
+
 
+
fireEvent(World, int, int, int, int, int, int, IStructureElement<?>) - Static method in class com.gtnewhorizon.structurelib.StructureEvent.StructureElementVisitedEvent
+
+
Fire this event on MinecraftForge.EVENT_BUS by populating it with given arguments.
+
+
Flip - Enum in com.gtnewhorizon.structurelib.alignment.enumerable
+
 
+
FLIPS_COUNT - Static variable in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
FOR_FACING - Static variable in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
forEach(Consumer<? super V>) - Method in class com.gtnewhorizon.structurelib.util.SortedRegistry
+
 
+
from(Item) - Static method in class com.gtnewhorizon.structurelib.util.ItemStackPredicate
+
 
+
from(ItemStack) - Static method in class com.gtnewhorizon.structurelib.util.ItemStackPredicate
+
 
+
from(ItemStack, ItemStackPredicate.NBTMode) - Static method in class com.gtnewhorizon.structurelib.util.ItemStackPredicate
+
 
+
from(Block) - Static method in class com.gtnewhorizon.structurelib.util.ItemStackPredicate
+
 
+
fromInventory(IInventory) - Static method in interface com.gtnewhorizon.structurelib.structure.IItemSource
+
+
Construct an IItemSource from given inventory
+
+
fromLegacy(IItemSource, EntityPlayer, Consumer<IChatComponent>) - Static method in class com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment
+
 
+
fromPlayer(EntityPlayerMP) - Static method in interface com.gtnewhorizon.structurelib.structure.IItemSource
+
+
Construct an IItemSource from inventories associated with given player.
+
+
+ + + +

G

+
+
get(Class<?>) - Static method in interface com.gtnewhorizon.structurelib.alignment.constructable.IMultiblockInfoContainer
+
 
+
get(String) - Method in class com.gtnewhorizon.structurelib.util.SortedRegistry
+
 
+
get(int) - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
+
Gets the coordinate.
+
+
get0() - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
+
Gets the X coordinate.
+
+
get1() - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
+
Gets the Y coordinate.
+
+
get2() - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
+
Gets the Z coordinate.
+
+
getA() - Method in class com.gtnewhorizon.structurelib.StructureEvent.StructureElementVisitedEvent
+
+
A position in ABC coordinate, relative to (0,0,0) in the piece, i.e.
+
+
getActor() - Method in class com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment
+
+
The initiator of actions.
+
+
getActor() - Method in interface com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment
+
+
Get the origin of action.
+
+
getAlignment() - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
getAlignment() - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignmentProvider
+
 
+
getAlignmentIndex(ForgeDirection, Rotation, Flip) - Static method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
getAlignmentLimits() - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
getAllWith(ForgeDirection) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getAllWith(Rotation) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getAllWith(Flip) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getAPILevel() - Method in class com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment
+
 
+
getAxisVector() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Direction
+
 
+
getAxisVector(ForgeDirection) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Direction
+
 
+
getB() - Method in class com.gtnewhorizon.structurelib.StructureEvent.StructureElementVisitedEvent
+
+
B position in ABC coordinate, relative to (0,0,0) in the piece, i.e.
+
+
getBlockHint() - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Get the Block for StructureLib supplied hint block.
+
+
getBlocksToPlace(T, World, int, int, int, ItemStack, AutoPlaceEnvironment) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElement
+
+
A simplified version of survivalPlaceBlock.
+
+
getBlocksToPlace(T, World, int, int, int, ItemStack, AutoPlaceEnvironment) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElementChain
+
 
+
getByAxisVector(Vec3Impl) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Direction
+
 
+
getC() - Method in class com.gtnewhorizon.structurelib.StructureEvent.StructureElementVisitedEvent
+
+
C position in ABC coordinate, relative to (0,0,0) in the piece, i.e.
+
+
getChannelData(ItemStack, String) - Static method in class com.gtnewhorizon.structurelib.alignment.constructable.ChannelDataAccessor
+
+
Get the subchannel data from given trigger item.
+
+
getChatter() - Method in class com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment
+
+
send error messages here.
+
+
getConstructable() - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.IConstructableProvider
+
 
+
getCurrentContext() - Method in interface com.gtnewhorizon.structurelib.structure.IWithExtendedContext
+
 
+
getDescription(ItemStack) - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.IMultiblockInfoContainer
+
 
+
getDirection() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getDirection() - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
getDuplicate() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
+
Gets the same effective facing achieved by different rot/flip combo
+
+
getElement() - Method in class com.gtnewhorizon.structurelib.StructureEvent.StructureElementVisitedEvent
+
+
Element being visited.
+
+
getElements() - Method in class com.gtnewhorizon.structurelib.structure.StructureDefinition.Builder
+
 
+
getElements() - Method in class com.gtnewhorizon.structurelib.structure.StructureDefinition
+
 
+
getExtendedFacing() - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
getFacing() - Method in class com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment
+
 
+
getFlip() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getFlip() - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
getForgeDirection() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Direction
+
 
+
getFromPool(int, int, int) - Static method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
+
THIS WILL CAUSE THIS VECTOR TO PERMANENTLY RESIDE IN STATIC MEMORY.
+
+
getIndex() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getIndex() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Flip
+
 
+
getIndex() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Rotation
+
 
+
getInstrumentIdentifier() - Method in class com.gtnewhorizon.structurelib.StructureEvent
+
+
The instrument identifier.
+
+
getIntegerAxisSwap() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getInventory() - Method in class com.gtnewhorizon.structurelib.util.InventoryIterable
+
 
+
getInventory(EntityPlayerMP) - Method in interface com.gtnewhorizon.structurelib.util.InventoryUtility.InventoryProvider
+
 
+
getItem(ItemStack, ItemStack, boolean, EntityPlayerMP) - Method in interface com.gtnewhorizon.structurelib.util.InventoryUtility.ItemStackExtractor
+
+
Extract a particular type of item.
+
+
getItemBlockHint() - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Get the ItemBlock for StructureLib supplied hint block.
+
+
getItemMetaFromBlockMeta(Block, int) - Method in interface com.gtnewhorizon.structurelib.structure.ISpecialItemBlock
+
 
+
getLocalizedName() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getName() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Flip
+
 
+
getName() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Rotation
+
 
+
getName2() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getName2() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Flip
+
 
+
getName2() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Rotation
+
 
+
getOffsetABC(Vec3) - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
+
Translates world offset to relative front facing offset
+
+
getOffsetABC(Vec3Impl) - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getOffsetABC(int[], int[]) - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getOffsetABC(double[], double[]) - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getOpposite() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Flip
+
 
+
getOpposite() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Rotation
+
 
+
getOppositeDirection() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getOppositeFlip() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getOppositeRotation() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getPredicate() - Method in class com.gtnewhorizon.structurelib.structure.IStructureElement.BlocksToPlace
+
+
Get the blocks to place filter.
+
+
getPseudoJavaCode(World, ExtendedFacing, int, int, int, int, int, int, Function<? super TileEntity, String>, int, int, int, boolean) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Used only to get pseudo code in structure writer...
+
+
getRelativeBackInWorld() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getRelativeDownInWorld() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getRelativeForwardInWorld() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getRelativeLeftInWorld() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getRelativeRightInWorld() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getRelativeUpInWorld() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getRotation() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getRotation() - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
getSeed() - Method in class com.gtnewhorizon.structurelib.util.XSTR
+
+
Returns the current state of the seed, can be used to clone the object
+
+
getShapes() - Method in class com.gtnewhorizon.structurelib.structure.StructureDefinition.Builder
+
 
+
getShapes() - Method in class com.gtnewhorizon.structurelib.structure.StructureDefinition
+
 
+
getSource() - Method in class com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment
+
+
From where survival autoplace will drain resources.
+
+
getSource() - Method in interface com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment
+
+
Get the source of the items.
+
+
getStackExtractors() - Static method in class com.gtnewhorizon.structurelib.util.InventoryUtility
+
 
+
getStacks() - Method in class com.gtnewhorizon.structurelib.structure.IStructureElement.BlocksToPlace
+
+
Get the ItemStacks that this one is known to accept.
+
+
getStacks() - Method in class com.gtnewhorizon.structurelib.util.ItemStackArrayIterable
+
 
+
getStepA() - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElement
+
 
+
getStepB() - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElement
+
 
+
getStepC() - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElement
+
 
+
getStructureDefinition() - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.IConstructable
+
+
Get the structure definition used for this constructable.
+
+
getStructureDescription(ItemStack) - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.IConstructable
+
 
+
getStructureFor(String) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureDefinition
+
+
Used internally
+
+
getStructureFor(String) - Method in class com.gtnewhorizon.structurelib.structure.StructureDefinition
+
 
+
getStructures() - Method in class com.gtnewhorizon.structurelib.structure.StructureDefinition
+
 
+
getTagKeys(NBTTagCompound) - Static method in class com.gtnewhorizon.structurelib.util.MiscUtils
+
 
+
getWorld() - Method in class com.gtnewhorizon.structurelib.StructureEvent.StructureElementVisitedEvent
+
+
Location of this event.
+
+
getWorldDirection(ForgeDirection) - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
+
do note the ABC coordinate system is (X, -Y, Z).
+
+
getWorldOffset(Vec3) - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
+
Translates relative to front facing offset to world offset
+
+
getWorldOffset(Vec3Impl) - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getWorldOffset(int[], int[]) - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getWorldOffset(double[], double[]) - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
getX() - Method in class com.gtnewhorizon.structurelib.StructureEvent.StructureElementVisitedEvent
+
+
Location of this event.
+
+
getY() - Method in class com.gtnewhorizon.structurelib.StructureEvent.StructureElementVisitedEvent
+
+
Location of this event.
+
+
getZ() - Method in class com.gtnewhorizon.structurelib.StructureEvent.StructureElementVisitedEvent
+
+
Location of this event.
+
+
+ + + +

H

+
+
handle(EntityPlayer, World, int, int, int) - Static method in class com.gtnewhorizon.structurelib.alignment.AlignmentUtility
+
 
+
handle(ItemStack, EntityPlayer, World, int, int, int, int) - Static method in class com.gtnewhorizon.structurelib.alignment.constructable.ConstructableUtility
+
 
+
hashCode() - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
hasSubChannel(ItemStack) - Static method in class com.gtnewhorizon.structurelib.alignment.constructable.ChannelDataAccessor
+
+
Check if given trigger item contains any subchannel
+
+
hasSubChannel(ItemStack, String) - Static method in class com.gtnewhorizon.structurelib.alignment.constructable.ChannelDataAccessor
+
+
Check if given trigger item contains specified subchannel
+
+
HINT_BLOCK_META_AIR - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
HINT_BLOCK_META_DEFAULT - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
HINT_BLOCK_META_ERROR - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
HINT_BLOCK_META_GENERIC_0 - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
HINT_BLOCK_META_GENERIC_1 - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
HINT_BLOCK_META_GENERIC_10 - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
HINT_BLOCK_META_GENERIC_11 - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
HINT_BLOCK_META_GENERIC_2 - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
HINT_BLOCK_META_GENERIC_3 - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
HINT_BLOCK_META_GENERIC_4 - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
HINT_BLOCK_META_GENERIC_5 - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
HINT_BLOCK_META_GENERIC_6 - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
HINT_BLOCK_META_GENERIC_7 - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
HINT_BLOCK_META_GENERIC_8 - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
HINT_BLOCK_META_GENERIC_9 - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
HINT_BLOCK_META_NOT_AIR - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
hintParticle(World, int, int, int, IIcon[]) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Generate a new hint particle on client side at given location using given textures.
+
+
hintParticle(World, int, int, int, Block, int) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Generate a new hint particle on client side at given location using textures from given block.
+
+
hintParticleTinted(World, int, int, int, IIcon[], short[]) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Generate a new hint particle on client side at given location using given textures with a tint.
+
+
hintParticleTinted(World, int, int, int, Block, int, short[]) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Generate a new hint particle on client side at given location using textures from given block with a tint.
+
+
hints(T, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureDefinition
+
+
Spawn hint particles.
+
+
+ + + +

I

+
+
IAlignment - Interface in com.gtnewhorizon.structurelib.alignment
+
 
+
IAlignmentLimits - Interface in com.gtnewhorizon.structurelib.alignment
+
 
+
IAlignmentLimits.Builder - Class in com.gtnewhorizon.structurelib.alignment
+
 
+
IAlignmentProvider - Interface in com.gtnewhorizon.structurelib.alignment
+
 
+
IBlockAdder<T> - Interface in com.gtnewhorizon.structurelib.structure.adders
+
 
+
IBlockPosConsumer - Interface in com.gtnewhorizon.structurelib.structure
+
 
+
IConstructable - Interface in com.gtnewhorizon.structurelib.alignment.constructable
+
+
Created by Tec on 24.03.2017.
+
+
IConstructableProvider - Interface in com.gtnewhorizon.structurelib.alignment.constructable
+
+
Implement this interface if this tile entity MIGHT be constructable
+
+
ICustomBlockSetting - Interface in com.gtnewhorizon.structurelib.structure
+
 
+
ignoreMeta() - Method in class com.gtnewhorizon.structurelib.util.ItemStackPredicate
+
 
+
IItemSource - Interface in com.gtnewhorizon.structurelib.structure
+
+
Represent an item source.
+
+
IMultiblockInfoContainer<T> - Interface in com.gtnewhorizon.structurelib.alignment.constructable
+
+
To implement IConstructable on not own TileEntities
+
+
IntegerAxisSwap - Class in com.gtnewhorizon.structurelib.alignment
+
 
+
IntegerAxisSwap(ForgeDirection, ForgeDirection, ForgeDirection) - Constructor for class com.gtnewhorizon.structurelib.alignment.IntegerAxisSwap
+
 
+
InventoryIterable<Inv extends IInventory> - Class in com.gtnewhorizon.structurelib.util
+
 
+
InventoryIterable(Inv) - Constructor for class com.gtnewhorizon.structurelib.util.InventoryIterable
+
 
+
InventoryUtility - Class in com.gtnewhorizon.structurelib.util
+
+
This class is part of API, but is not stable.
+
+
InventoryUtility() - Constructor for class com.gtnewhorizon.structurelib.util.InventoryUtility
+
 
+
InventoryUtility.InventoryProvider<R extends Iterable<ItemStack>> - Interface in com.gtnewhorizon.structurelib.util
+
 
+
InventoryUtility.ItemStackCounter - Interface in com.gtnewhorizon.structurelib.util
+
 
+
InventoryUtility.ItemStackExtractor - Interface in com.gtnewhorizon.structurelib.util
+
 
+
InventoryUtility.ItemStackExtractor.APIType - Enum in com.gtnewhorizon.structurelib.util
+
 
+
InventoryUtility.OptimizedExtractor - Interface in com.gtnewhorizon.structurelib.util
+
 
+
inverseTranslate(Vec3Impl) - Method in class com.gtnewhorizon.structurelib.alignment.IntegerAxisSwap
+
 
+
inverseTranslate(Vec3) - Method in class com.gtnewhorizon.structurelib.alignment.IntegerAxisSwap
+
 
+
inverseTranslate(int[], int[]) - Method in class com.gtnewhorizon.structurelib.alignment.IntegerAxisSwap
+
 
+
inverseTranslate(double[], double[]) - Method in class com.gtnewhorizon.structurelib.alignment.IntegerAxisSwap
+
 
+
isAir() - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Return a structure element that only allow air (or air equivalents, like Railcraft hidden blocks).
+
+
isAPIImplemented(InventoryUtility.ItemStackExtractor.APIType) - Method in interface com.gtnewhorizon.structurelib.util.InventoryUtility.ItemStackExtractor
+
 
+
isBlockTriviallyReplaceable(World, int, int, int, EntityPlayerMP) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Deprecated.
+
+
isBlockTriviallyReplaceable(World, int, int, int, EntityPlayer) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Determines if given block can be replaced without much effort.
+
+
isBothFlipped() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Flip
+
 
+
isClockwise() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Rotation
+
 
+
isContainedInPiece(int, int, int) - Method in class com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment
+
+
Test if given location is contained within the current piece.
+
+
isContainedInStructure(String, int, int, int) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureDefinition
+
 
+
isContainedInStructure(String, int, int, int) - Method in class com.gtnewhorizon.structurelib.structure.StructureDefinition
+
 
+
isCounterClockwise() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Rotation
+
 
+
isDebugEnabled() - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Check if structure debug mode is on.
+
+
isEmpty() - Method in class com.gtnewhorizon.structurelib.util.SortedRegistry
+
 
+
isExtendedFacingValid() - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
isHorizontallyFlipped() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Flip
+
 
+
isInstrumentEnabled() - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Check if instrumenting is enabled.
+
+
isNavigating() - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElement
+
 
+
isNewDirectionValid(ForgeDirection) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
isNewExtendedFacingValid(ForgeDirection, Rotation, Flip) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
isNewExtendedFacingValid(ExtendedFacing) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
isNewExtendedFacingValid(ForgeDirection, Rotation, Flip) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignmentLimits
+
 
+
isNewExtendedFacingValid(ExtendedFacing) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignmentLimits
+
 
+
isNewFlipValid(Flip) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
isNewRotationValid(Rotation) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
isNotFlipped() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Flip
+
 
+
isNotRotated() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Rotation
+
 
+
ISpecialItemBlock - Interface in com.gtnewhorizon.structurelib.structure
+
 
+
IStructureDefinition<T> - Interface in com.gtnewhorizon.structurelib.structure
+
+
This is the structure definition of your multi.
+
+
IStructureElement<T> - Interface in com.gtnewhorizon.structurelib.structure
+
+
Use StructureUtility to instantiate.
+
+
IStructureElement.BlocksToPlace - Class in com.gtnewhorizon.structurelib.structure
+
 
+
IStructureElement.PlaceResult - Enum in com.gtnewhorizon.structurelib.structure
+
 
+
IStructureElementChain<T> - Interface in com.gtnewhorizon.structurelib.structure
+
+
Use StructureUtility to instantiate
+
+
IStructureElementCheckOnly<T> - Interface in com.gtnewhorizon.structurelib.structure
+
 
+
IStructureElementDeferred<T> - Interface in com.gtnewhorizon.structurelib.structure
+
+
Use StructureUtility to instantiate
+
+
IStructureElementNoPlacement<T> - Interface in com.gtnewhorizon.structurelib.structure
+
 
+
isUpsideDown() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Rotation
+
 
+
ISurvivalBuildEnvironment - Interface in com.gtnewhorizon.structurelib.structure
+
 
+
ISurvivalConstructable - Interface in com.gtnewhorizon.structurelib.alignment.constructable
+
+
An extension to IConstructable.
+
+
isVerticallyFliped() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Flip
+
 
+
ItemStackArrayIterable - Class in com.gtnewhorizon.structurelib.util
+
 
+
ItemStackArrayIterable(ItemStack[]) - Constructor for class com.gtnewhorizon.structurelib.util.ItemStackArrayIterable
+
 
+
ItemStackPredicate - Class in com.gtnewhorizon.structurelib.util
+
 
+
ItemStackPredicate.NBTMode - Enum in com.gtnewhorizon.structurelib.util
+
 
+
iterate(T, ItemStack, IStructureElement<T>[], World, ExtendedFacing, int, int, int, int, int, int, boolean, Boolean) - Static method in interface com.gtnewhorizon.structurelib.structure.IStructureDefinition
+
+
Low level utility.
+
+
iterate(World, ExtendedFacing, int, int, int, int, int, int, int, int, int, IBlockPosConsumer) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
 
+
iterate(World, ExtendedFacing, int, int, int, int, int, int, boolean, int, int, int, IBlockPosConsumer, Runnable, Runnable) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
 
+
iterateChannelData(ItemStack) - Static method in class com.gtnewhorizon.structurelib.alignment.constructable.ChannelDataAccessor
+
+
Iterate over all subchannel data on trigger stack.
+
+
iterator() - Method in class com.gtnewhorizon.structurelib.util.InventoryIterable
+
 
+
iterator() - Method in class com.gtnewhorizon.structurelib.util.ItemStackArrayIterable
+
 
+
iterator() - Method in class com.gtnewhorizon.structurelib.util.SortedRegistry
+
 
+
ITierConverter<TIER> - Interface in com.gtnewhorizon.structurelib.structure
+
+
a function to extract tier info from a block.
+
+
ITileAdder<T> - Interface in com.gtnewhorizon.structurelib.structure.adders
+
 
+
IWithExtendedContext<CTX> - Interface in com.gtnewhorizon.structurelib.structure
+
+
Implement this and use StructureUtility.withContext(IStructureElement) in case you need to record some + temporary states that don't need to live in your main context, which would usually live for the whole lifetime of the + structure than just during structure check.
+
+
+ + + +

L

+
+
lazy(Supplier<IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Similar to defer, but caches the first returned element returned and won't call it again.
+
+
lazy(Function<T, IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This will defer the actual instantiation of structure element until the first time structure code is actually called.
+
+
+ + + +

M

+
+
manhattanDistance(Vec3Impl) - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
markDirty(R) - Method in interface com.gtnewhorizon.structurelib.util.InventoryUtility.InventoryProvider
+
 
+
markHintParticleError(EntityPlayer, World, int, int, int) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Update the tint of given hint particle.
+
+
MiscUtils - Class in com.gtnewhorizon.structurelib.util
+
+
not related to a certain mod!
+
+
MOD_ID - Static variable in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
MULTIBLOCK_MAP - Static variable in interface com.gtnewhorizon.structurelib.alignment.constructable.IMultiblockInfoContainer
+
 
+
+ + + +

N

+
+
newInventoryProvider(Function<EntityPlayerMP, ? extends Inv>) - Static method in class com.gtnewhorizon.structurelib.util.InventoryUtility
+
 
+
newItemStackProvider(Function<ItemStack, ? extends IInventory>) - Static method in class com.gtnewhorizon.structurelib.util.InventoryUtility
+
 
+
next(int) - Method in class com.gtnewhorizon.structurelib.util.XSTR
+
+
Implementation of George Marsaglia's elegant Xorshift random generator + 30% faster and better quality than the built-in java.util.random see also + see http://www.javamex.com/tutorials/random_numbers/xorshift.shtml
+
+
nextBoolean() - Method in class com.gtnewhorizon.structurelib.util.XSTR
+
 
+
nextBytes(byte[]) - Method in class com.gtnewhorizon.structurelib.util.XSTR
+
 
+
nextDouble() - Method in class com.gtnewhorizon.structurelib.util.XSTR
+
 
+
nextFloat() - Method in class com.gtnewhorizon.structurelib.util.XSTR
+
 
+
nextGaussian() - Method in class com.gtnewhorizon.structurelib.util.XSTR
+
 
+
nextInt(int) - Method in class com.gtnewhorizon.structurelib.util.XSTR
+
+
Returns a pseudorandom, uniformly distributed int value between 0 + (inclusive) and the specified value (exclusive), drawn from this random + number generator's sequence.
+
+
nextInt() - Method in class com.gtnewhorizon.structurelib.util.XSTR
+
 
+
nextLong() - Method in class com.gtnewhorizon.structurelib.util.XSTR
+
 
+
noPlacement() - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElement
+
+
Forget the messed up class dependency graph for now.
+
+
noPlacement() - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElementNoPlacement
+
 
+
notAir() - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Return a structure element that allow anything but air (or air equivalents, like Railcraft hidden blocks).
+
+
NULL_VECTOR - Static variable in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
+ + + +

O

+
+
of(ForgeDirection, Rotation, Flip) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
of(ForgeDirection) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
ofBlock(Block, int, Block, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Accept a block.
+
+
ofBlock(Block, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Accept a single block with a fixed meta.
+
+
ofBlockAdder(IBlockAdder<T>, Block, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Add a block using block adder.
+
+
ofBlockAdder(IBlockAdder<T>, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
 
+
ofBlockAdderHint(IBlockAdder<T>, Block, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Add a block using block adder.
+
+
ofBlockAnyMeta(Block, Block, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Same as StructureUtility.ofBlock(Block, int, Block, int) but ignores target meta id
+
+
ofBlockAnyMeta(Block) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Accept a single block, but accept any meta.
+
+
ofBlockAnyMeta(Block, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Accept a single block, but accept any meta.
+
+
ofBlockHint(Block, int, Block, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Accept one (block, meta).
+
+
ofBlockHint(Block, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Accept one (block, meta).
+
+
ofBlocksFlat(Map<Block, Integer>, Block, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Accept a set of blocks.
+
+
ofBlocksFlatHint(Map<Block, Integer>, Block, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Accept a set of blocks.
+
+
ofBlocksMap(Map<Block, Collection<Integer>>, Block, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Accept a set of blocks.
+
+
ofBlocksMapHint(Map<Block, Collection<Integer>>, Block, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Accept a set of blocks.
+
+
ofBlocksTiered(ITierConverter<TIER>, TIER, BiConsumer<T, TIER>, Function<T, TIER>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
A more primitive variant of StructureUtility.ofBlocksTiered(ITierConverter, List, Object, BiConsumer, Function) + Main difference is this one is check only.
+
+
ofBlocksTiered(ITierConverter<TIER>, List<Pair<Block, Integer>>, TIER, BiConsumer<T, TIER>, Function<T, TIER>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Element representing a component with different tiers.
+
+
ofBlockUnlocalizedName(String, String, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Denote a block using unlocalized names.
+
+
ofBlockUnlocalizedName(String, String, int, boolean) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Denote a block using unlocalized names.
+
+
ofBlockUnlocalizedName(String, String, int, IStructureElement<T>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Similiar to the other overload, but allows client code to specify a fallback in case said block was not found later + when the element got called.
+
+
ofChain(IStructureElement<T>...) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This allows you to compose different IStructureElement to form a OR chain.
+
+
ofChain(List<IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This allows you to compose different IStructureElement to form a OR chain.
+
+
offset(ForgeDirection, int) - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
ofHint(int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Spawn a hint with given amount of dots.
+
+
ofHintDeferred(Supplier<IIcon[]>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Spawn a hint with given textures.
+
+
ofHintDeferred(Supplier<IIcon[]>, short[]) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Spawn a hint with given amount of textures and tint.
+
+
ofSpecificTileAdder(BiPredicate<T, E>, Class<E>, Block, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Try to add a structure element with a particular type of tile entity.
+
+
ofTileAdder(ITileAdder<T>, Block, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Try to add a structure element with a tile entity.
+
+
onElementFail(Consumer<T>, B) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Call a callback if downstream element returned false in check.
+
+
onElementPass(Consumer<T>, B) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Call a callback if downstream element returned true in check.
+
+
onlyIf(Predicate<? super T>, IStructureElement<? super T>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Enable this structure element only if given predicate returns true.
+
+
onlyIf(Predicate<? super T>, IStructureElement<? super T>, IStructureElement.PlaceResult) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Enable this structure element only if given predicate returns true.
+
+
+ + + +

P

+
+
partitionBy(Function<T, K>, Map<K, IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This is the switch block for structure code.
+
+
partitionBy(Function<T, K>, Map<K, IStructureElement<T>>, IStructureElement<T>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This is the switch block for structure code, with default case support.
+
+
partitionBy(Function<T, Integer>, IStructureElement<T>...) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This is the switch block for structure code.
+
+
partitionBy(Function<T, Integer>, List<IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This is the switch block for structure code.
+
+
partitionBy(BiFunction<T, ItemStack, K>, Map<K, IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This is the switch block for structure code.
+
+
partitionBy(BiFunction<T, ItemStack, K>, Map<K, IStructureElement<T>>, IStructureElement<T>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This is the switch block for structure code, with default case support.
+
+
partitionBy(Function<T, K>, BiFunction<T, ItemStack, K>, Map<K, IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This is the switch block for structure code.
+
+
partitionBy(Function<T, K>, BiFunction<T, ItemStack, K>, Map<K, IStructureElement<T>>, IStructureElement<T>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This is the switch block for structure code, with default case.
+
+
partitionBy(Function<T, Integer>, BiFunction<T, ItemStack, Integer>, IStructureElement<T>...) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This is the switch block for structure code, with default case.
+
+
partitionBy(Function<T, Integer>, BiFunction<T, ItemStack, Integer>, List<IStructureElement<T>>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
This is the switch block for structure code, with default case.
+
+
placeBlock(T, World, int, int, int, ItemStack) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElement
+
 
+
placeBlock(T, World, int, int, int, ItemStack) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElementChain
+
 
+
placeBlock(T, World, int, int, int, ItemStack) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElementCheckOnly
+
 
+
placeBlock(T, World, int, int, int, ItemStack) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElementNoPlacement
+
 
+
+ + + +

Q

+
+
queryAlignment(IAlignmentProvider) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Query the ExtendedFacing of this tile entity from client side.
+
+
+ + + +

R

+
+
random(Random) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
random(Random) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Flip
+
 
+
random(Random) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Rotation
+
 
+
register(String, V) - Method in class com.gtnewhorizon.structurelib.util.SortedRegistry
+
 
+
registerEnableEnderCondition(Predicate<? super EntityPlayerMP>) - Static method in class com.gtnewhorizon.structurelib.util.InventoryUtility
+
 
+
registerInventoryProvider(String, InventoryUtility.InventoryProvider<?>) - Static method in class com.gtnewhorizon.structurelib.util.InventoryUtility
+
 
+
registerInventoryProvider(String, Function<EntityPlayerMP, ? extends Inv>) - Static method in class com.gtnewhorizon.structurelib.util.InventoryUtility
+
 
+
registerStackExtractor(String, InventoryUtility.ItemStackExtractor) - Static method in class com.gtnewhorizon.structurelib.util.InventoryUtility
+
 
+
registerStackExtractor(String, Function<ItemStack, ? extends Inv>) - Static method in class com.gtnewhorizon.structurelib.util.InventoryUtility
+
 
+
registerTileClass(Class<T>, IMultiblockInfoContainer<?>) - Static method in interface com.gtnewhorizon.structurelib.alignment.constructable.IMultiblockInfoContainer
+
+
There is no specific loading phase restriction, but you should generally not call it before the tile entity is + properly registered.
+
+
resetA() - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElement
+
 
+
resetB() - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElement
+
 
+
resetC() - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElement
+
 
+
Rotation - Enum in com.gtnewhorizon.structurelib.alignment.enumerable
+
 
+
ROTATIONS_COUNT - Static variable in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
+ + + +

S

+
+
sendAlignment(IAlignmentProvider) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Send the ExtendedFacing of this Tile Entity to all players.
+
+
sendAlignment(IAlignmentProvider, EntityPlayerMP) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Send the ExtendedFacing of this Tile Entity to given player.
+
+
sendAlignment(IAlignmentProvider, NetworkRegistry.TargetPoint) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Send the ExtendedFacing of this Tile Entity to all players around target point.
+
+
sendAlignment(IAlignmentProvider, World) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Send the ExtendedFacing of this Tile Entity to all players in that dimension.
+
+
setBlock(World, int, int, int, int) - Method in interface com.gtnewhorizon.structurelib.structure.ICustomBlockSetting
+
+
Default block setting calls World.setBlock(int x, int y, int z, Block block, int meta, int updateType) like: + world.setBlock(x,y,z,this/block,meta,2) where updateType 2 means to update lighting and stuff
+
+
setChannelData(ItemStack, String, int) - Static method in class com.gtnewhorizon.structurelib.alignment.constructable.ChannelDataAccessor
+
+
Set the subchannel data on given trigger item
+
+
setDebugEnabled(boolean) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
setDirection(ForgeDirection) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
setExtendedFacing(ExtendedFacing) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
+
Set the facing without additional checks.
+
+
setFlip(Flip) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
setMeta(int) - Method in class com.gtnewhorizon.structurelib.util.ItemStackPredicate
+
 
+
setRotation(Rotation) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
setSeed(long) - Method in class com.gtnewhorizon.structurelib.util.XSTR
+
+
Sets the seed for this pseudo random number generator.
+
+
setTag(ItemStackPredicate.NBTMode, NBTTagCompound) - Method in class com.gtnewhorizon.structurelib.util.ItemStackPredicate
+
 
+
size() - Method in class com.gtnewhorizon.structurelib.util.SortedRegistry
+
 
+
SortedRegistry<V> - Class in com.gtnewhorizon.structurelib.util
+
 
+
SortedRegistry() - Constructor for class com.gtnewhorizon.structurelib.util.SortedRegistry
+
 
+
spawnHint(T, World, int, int, int, ItemStack) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElement
+
 
+
spawnHint(T, World, int, int, int, ItemStack) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElementChain
+
 
+
spawnHint(T, World, int, int, int, ItemStack) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElementCheckOnly
+
 
+
spliterator() - Method in class com.gtnewhorizon.structurelib.util.SortedRegistry
+
 
+
startHinting(World) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Start a batch of hinting.
+
+
STATES_COUNT - Static variable in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
STATES_COUNT - Static variable in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
step(int, int, int) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Used internally, to generate skips for structure definitions
+
+
step(Vec3Impl) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Used internally, to generate skips for structure definitions
+
+
StructureDefinition<T> - Class in com.gtnewhorizon.structurelib.structure
+
 
+
StructureDefinition.Builder<T> - Class in com.gtnewhorizon.structurelib.structure
+
 
+
StructureEvent - Class in com.gtnewhorizon.structurelib
+
+
Subscribers are required to not keep reference to these events, nor to depend on values of these events after + the method call returns.
+
+
StructureEvent.StructureElementVisitedEvent - Class in com.gtnewhorizon.structurelib
+
+
Fired just before any structure element is visited.
+
+
StructureLibAPI - Class in com.gtnewhorizon.structurelib
+
+
A stable interface into the structure lib's internals.
+
+
StructureLibAPI() - Constructor for class com.gtnewhorizon.structurelib.StructureLibAPI
+
 
+
StructureUtility - Class in com.gtnewhorizon.structurelib.structure
+
+
A brief index of everything contained
+
+
sub(Vec3Impl) - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
sub(int, int, int) - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
survivalBuild(T, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int, int, IItemSource, EntityPlayerMP, boolean) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureDefinition
+
+
Deprecated.
+
+
survivalBuild(T, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int, int, ISurvivalBuildEnvironment, boolean) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureDefinition
+
+
Cause a survival build.
+
+
survivalConstruct(ItemStack, int, IItemSource, EntityPlayerMP, T, ExtendedFacing) - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.IMultiblockInfoContainer
+
+ +
+
survivalConstruct(ItemStack, int, IItemSource, EntityPlayerMP) - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.ISurvivalConstructable
+
+
Deprecated.
+
+
survivalConstruct(ItemStack, int, ISurvivalBuildEnvironment) - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.ISurvivalConstructable
+
+ +
+
survivalPlaceBlock(T, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer<IChatComponent>) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElement
+
+
Deprecated. +
caller should call the non deprecated overload. implementor for reusable IStructureElement + should still implement this. implementor for private implementations can freely ignore this as long as you know + the caller will not call this overload.
+
+
+
survivalPlaceBlock(T, World, int, int, int, ItemStack, AutoPlaceEnvironment) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElement
+
+
Try place the block by taking resource from given IItemSource.
+
+
survivalPlaceBlock(T, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer<IChatComponent>) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElementChain
+
 
+
survivalPlaceBlock(T, World, int, int, int, ItemStack, AutoPlaceEnvironment) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElementChain
+
 
+
survivalPlaceBlock(T, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer<IChatComponent>) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElementCheckOnly
+
 
+
survivalPlaceBlock(T, World, int, int, int, ItemStack, AutoPlaceEnvironment) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElementCheckOnly
+
 
+
survivalPlaceBlock(T, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer<IChatComponent>) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElementNoPlacement
+
 
+
survivalPlaceBlock(T, World, int, int, int, ItemStack, AutoPlaceEnvironment) - Method in interface com.gtnewhorizon.structurelib.structure.IStructureElementNoPlacement
+
 
+
survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, EntityPlayerMP) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+ +
+
survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, EntityPlayer) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+ +
+
survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, EntityPlayerMP, Consumer<IChatComponent>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+ +
+
survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, EntityPlayer, Consumer<IChatComponent>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+ +
+
survivalPlaceBlock(ItemStack, ItemStackPredicate.NBTMode, NBTTagCompound, boolean, World, int, int, int, IItemSource, EntityPlayerMP) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+ +
+
survivalPlaceBlock(ItemStack, ItemStackPredicate.NBTMode, NBTTagCompound, boolean, World, int, int, int, IItemSource, EntityPlayer) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+ +
+
survivalPlaceBlock(ItemStack, ItemStackPredicate.NBTMode, NBTTagCompound, boolean, World, int, int, int, IItemSource, EntityPlayerMP, Consumer<IChatComponent>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+ +
+
survivalPlaceBlock(ItemStack, ItemStackPredicate.NBTMode, NBTTagCompound, boolean, World, int, int, int, IItemSource, EntityPlayer, Consumer<IChatComponent>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+ +
+
+ + + +

T

+
+
take(Predicate<ItemStack>, boolean, int) - Method in interface com.gtnewhorizon.structurelib.structure.IItemSource
+
+
Retrieve some amount of items from this item source matching given filter.
+
+
takeAll(Predicate<ItemStack>, boolean, int) - Method in interface com.gtnewhorizon.structurelib.structure.IItemSource
+
+
Take exactly count amount of items matching predicate.
+
+
takeAll(ItemStack, boolean) - Method in interface com.gtnewhorizon.structurelib.structure.IItemSource
+
+
Take some item.
+
+
takeFromInventory(EntityPlayerMP, Predicate<ItemStack>, boolean, int) - Static method in class com.gtnewhorizon.structurelib.util.InventoryUtility
+
+
take count amount of stacks that matches given filter.
+
+
takeFromInventory(EntityPlayerMP, ItemStack, boolean) - Static method in class com.gtnewhorizon.structurelib.util.InventoryUtility
+
+
take count amount of stacks that matches given filter.
+
+
takeFromInventory(Iterable<ItemStack>, Predicate<ItemStack>, boolean, int, boolean) - Static method in class com.gtnewhorizon.structurelib.util.InventoryUtility
+
+
take count amount of stacks that matches given filter.
+
+
takeFromStack(Predicate<ItemStack>, boolean, int, InventoryUtility.ItemStackCounter, ItemStack, ItemStack, EntityPlayerMP) - Method in interface com.gtnewhorizon.structurelib.util.InventoryUtility.ItemStackExtractor
+
+
Extract a particular type of item.
+
+
takeOne(Predicate<ItemStack>, boolean) - Method in interface com.gtnewhorizon.structurelib.structure.IItemSource
+
+
Take exactly one item that matches the predicate.
+
+
takeOne(ItemStack, boolean) - Method in interface com.gtnewhorizon.structurelib.structure.IItemSource
+
+
Take exactly one item.
+
+
test(ItemStack) - Method in class com.gtnewhorizon.structurelib.util.ItemStackPredicate
+
 
+
toConstructable(T, ExtendedFacing) - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.IMultiblockInfoContainer
+
+ +
+
toConstructable(IMultiblockInfoContainer<T>, T, ExtendedFacing) - Static method in interface com.gtnewhorizon.structurelib.alignment.constructable.IMultiblockInfoContainer
+
 
+
toolSetDirection(ForgeDirection) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
toolSetExtendedFacing(ExtendedFacing) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
toolSetFlip(Flip) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
toolSetRotation(Rotation) - Method in interface com.gtnewhorizon.structurelib.alignment.IAlignment
+
 
+
toString() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Flip
+
 
+
toString() - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Rotation
+
 
+
toString() - Method in class com.gtnewhorizon.structurelib.StructureEvent.StructureElementVisitedEvent
+
 
+
toString() - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
translate(Vec3Impl) - Method in class com.gtnewhorizon.structurelib.alignment.IntegerAxisSwap
+
 
+
translate(Vec3) - Method in class com.gtnewhorizon.structurelib.alignment.IntegerAxisSwap
+
 
+
translate(int[], int[]) - Method in class com.gtnewhorizon.structurelib.alignment.IntegerAxisSwap
+
 
+
translate(double[], double[]) - Method in class com.gtnewhorizon.structurelib.alignment.IntegerAxisSwap
+
 
+
transpose(String[][]) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Transposes shape (swaps B and C axis, can be used to un-transpose transposed shape) + WARNING! Do not use on old api...
+
+
+ + + +

U

+
+
UNLIMITED - Static variable in interface com.gtnewhorizon.structurelib.alignment.IAlignmentLimits
+
 
+
unsetChannelData(ItemStack, String) - Static method in class com.gtnewhorizon.structurelib.alignment.constructable.ChannelDataAccessor
+
+
Clear the given subchannel from given trigger item, if it exists
+
+
updateHintParticleTint(EntityPlayer, World, int, int, int, short[]) - Static method in class com.gtnewhorizon.structurelib.StructureLibAPI
+
+
Update the tint of given hint particle.
+
+
+ + + +

V

+
+
validStates - Variable in class com.gtnewhorizon.structurelib.alignment.IAlignmentLimits.Builder
+
 
+
valueOf(String) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Direction
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Flip
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Rotation
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment.APILevel
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.gtnewhorizon.structurelib.structure.IStructureElement.PlaceResult
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.gtnewhorizon.structurelib.util.InventoryUtility.ItemStackExtractor.APIType
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.gtnewhorizon.structurelib.util.ItemStackPredicate.NBTMode
+
+
Returns the enum constant of this type with the specified name.
+
+
VALUES - Static variable in enum com.gtnewhorizon.structurelib.alignment.enumerable.Direction
+
 
+
values() - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Direction
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
VALUES - Static variable in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
values() - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
VALUES - Static variable in enum com.gtnewhorizon.structurelib.alignment.enumerable.Flip
+
 
+
values() - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Flip
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
VALUES - Static variable in enum com.gtnewhorizon.structurelib.alignment.enumerable.Rotation
+
 
+
values() - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.Rotation
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment.APILevel
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.gtnewhorizon.structurelib.structure.IStructureElement.PlaceResult
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.gtnewhorizon.structurelib.util.InventoryUtility.ItemStackExtractor.APIType
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.gtnewhorizon.structurelib.util.ItemStackPredicate.NBTMode
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
Vec3Impl - Class in com.gtnewhorizon.structurelib.util
+
 
+
Vec3Impl(int, int, int) - Constructor for class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
+ + + +

W

+
+
wipeChannelData(ItemStack) - Static method in class com.gtnewhorizon.structurelib.alignment.constructable.ChannelDataAccessor
+
+
Wipe all subchannel data on given trigger item
+
+
with(ForgeDirection) - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
with(Rotation) - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
with(Flip) - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
+
 
+
withActor(EntityPlayer) - Method in class com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment
+
+
Return a new instance with actor modified to given value.
+
+
withChannel(ItemStack, String) - Static method in class com.gtnewhorizon.structurelib.alignment.constructable.ChannelDataAccessor
+
+
Return a trigger item that + + Still carry all the subchannel in some unspecified ways + Have its master channel data replaced with specified subchannel's data + + + If given subchannel does not exist, masterStack may or may not be returned to save performance.
+
+
withChannel(String, IStructureElement<T>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
See channels.md in docs folder
+
+
withChatter(Consumer<IChatComponent>) - Method in class com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment
+
+
Return a new instance with chatter modified to given value.
+
+
withContext(IStructureElement<CTX>) - Static method in class com.gtnewhorizon.structurelib.structure.StructureUtility
+
+
Switch to the extended context object in the downstream element
+
+
withinDistance(Vec3Impl, double) - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
withinDistance(IPosition, double) - Method in class com.gtnewhorizon.structurelib.util.Vec3Impl
+
 
+
withSource(IItemSource) - Method in class com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment
+
+
Return a new instance with source modified to given value.
+
+
+ + + +

X

+
+
XSTR - Class in com.gtnewhorizon.structurelib.util
+
+
XSTR - Xorshift ThermiteRandom + Modified by Bogdan-G + 03.06.2016 + version 0.0.4
+
+
XSTR() - Constructor for class com.gtnewhorizon.structurelib.util.XSTR
+
+
Creates a new pseudo random number generator.
+
+
XSTR(long) - Constructor for class com.gtnewhorizon.structurelib.util.XSTR
+
+
Creates a new pseudo random number generator, starting with the specified + seed, using setSeed(seed);.
+
+
XSTR_INSTANCE - Static variable in class com.gtnewhorizon.structurelib.util.XSTR
+
 
+
+ + + +

_

+
+
__get_player() - Static method in interface com.gtnewhorizon.structurelib.alignment.constructable.ISurvivalConstructable
+
+
Deprecated.
+
+
+A B C D E F G H I L M N O P Q R S T U V W X _ 
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/index.html b/1.2.0-beta.1/javadoc/index.html new file mode 100644 index 00000000..c0fe784d --- /dev/null +++ b/1.2.0-beta.1/javadoc/index.html @@ -0,0 +1,75 @@ + + + + + +StructureLib 1.7.10-1.2.0-beta.1 API + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/1.2.0-beta.1/javadoc/overview-frame.html b/1.2.0-beta.1/javadoc/overview-frame.html new file mode 100644 index 00000000..d6e2f545 --- /dev/null +++ b/1.2.0-beta.1/javadoc/overview-frame.html @@ -0,0 +1,26 @@ + + + + + +Overview List (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/1.2.0-beta.1/javadoc/overview-summary.html b/1.2.0-beta.1/javadoc/overview-summary.html new file mode 100644 index 00000000..662f7488 --- /dev/null +++ b/1.2.0-beta.1/javadoc/overview-summary.html @@ -0,0 +1,381 @@ + + + + + +Overview (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

StructureLib 1.7.10-1.2.0-beta.1 API

+
+
+
+
StructureLib API documentation.
+
+

See: Description

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
com.gtnewhorizon.structurelib 
com.gtnewhorizon.structurelib.alignment +
This package provide a framework for rotating a given block, or a multiblock structure.
+
com.gtnewhorizon.structurelib.alignment.constructable +
This package contains interfaces and utility methods for autobuilding a structure.
+
com.gtnewhorizon.structurelib.alignment.enumerable 
com.gtnewhorizon.structurelib.structure +
This package provide support for multiblock structure checking.
+
com.gtnewhorizon.structurelib.structure.adders +
Adder interfaces used in various standard structure elements.
+
com.gtnewhorizon.structurelib.util 
+
+
+ + +
StructureLib API documentation. + +

Key API class outline

+

+ Here we outline a few key API classes/interfaces. +

+ +

IStructureDefinition

+

+ This is the structure definition of your multi. + You will have one `IStructureDefinition` for each multi. +

+ +

IStructureElement

+

+ These are how you define which block will be accepted. +

+ +

StructureUtility

+

+ This is the standard library of IStructureElements. + The Standard Library contains structure elements that handle basic block element and elements that allow composing + these basic elements. +

+ +

IConstructable

+

+ This interface should be implemented by tile entities that support creative autoplacing and hint particle emitting. + You will usually want to have a backing IStructureDefinition + and call its build() + or hints() method here. +

+ +

ISurvivalConstructable

+

+ This interface is an enhancement over IConstructable. + If your tile entities also support survival autoplacing then you should implement this. + You will usually want to have a backing IStructureDefinition + and call its survivalBuild(). +

+ +

IConstructableProvider

+

+ This interface should be implemented on tile entities that will delegate all constructable or survival construable + functionality to some other class. + This is mostly only to support gregtech meta tile entity system. +

+

+ Return null if the delegate does not exist. +

+ +

InventoryUtility

+

+ This class backs the standard implementations of IItemSource. + You might want to register new inventory provider or inventory extractor there to facilitate survival auto place. +

+ +

IAlignmentProvider, IAlignment and IAlignmentLimits

+

+ These interfaces will be used to implement rotation. + Provide a framework to rotate the block. + You can skip this if you store ExtendedFacing and do rotation in other means. +

+ +

ChannelDataAccessor

+

+ This class contains the accessors for channel data held on a trigger item. See below for more + information. +

+ +

StructureLibAPI

+

+ This class contains the low level utility used for implementing new IStructureElement. + You will also need methods in this class to while implementing rotation. +

+

+ IF THERE IS A SAME NAMED METHOD IN OTHER CLASS, ONLY USE METHODS FOUND IN THIS CLASS, NOT OTHER CLASS. + This abstraction is necessary so we can change how underlying code work (e.g. how hint particles are rendered) + without + breaking client code. +

+ +

StructureEvent

+

+ This class is the base class of all events that will be posted while a IStructureDefinition are visited. + These events are disabled by default, and can be enabled by calling StructureLibAPI.enableInstrument(Object). + To receive these events, register an event handler to MinecraftForge.EVENT_BUS. + Handlers should filter the events received by StructureEvent.getInstrumentIdentifier(). +

+

+ These events are intended for third party tools to inspect structure details. Normal users should not use + these at all. +

+ +

Important Concepts

+

Context Object

+

+ Context Object are what you pass to IStructureDefinition.check(Object, String, World, ExtendedFacing, int, int, + int, int, int, int, boolean) and alike as first parameter. It will hold the necessary states for IStructureElement. It's usually, but not necessarily, the multiblock controller. +

+

+ Standard structure element library offers method to switch context objects if needed. +

+ +

Trigger Item

+

+ Trigger Item is the item used to trigger hint spawn, creative build and survival auto place. + The trigger item will be passed to relevant classes as an indicator of structure tier. + The item type and stack tag compound of this item stack are opaque objects that should not be parsed. +

+

+ StructureLib comes with a trigger item implementation. + It does register it to the game registries, but does not come with a recipe. + Usually there is no reason to reimplement this on your own. +

+ +

Channels

+ +

+ Trigger item carries the player's choice of structure tier by its stack size. + When one multi have multiple tiered component that can have interleaving tier, this becomes an obnoxious + restriction, as one ItemStack cannot have two stack sizes at the same time. + Here we use the channels to bypass this restriction. +

+ +

+ Basically, channels are information stored on the trigger item's NBT tags. + One trigger item can carry multiple channels. + Each channel can be identified with lower case strings and has the value being one positive Java int. + There will be one and only one master channel and 0 or more sub channel. + When a non-existent sub channel is queried, master channel will be used instead to fill its place. +

+ +

+ Structure Definition Author and/or Structure Element Author can choose whether they use a channel and which channel + to use. +

+ +

+ Structure Element Author will usually not need to consider channels, i.e. proceed as if this concept does not exist, + unless it must take input from multiple channels. +

+ +

+ Structure Definition Author will consider how to map each channel to each tiered component. + He will be using `com.gtnewhorizon.structurelib.structure.StructureUtility.withChannel` to direct structure element + on which channel to use. + Conceptually, it will return an ItemStack with the master channel being the value of selected channel. + In implementation, withChannel will return a new ItemStack with same item, nbt but different stack size. +

+ +

+ It's worth mentioning that the returned new ItemStack will still have all the channel data on it, so a multi-channel + structure element can still query the channel it wants just fine. It is however impossible to recover the original + master channel. +

+ +

why is this called channel?

+ +Just give me a better name and I'd do the renaming. + +

Examples

+ +

For Structure Definition Author

+ +

GT++ Chemical Plant is a multi with 4 distinctly tiered component.

+ +

It will use +

    +
  • master channel for its outer shell
  • +
  • channel `"casing"` for machine casings
  • +
  • channel `"pipe"` for pipe casings
  • +
  • channel `"coil"` for heating coils
  • +
+Its structure code will then look like +
+.addElement('a', shellStructureElement())
+.addElement('b', withChannel("casing", machineCasingStructureElement()))
+.addElement('c', withChannel("pipe", pipeCasingStructureElement()))
+.addElement('d', withChannel("coil", coilStructureElement()))
+
+whereas all these structure elements are designed without considering channels whatsoever + +

Multi channel input Structure Element

+ +

+ Suppose your hatch element has a required facing and can accept arbitrary meta tile entity, so it will need both + meta id + and facing input. +

+ +

+ It will use +

    +
  • master channel for its facing
  • +
  • channel `"id"` for meta tile entity id
  • +
+

+ Its code will then look like +

+import com.gtnewhorizon.structurelib.structure.IStructureElement;
+
+public class MyHatchElement<T> implements IStructureElement<T> {
+    //...
+
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/overview-tree.html b/1.2.0-beta.1/javadoc/overview-tree.html new file mode 100644 index 00000000..6ca7af86 --- /dev/null +++ b/1.2.0-beta.1/javadoc/overview-tree.html @@ -0,0 +1,232 @@ + + + + + +Class Hierarchy (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/package-list b/1.2.0-beta.1/javadoc/package-list new file mode 100644 index 00000000..2e5d1a07 --- /dev/null +++ b/1.2.0-beta.1/javadoc/package-list @@ -0,0 +1,7 @@ +com.gtnewhorizon.structurelib +com.gtnewhorizon.structurelib.alignment +com.gtnewhorizon.structurelib.alignment.constructable +com.gtnewhorizon.structurelib.alignment.enumerable +com.gtnewhorizon.structurelib.structure +com.gtnewhorizon.structurelib.structure.adders +com.gtnewhorizon.structurelib.util diff --git a/1.2.0-beta.1/javadoc/script.js b/1.2.0-beta.1/javadoc/script.js new file mode 100644 index 00000000..b3463569 --- /dev/null +++ b/1.2.0-beta.1/javadoc/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/1.2.0-beta.1/javadoc/serialized-form.html b/1.2.0-beta.1/javadoc/serialized-form.html new file mode 100644 index 00000000..0eff1df8 --- /dev/null +++ b/1.2.0-beta.1/javadoc/serialized-form.html @@ -0,0 +1,157 @@ + + + + + +Serialized Form (StructureLib 1.7.10-1.2.0-beta.1 API) + + + + + + + +
+ + + + + + + +
+ + +
+

Serialized Form

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/1.2.0-beta.1/javadoc/stylesheet.css b/1.2.0-beta.1/javadoc/stylesheet.css new file mode 100644 index 00000000..98055b22 --- /dev/null +++ b/1.2.0-beta.1/javadoc/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/index.txt b/index.txt index b1a51c11..8c79cde8 100644 --- a/index.txt +++ b/index.txt @@ -4,4 +4,5 @@ feature/doc 1.1.12 1.1.10 1.1.9 +1.2.0-beta.1 1.1.11