public class SchematicEntity extends Schematic
Schematic.BuildingStage| Modifier and Type | Field and Description |
|---|---|
java.lang.Class<? extends net.minecraft.entity.Entity> |
entity |
net.minecraft.nbt.NBTTagCompound |
entityNBT
This tree contains additional data to be stored in the blueprint.
|
net.minecraft.item.ItemStack[] |
storedRequirements
This field contains requirements for a given block when stored in the
blueprint.
|
| Constructor and Description |
|---|
SchematicEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
idsToBlueprint(MappingRegistry registry)
Translates blocks and item ids to the blueprint referential
|
void |
idsToWorld(MappingRegistry registry)
Translates blocks and item ids to the world referential
|
boolean |
isAlreadyBuilt(IBuilderContext context) |
protected net.minecraft.nbt.NBTTagList |
newDoubleNBTList(double... par1ArrayOfDouble) |
protected net.minecraft.nbt.NBTTagList |
newFloatNBTList(float... par1ArrayOfFloat) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
Loads this schematic from the blueprint NBT.
|
void |
readFromWorld(IBuilderContext context,
net.minecraft.entity.Entity entity) |
void |
rotateLeft(IBuilderContext context)
Perform a 90 degree rotation to the slot.
|
void |
translateToBlueprint(Translation transform)
Applies translations to all positions in the schematic to center in the
blueprint referential
|
void |
translateToWorld(Translation transform)
Apply translations to all positions in the schematic to center in the
builder referential
|
void |
writeRequirementsToWorld(IBuilderContext context,
java.util.LinkedList<net.minecraft.item.ItemStack> requirements)
Returns the requirements needed to build this block.
|
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
Saves this schematic to the blueprint NBT.
|
void |
writeToWorld(IBuilderContext context) |
doNotBuild, doNotUse, getBuildingPermission, getBuildStage, getEnergyRequirement, getStacksToDisplay, isAlreadyBuilt, postProcessing, useItem, writeRequirementsToBlueprint, writeToBlueprint, writeToWorldpublic java.lang.Class<? extends net.minecraft.entity.Entity> entity
public net.minecraft.nbt.NBTTagCompound entityNBT
public net.minecraft.item.ItemStack[] storedRequirements
public void writeRequirementsToWorld(IBuilderContext context, java.util.LinkedList<net.minecraft.item.ItemStack> requirements)
SchematicwriteRequirementsToWorld in class Schematicpublic void writeToWorld(IBuilderContext context)
public void readFromWorld(IBuilderContext context, net.minecraft.entity.Entity entity)
public void translateToBlueprint(Translation transform)
SchematictranslateToBlueprint in class Schematicpublic void translateToWorld(Translation transform)
SchematictranslateToWorld in class Schematicpublic void idsToBlueprint(MappingRegistry registry)
SchematicidsToBlueprint in class Schematicpublic void idsToWorld(MappingRegistry registry)
SchematicidsToWorld in class Schematicpublic void rotateLeft(IBuilderContext context)
SchematicrotateLeft in class Schematicpublic void writeToNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
SchematicwriteToNBT in class Schematicpublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt,
MappingRegistry registry)
SchematicreadFromNBT in class Schematicprotected net.minecraft.nbt.NBTTagList newDoubleNBTList(double... par1ArrayOfDouble)
protected net.minecraft.nbt.NBTTagList newFloatNBTList(float... par1ArrayOfFloat)
public boolean isAlreadyBuilt(IBuilderContext context)