Interface ICustomStructureTemplate

All Known Implementing Classes:
CustomStructureTemplateMixin

public interface ICustomStructureTemplate
  • Method Details

    • structurePlacerAPI$setCustom

      void structurePlacerAPI$setCustom(boolean custom)
      This is used to tell the StructureTemplate that we are using the StructurePlacerApi system
    • structurePlacerAPI$isCustom

      boolean structurePlacerAPI$isCustom()
    • structurePlacerAPI$setReplaceBedrock

      void structurePlacerAPI$setReplaceBedrock(boolean replace)
      Weather or not this structure should replace the bedrock
    • structurePlacerAPI$getReplaceBedrock

      boolean structurePlacerAPI$getReplaceBedrock()
    • structurePlacerAPI$setReplaceBarrier

      void structurePlacerAPI$setReplaceBarrier(boolean replace)
      Weather or not this structure should replace the barrier block
    • structurePlacerAPI$getReplaceBarrier

      boolean structurePlacerAPI$getReplaceBarrier()
    • structurePlacerAPI$setOnlyReplaceTagBlocks

      void structurePlacerAPI$setOnlyReplaceTagBlocks(boolean replace, net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> tag)
      Weather or not this structure should only replace blocks with a certain tag, like Air blocks
    • structurePlacerAPI$getOnlyReplaceTagBlocks

      boolean structurePlacerAPI$getOnlyReplaceTagBlocks()
    • structurePlacerAPI$setPreventReplacementOfTagBlocks

      void structurePlacerAPI$setPreventReplacementOfTagBlocks(boolean replace, net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> tag)
      Weather or not this structure should replace the blocks with the specified tag
    • structurePlacerAPI$getPreventReplacementOfTagBlocks

      boolean structurePlacerAPI$getPreventReplacementOfTagBlocks()
    • structurePlacerAPI$setTaggedBlocks

      void structurePlacerAPI$setTaggedBlocks(net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> taggedBlocks)
    • structurePlacerAPI$getTaggedBlocks

      net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> structurePlacerAPI$getTaggedBlocks()
    • structurePlacerAPI$setActOnBlockStructurePlacing

      void structurePlacerAPI$setActOnBlockStructurePlacing(boolean b)
    • structurePlacerAPI$getActOnBlockStructurePlacing

      boolean structurePlacerAPI$getActOnBlockStructurePlacing()
    • structurePlacerAPI$setActOnBlockReplacedByStructure

      void structurePlacerAPI$setActOnBlockReplacedByStructure(boolean b)
    • structurePlacerAPI$getActOnBlockReplacedByStructure

      boolean structurePlacerAPI$getActOnBlockReplacedByStructure()
    • structurePlacerAPI$setOnBlockPlacingInStructure

      void structurePlacerAPI$setOnBlockPlacingInStructure(ActionOnBlockFind action)
    • structurePlacerAPI$getOnBlockPlacingInStructure

      ActionOnBlockFind structurePlacerAPI$getOnBlockPlacingInStructure()
    • structurePlacerAPI$setOnBlockReplacedByStructure

      void structurePlacerAPI$setOnBlockReplacedByStructure(ActionOnBlockFind action)
    • structurePlacerAPI$getOnBlockReplacedByStructure

      ActionOnBlockFind structurePlacerAPI$getOnBlockReplacedByStructure()
    • structurePlacerAPI$setBlockPlacedCheck

      void structurePlacerAPI$setBlockPlacedCheck(net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> blocks)
    • structurePlacerAPI$getBlockPlacedCheck

      net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> structurePlacerAPI$getBlockPlacedCheck()
    • structurePlacerAPI$setBlockReplacedCheck

      void structurePlacerAPI$setBlockReplacedCheck(net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> blocks)
    • structurePlacerAPI$getBlockReplacedCheck

      net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> structurePlacerAPI$getBlockReplacedCheck()