public class SchematicEntityDefault extends java.lang.Object implements ISchematicEntity
| Constructor and Description |
|---|
SchematicEntityDefault() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.entity.Entity |
build(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos basePos) |
net.minecraft.entity.Entity |
buildWithoutChecks(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos basePos) |
java.util.List<net.minecraftforge.fluids.FluidStack> |
computeRequiredFluids() |
java.util.List<net.minecraft.item.ItemStack> |
computeRequiredItems() |
void |
deserializeNBT(net.minecraft.nbt.NBTTagCompound nbt) |
boolean |
equals(java.lang.Object o) |
net.minecraft.util.math.Vec3d |
getPos() |
SchematicEntityDefault |
getRotated(net.minecraft.util.Rotation rotation) |
int |
hashCode() |
void |
init(SchematicEntityContext context) |
static boolean |
predicate(SchematicEntityContext context) |
net.minecraft.nbt.NBTTagCompound |
serializeNBT() |
public static boolean predicate(SchematicEntityContext context)
public void init(SchematicEntityContext context)
init in interface ISchematicEntitypublic net.minecraft.util.math.Vec3d getPos()
getPos in interface ISchematicEntity@Nonnull public java.util.List<net.minecraft.item.ItemStack> computeRequiredItems()
computeRequiredItems in interface ISchematicEntity@Nonnull public java.util.List<net.minecraftforge.fluids.FluidStack> computeRequiredFluids()
computeRequiredFluids in interface ISchematicEntitypublic SchematicEntityDefault getRotated(net.minecraft.util.Rotation rotation)
getRotated in interface ISchematicEntitypublic net.minecraft.entity.Entity build(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos basePos)
build in interface ISchematicEntitypublic net.minecraft.entity.Entity buildWithoutChecks(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos basePos)
buildWithoutChecks in interface ISchematicEntitypublic net.minecraft.nbt.NBTTagCompound serializeNBT()
serializeNBT in interface ISchematicEntitypublic void deserializeNBT(net.minecraft.nbt.NBTTagCompound nbt)
throws InvalidInputDataException
deserializeNBT in interface ISchematicEntityInvalidInputDataException - If the input data wasn't correct or didn't make sense.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object