Interface ICustomStructureTemplate
- All Known Implementing Classes:
CustomStructureTemplateMixin
public interface ICustomStructureTemplate
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleannet.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>booleanbooleanbooleanbooleannet.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>booleanvoidvoidvoidstructurePlacerAPI$setBlockPlacedCheck(net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> blocks) voidstructurePlacerAPI$setBlockReplacedCheck(net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> blocks) voidstructurePlacerAPI$setCustom(boolean custom) This is used to tell the StructureTemplate that we are using the StructurePlacerApi systemvoidvoidvoidstructurePlacerAPI$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 blocksvoidstructurePlacerAPI$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 tagvoidstructurePlacerAPI$setReplaceBarrier(boolean replace) Weather or not this structure should replace the barrier blockvoidstructurePlacerAPI$setReplaceBedrock(boolean replace) Weather or not this structure should replace the bedrockvoidstructurePlacerAPI$setTaggedBlocks(net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> taggedBlocks) Sets the tag for the blocks needed forstructurePlacerAPI$setPreventReplacementOfTagBlocks(boolean, TagKey)orstructurePlacerAPI$setOnlyReplaceTagBlocks(boolean, TagKey)
-
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) Sets the tag for the blocks needed forstructurePlacerAPI$setPreventReplacementOfTagBlocks(boolean, TagKey)orstructurePlacerAPI$setOnlyReplaceTagBlocks(boolean, TagKey) -
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
-
structurePlacerAPI$getOnBlockPlacingInStructure
ActionOnBlockFind structurePlacerAPI$getOnBlockPlacingInStructure() -
structurePlacerAPI$setOnBlockReplacedByStructure
-
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()
-