public class Template
extends java.lang.Object
Constructor and Description |
---|
Template() |
Modifier and Type | Method and Description |
---|---|
void |
addBlocksToWorld(World worldIn,
BlockPos pos,
PlacementSettings placementIn) |
void |
addBlocksToWorldChunk(World worldIn,
BlockPos pos,
PlacementSettings placementIn) |
BlockPos |
calculateConnectedPos(PlacementSettings placementIn,
BlockPos p_186262_2_,
PlacementSettings p_186262_3_,
BlockPos p_186262_4_) |
java.lang.String |
getAuthor() |
java.util.Map<BlockPos,java.lang.String> |
getDataBlocks(BlockPos pos,
PlacementSettings placementIn) |
BlockPos |
getSize() |
void |
read(NBTTagCompound compound) |
void |
setAuthor(java.lang.String authorIn) |
void |
takeBlocksFromWorld(World worldIn,
BlockPos startPos,
BlockPos endPos,
boolean takeEntities,
Block p_186254_5_) |
static BlockPos |
transformedBlockPos(PlacementSettings placementIn,
BlockPos p_186266_1_) |
BlockPos |
transformedSize(Rotation rotationIn) |
NBTTagCompound |
writeToNBT(NBTTagCompound p_189552_1_) |
public BlockPos getSize()
public void setAuthor(java.lang.String authorIn)
public java.lang.String getAuthor()
public void takeBlocksFromWorld(World worldIn, BlockPos startPos, BlockPos endPos, boolean takeEntities, @Nullable Block p_186254_5_)
public java.util.Map<BlockPos,java.lang.String> getDataBlocks(BlockPos pos, PlacementSettings placementIn)
public BlockPos calculateConnectedPos(PlacementSettings placementIn, BlockPos p_186262_2_, PlacementSettings p_186262_3_, BlockPos p_186262_4_)
public static BlockPos transformedBlockPos(PlacementSettings placementIn, BlockPos p_186266_1_)
public void addBlocksToWorldChunk(World worldIn, BlockPos pos, PlacementSettings placementIn)
public void addBlocksToWorld(World worldIn, BlockPos pos, PlacementSettings placementIn)
public NBTTagCompound writeToNBT(NBTTagCompound p_189552_1_)
public void read(NBTTagCompound compound)