Package com.gtnewhorizon.structurelib.structure
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.
-
Interface Summary Interface Description IBlockPosConsumer ICustomBlockSetting IItemSource Represent an item source.ISpecialItemBlock IStructureDefinition<T> This is the structure definition of your multi.IStructureElement<T> Use StructureUtility to instantiate.IStructureElementChain<T> Use StructureUtility to instantiateIStructureElementCheckOnly<T> IStructureElementDeferred<T> Use StructureUtility to instantiateIStructureElementNoPlacement<T> IStructureWalker<T> A functional interface that is used to iterate over an arbitrary structure.ISurvivalBuildEnvironment ITierConverter<TIER> a function to extract tier info from a block.IWithExtendedContext<CTX> Implement this and useStructureUtility.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. -
Class Summary Class Description AutoPlaceEnvironment Represent the environment in which autoplace of a single element took place.IStructureElement.BlocksToPlace StructureDefinition<T> StructureDefinition.Builder<T> StructureUtility A brief index of everything contained -
Enum Summary Enum Description AutoPlaceEnvironment.APILevel Defines the various API level anAutoPlaceEnvironmenthas implemented.IStructureElement.PlaceResult