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 ISchematicEntity
public 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 ISchematicEntity
public SchematicEntityDefault getRotated(net.minecraft.util.Rotation rotation)
getRotated
in interface ISchematicEntity
public net.minecraft.entity.Entity build(net.minecraft.world.World world, net.minecraft.util.math.BlockPos basePos)
build
in interface ISchematicEntity
public net.minecraft.entity.Entity buildWithoutChecks(net.minecraft.world.World world, net.minecraft.util.math.BlockPos basePos)
buildWithoutChecks
in interface ISchematicEntity
public net.minecraft.nbt.NBTTagCompound serializeNBT()
serializeNBT
in interface ISchematicEntity
public void deserializeNBT(net.minecraft.nbt.NBTTagCompound nbt) throws InvalidInputDataException
deserializeNBT
in interface ISchematicEntity
InvalidInputDataException
- If the input data wasn't correct or didn't make sense.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object