public abstract class StructureComponentTemplate extends StructureComponent
StructureComponent.BlockSelector| Modifier and Type | Field and Description | 
|---|---|
| protected PlacementSettings | placeSettings | 
| protected Template | template | 
| protected BlockPos | templatePosition | 
boundingBox, componentType| Constructor and Description | 
|---|
| StructureComponentTemplate() | 
| StructureComponentTemplate(int p_i46662_1_) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | addComponentParts(World worldIn,
                 java.util.Random randomIn,
                 StructureBoundingBox structureBoundingBoxIn) | 
| protected abstract void | handleDataMarker(java.lang.String p_186175_1_,
                BlockPos p_186175_2_,
                World p_186175_3_,
                java.util.Random p_186175_4_,
                StructureBoundingBox p_186175_5_) | 
| void | offset(int x,
      int y,
      int z) | 
| protected void | readStructureFromNBT(NBTTagCompound tagCompound,
                    TemplateManager p_143011_2_) | 
| protected void | setup(Template p_186173_1_,
     BlockPos p_186173_2_,
     PlacementSettings p_186173_3_) | 
| protected void | writeStructureToNBT(NBTTagCompound tagCompound) | 
buildComponent, clearCurrentPositionBlocksUpwards, createDispenser, createStructureBaseNBT, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, generateChest, generateChest, generateDoor, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getSkyBrightness, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, randomlyPlaceBlock, randomlyRareFillWithBlocks, readStructureBaseNBT, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseModeprotected Template template
protected PlacementSettings placeSettings
protected BlockPos templatePosition
public StructureComponentTemplate()
public StructureComponentTemplate(int p_i46662_1_)
protected void setup(Template p_186173_1_, BlockPos p_186173_2_, PlacementSettings p_186173_3_)
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT in class StructureComponentprotected void readStructureFromNBT(NBTTagCompound tagCompound, TemplateManager p_143011_2_)
readStructureFromNBT in class StructureComponentpublic boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts in class StructureComponentprotected abstract void handleDataMarker(java.lang.String p_186175_1_,
                                         BlockPos p_186175_2_,
                                         World p_186175_3_,
                                         java.util.Random p_186175_4_,
                                         StructureBoundingBox p_186175_5_)
public void offset(int x,
                   int y,
                   int z)
offset in class StructureComponent