-All Methods Static Methods Concrete Methods Deprecated Methods
-
-Modifier and Type |
-Method |
-Description |
-
-
-static <T> IStructureElementDeferred<T> |
-defer(java.util.function.BiFunction<T,ItemStack,IStructureElement<T>> to) |
-
- This will defer the actual instantiation of structure element until the structure code is actually called.
- |
-
-
-static <T> IStructureElementDeferred<T> |
-defer(java.util.function.BiFunction<T,ItemStack,java.lang.Integer> keyExtractor,
- IStructureElement<T>... array) |
-
- This is the switch block for structure code.
- |
-
-
-static <T> IStructureElementDeferred<T> |
-defer(java.util.function.BiFunction<T,ItemStack,java.lang.Integer> keyExtractor,
- java.util.List<IStructureElement<T>> array) |
-
- This is the switch block for structure code.
- |
-
-
-static <T,K> IStructureElementDeferred<T> |
-defer(java.util.function.BiFunction<T,ItemStack,K> keyExtractor,
- java.util.Map<K,IStructureElement<T>> map) |
-
- Deprecated.
-
-
- |
-
-
-static <T,K> IStructureElementDeferred<T> |
-defer(java.util.function.BiFunction<T,ItemStack,K> keyExtractor,
- java.util.Map<K,IStructureElement<T>> map,
- IStructureElement<T> defaultElem) |
-
- Deprecated.
-
-
- |
-
-
-static <T> IStructureElementDeferred<T> |
-defer(java.util.function.Function<T,IStructureElement<T>> to) |
-
- This will defer the actual instantiation of structure element until the structure code is actually called.
- |
-
-
-static <T> IStructureElementDeferred<T> |
-defer(java.util.function.Function<T,IStructureElement<T>> toCheck,
- java.util.function.BiFunction<T,ItemStack,IStructureElement<T>> to) |
-
- This will defer the actual instantiation of structure element until the first time structure code is
- actually called.
- |
-
-
-static <T> IStructureElementDeferred<T> |
-defer(java.util.function.Function<T,java.lang.Integer> keyExtractor,
- IStructureElement<T>... array) |
-
- Deprecated.
-
-
- |
-
-
-static <T> IStructureElementDeferred<T> |
-defer(java.util.function.Function<T,java.lang.Integer> keyExtractorCheck,
- java.util.function.BiFunction<T,ItemStack,java.lang.Integer> keyExtractor,
- IStructureElement<T>... array) |
-
- Deprecated.
-
-
- |
-
-
-static <T> IStructureElementDeferred<T> |
-defer(java.util.function.Function<T,java.lang.Integer> keyExtractorCheck,
- java.util.function.BiFunction<T,ItemStack,java.lang.Integer> keyExtractor,
- java.util.List<IStructureElement<T>> array) |
-
- Deprecated.
-
-
- |
-
-
-static <T> IStructureElementDeferred<T> |
-defer(java.util.function.Function<T,java.lang.Integer> keyExtractor,
- java.util.List<IStructureElement<T>> array) |
-
- Deprecated.
-
-
- |
-
-
-static <T,K> IStructureElementDeferred<T> |
-defer(java.util.function.Function<T,K> keyExtractorCheck,
- java.util.function.BiFunction<T,ItemStack,K> keyExtractor,
- java.util.Map<K,IStructureElement<T>> map) |
-
- Deprecated.
-
-
- |
-
-
-static <T,K> IStructureElementDeferred<T> |
-defer(java.util.function.Function<T,K> keyExtractorCheck,
- java.util.function.BiFunction<T,ItemStack,K> keyExtractor,
- java.util.Map<K,IStructureElement<T>> map,
- IStructureElement<T> defaultElem) |
-
- Deprecated.
-
-
- |
-
-
-static <T,K> IStructureElementDeferred<T> |
-defer(java.util.function.Function<T,K> keyExtractor,
- java.util.Map<K,IStructureElement<T>> map) |
-
- Deprecated.
-
-
- |
-
-
-static <T,K> IStructureElementDeferred<T> |
-defer(java.util.function.Function<T,K> keyExtractor,
- java.util.Map<K,IStructureElement<T>> map,
- IStructureElement<T> defaultElem) |
-
- Deprecated.
-
-
- |
-
-
-static <T> IStructureElementDeferred<T> |
-defer(java.util.function.Supplier<IStructureElement<T>> to) |
-
- This will defer the actual instantiation of structure element until the structure code is actually called.
- |
-
-
-static <T> IStructureElement<T> |
-error() |
-
- Check returns false.
- |
-
-
-static java.lang.String |
-getPseudoJavaCode(World world,
- ExtendedFacing extendedFacing,
- int basePositionX,
- int basePositionY,
- int basePositionZ,
- int basePositionA,
- int basePositionB,
- int basePositionC,
- java.util.function.Function<? super TileEntity,java.lang.String> tileEntityClassifier,
- int sizeA,
- int sizeB,
- int sizeC,
- boolean transpose) |
-
- Used only to get pseudo code in structure writer...
- |
-
-
-static <T> IStructureElement<T> |
-isAir() |
-
- Return a structure element that only allow air (or air equivalents, like Railcraft hidden blocks).
- |
-
-
-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,
- java.lang.Runnable nextB,
- java.lang.Runnable nextC) |
- |
-
-
-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) |
- |
-
-
-static <T> IStructureElementDeferred<T> |
-lazy(java.util.function.Function<T,IStructureElement<T>> to) |
-
- This will defer the actual instantiation of structure element until the first time structure code is
- actually called.
- |
-
-
-static <T> IStructureElementDeferred<T> |
-lazy(java.util.function.Supplier<IStructureElement<T>> to) |
-
- Similar to defer, but caches the first returned element returned and won't call it again.
- |
-
-
-static <T> IStructureElement<T> |
-notAir() |
-
- Return a structure element that allow anything but air (or air equivalents, like Railcraft hidden blocks).
- |
-
-
-static <T> IStructureElement<T> |
-ofBlock(Block block,
- int meta) |
-
- Accept a single block with a fixed meta.
- |
-
-
-static <T> IStructureElement<T> |
-ofBlock(Block block,
- int meta,
- Block defaultBlock,
- int defaultMeta) |
-
- Accept a block.
- |
-
-
-static <T> IStructureElement<T> |
-ofBlockAdder(IBlockAdder<T> iBlockAdder,
- int dots) |
- |
-
-
-static <T> IStructureElement<T> |
-ofBlockAdder(IBlockAdder<T> iBlockAdder,
- Block defaultBlock,
- int defaultMeta) |
-
- Add a block using block adder.
- |
-
-
-static <T> IStructureElementNoPlacement<T> |
-ofBlockAdderHint(IBlockAdder<T> iBlockAdder,
- Block hintBlock,
- int hintMeta) |
-
- Add a block using block adder.
- |
-
-
-static <T> IStructureElement<T> |
-ofBlockAnyMeta(Block block) |
-
- Accept a single block, but accept any meta.
- |
-
-
-static <T> IStructureElement<T> |
-ofBlockAnyMeta(Block block,
- int defaultMeta) |
-
- Accept a single block, but accept any meta.
- |
-
-
-static <T> IStructureElement<T> |
-ofBlockAnyMeta(Block block,
- Block defaultBlock,
- int defaultMeta) |
-
-
- |
-
-
-static <T> IStructureElementNoPlacement<T> |
-ofBlockHint(Block block,
- int meta) |
-
- Accept one (block, meta).
- |
-
-
-static <T> IStructureElementNoPlacement<T> |
-ofBlockHint(Block block,
- int meta,
- Block hintBlock,
- int hintMeta) |
-
- Accept one (block, meta).
- |
-
-
-static <T> IStructureElement<T> |
-ofBlocksFlat(java.util.Map<Block,java.lang.Integer> blocsMap,
- Block defaultBlock,
- int defaultMeta) |
-
- Accept a set of blocks.
- |
-
-
-static <T> IStructureElementNoPlacement<T> |
-ofBlocksFlatHint(java.util.Map<Block,java.lang.Integer> blocsMap,
- Block hintBlock,
- int hintMeta) |
-
- Accept a set of blocks.
- |
-
-
-static <T> IStructureElement<T> |
-ofBlocksMap(java.util.Map<Block,java.util.Collection<java.lang.Integer>> blocsMap,
- Block defaultBlock,
- int defaultMeta) |
-
- Accept a set of blocks.
- |
-
-
-static <T> IStructureElementNoPlacement<T> |
-ofBlocksMapHint(java.util.Map<Block,java.util.Collection<java.lang.Integer>> blocsMap,
- Block hintBlock,
- int hintMeta) |
-
- Accept a set of blocks.
- |
-
-
-static <T,TIER> IStructureElement<T> |
-ofBlocksTiered(ITierConverter<TIER> tierExtractor,
- java.util.List<org.apache.commons.lang3.tuple.Pair<Block,java.lang.Integer>> allKnownTiers,
- TIER notSet,
- java.util.function.BiConsumer<T,TIER> setter,
- java.util.function.Function<T,TIER> getter) |
-
- Element representing a component with different tiers.
- |
-
-
-static <T,TIER> IStructureElementCheckOnly<T> |
-ofBlocksTiered(ITierConverter<TIER> tierExtractor,
- TIER notSet,
- java.util.function.BiConsumer<T,TIER> setter,
- java.util.function.Function<T,TIER> getter) |
-
-
- |
-
-
-static <T> IStructureElement<T> |
-ofBlockUnlocalizedName(java.lang.String modid,
- java.lang.String unlocalizedName,
- int meta) |
-
- Denote a block using unlocalized names.
- |
-
-
-static <T> IStructureElement<T> |
-ofBlockUnlocalizedName(java.lang.String modid,
- java.lang.String registryName,
- int meta,
- boolean wildcard) |
-
- Denote a block using unlocalized names.
- |
-
-
-static <T> IStructureElement<T> |
-ofBlockUnlocalizedName(java.lang.String modid,
- java.lang.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.
- |
-
-
-static <T> IStructureElementChain<T> |
-ofChain(IStructureElement<T>... elementChain) |
-
-
- |
-
-
-static <T> IStructureElementChain<T> |
-ofChain(java.util.List<IStructureElement<T>> elementChain) |
-
-
- |
-
-
-static <T> IStructureElementNoPlacement<T> |
-ofHint(int dots) |
-
- Spawn a hint with given amount of dots.
- |
-
-
-static <T> IStructureElementNoPlacement<T> |
-ofHintDeferred(java.util.function.Supplier<IIcon[]> icons) |
-
- Spawn a hint with given textures.
- |
-
-
-static <T> IStructureElementNoPlacement<T> |
-ofHintDeferred(java.util.function.Supplier<IIcon[]> icons,
- short[] RGBa) |
-
- Spawn a hint with given amount of textures and tint.
- |
-
-
-static <T,E> IStructureElementNoPlacement<T> |
-ofSpecificTileAdder(java.util.function.BiPredicate<T,E> iTileAdder,
- java.lang.Class<E> tileClass,
- Block hintBlock,
- int hintMeta) |
-
- Try to add a structure element with a particular type of tile entity.
- |
-
-
-static <T> IStructureElementNoPlacement<T> |
-ofTileAdder(ITileAdder<T> iTileAdder,
- Block hintBlock,
- int hintMeta) |
-
- Try to add a structure element with a tile entity.
- |
-
-
-static <B extends IStructureElement<T>,T> IStructureElement<T> |
-onElementFail(java.util.function.Consumer<T> onFail,
- B element) |
-
- Call a callback if downstream element returned false in check.
- |
-
-
-static <B extends IStructureElement<T>,T> IStructureElement<T> |
-onElementPass(java.util.function.Consumer<T> onCheckPass,
- B element) |
-
- Call a callback if downstream element returned true in check.
- |
-
-
-static <T> IStructureElement<T> |
-onlyIf(java.util.function.Predicate<? super T> predicate,
- IStructureElement<? super T> downstream) |
-
- Enable this structure element only if given predicate returns true.
- |
-
-
-static <T> IStructureElement<T> |
-onlyIf(java.util.function.Predicate<? super T> predicate,
- IStructureElement<? super T> downstream,
- IStructureElement.PlaceResult placeResultWhenDisabled) |
-
- Enable this structure element only if given predicate returns true.
- |
-
-
-static <T,K> IStructureElementDeferred<T> |
-partitionBy(java.util.function.BiFunction<T,ItemStack,K> keyExtractor,
- java.util.Map<K,IStructureElement<T>> map) |
-
- This is the switch block for structure code.
- |
-
-
-static <T,K> IStructureElementDeferred<T> |
-partitionBy(java.util.function.BiFunction<T,ItemStack,K> keyExtractor,
- java.util.Map<K,IStructureElement<T>> map,
- IStructureElement<T> defaultElem) |
-
- This is the switch block for structure code, with default case support.
- |
-
-
-static <T> IStructureElementDeferred<T> |
-partitionBy(java.util.function.Function<T,java.lang.Integer> keyExtractor,
- IStructureElement<T>... array) |
-
- This is the switch block for structure code.
- |
-
-
-static <T> IStructureElementDeferred<T> |
-partitionBy(java.util.function.Function<T,java.lang.Integer> keyExtractorCheck,
- java.util.function.BiFunction<T,ItemStack,java.lang.Integer> keyExtractor,
- IStructureElement<T>... array) |
-
- This is the switch block for structure code, with default case.
- |
-
-
-static <T> IStructureElementDeferred<T> |
-partitionBy(java.util.function.Function<T,java.lang.Integer> keyExtractorCheck,
- java.util.function.BiFunction<T,ItemStack,java.lang.Integer> keyExtractor,
- java.util.List<IStructureElement<T>> array) |
-
- This is the switch block for structure code, with default case.
- |
-
-
-static <T> IStructureElementDeferred<T> |
-partitionBy(java.util.function.Function<T,java.lang.Integer> keyExtractor,
- java.util.List<IStructureElement<T>> array) |
-
- This is the switch block for structure code.
- |
-
-
-static <T,K> IStructureElementDeferred<T> |
-partitionBy(java.util.function.Function<T,K> keyExtractorCheck,
- java.util.function.BiFunction<T,ItemStack,K> keyExtractor,
- java.util.Map<K,IStructureElement<T>> map) |
-
- This is the switch block for structure code.
- |
-
-
-static <T,K> IStructureElementDeferred<T> |
-partitionBy(java.util.function.Function<T,K> keyExtractorCheck,
- java.util.function.BiFunction<T,ItemStack,K> keyExtractor,
- java.util.Map<K,IStructureElement<T>> map,
- IStructureElement<T> defaultElem) |
-
- This is the switch block for structure code, with default case.
- |
-
-
-static <T,K> IStructureElementDeferred<T> |
-partitionBy(java.util.function.Function<T,K> keyExtractor,
- java.util.Map<K,IStructureElement<T>> map) |
-
- This is the switch block for structure code.
- |
-
-
-static <T,K> IStructureElementDeferred<T> |
-partitionBy(java.util.function.Function<T,K> keyExtractor,
- java.util.Map<K,IStructureElement<T>> map,
- IStructureElement<T> defaultElem) |
-
- This is the switch block for structure code, with default case support.
- |
-
-
-static <T> com.gtnewhorizon.structurelib.structure.IStructureNavigate<T> |
-step(int a,
- int b,
- int c) |
-
- Used internally, to generate skips for structure definitions
- |
-
-
-static <T> com.gtnewhorizon.structurelib.structure.IStructureNavigate<T> |
-step(Vec3Impl step) |
-
- Used internally, to generate skips for structure definitions
- |
-
-
-static IStructureElement.PlaceResult |
-survivalPlaceBlock(Block block,
- int meta,
- World world,
- int x,
- int y,
- int z,
- IItemSource s,
- EntityPlayer actor) |
-
-
- |
-
-
-static IStructureElement.PlaceResult |
-survivalPlaceBlock(Block block,
- int meta,
- World world,
- int x,
- int y,
- int z,
- IItemSource s,
- EntityPlayerMP actor) |
-
-
- |
-
-
-static IStructureElement.PlaceResult |
-survivalPlaceBlock(Block block,
- int meta,
- World world,
- int x,
- int y,
- int z,
- IItemSource s,
- EntityPlayerMP actor,
- java.util.function.Consumer<IChatComponent> chatter) |
-
-
- |
-
-
-static IStructureElement.PlaceResult |
-survivalPlaceBlock(Block block,
- int meta,
- World world,
- int x,
- int y,
- int z,
- IItemSource s,
- EntityPlayer actor,
- java.util.function.Consumer<IChatComponent> chatter) |
-
-
- |
-
-
-static IStructureElement.PlaceResult |
-survivalPlaceBlock(ItemStack stack,
- ItemStackPredicate.NBTMode nbtMode,
- NBTTagCompound tag,
- boolean assumeStackPresent,
- World world,
- int x,
- int y,
- int z,
- IItemSource s,
- EntityPlayer actor) |
-
-
- |
-
-
-static IStructureElement.PlaceResult |
-survivalPlaceBlock(ItemStack stack,
- ItemStackPredicate.NBTMode nbtMode,
- NBTTagCompound tag,
- boolean assumeStackPresent,
- World world,
- int x,
- int y,
- int z,
- IItemSource s,
- EntityPlayerMP actor) |
-
-
- |
-
-
-static IStructureElement.PlaceResult |
-survivalPlaceBlock(ItemStack stack,
- ItemStackPredicate.NBTMode nbtMode,
- NBTTagCompound tag,
- boolean assumeStackPresent,
- World world,
- int x,
- int y,
- int z,
- IItemSource s,
- EntityPlayerMP actor,
- java.util.function.Consumer<IChatComponent> chatter) |
-
-
- |
-
-
-static IStructureElement.PlaceResult |
-survivalPlaceBlock(ItemStack stack,
- ItemStackPredicate.NBTMode nbtMode,
- NBTTagCompound tag,
- boolean assumeStackPresent,
- World world,
- int x,
- int y,
- int z,
- IItemSource s,
- EntityPlayer actor,
- java.util.function.Consumer<IChatComponent> chatter) |
-
-
- |
-
-
-static java.lang.String[][] |
-transpose(java.lang.String[][] structurePiece) |
-
- Transposes shape (swaps B and C axis, can be used to un-transpose transposed shape) WARNING! Do not use on old
- api...
- |
-
-
-static <T> IStructureElement<T> |
-withChannel(java.lang.String channel,
- IStructureElement<T> backing) |
-
- See channels.md in docs folder
- |
-
-
-static <CTX,T extends IWithExtendedContext<CTX>> IStructureElement<T> |
-withContext(IStructureElement<CTX> elem) |
-
- Switch to the extended context object in the downstream element
- |
-
-
-