public abstract class EntityUtil
extends java.lang.Object
| Constructor and Description |
|---|
EntityUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
registerEntity(net.minecraft.util.ResourceLocation registryName,
java.lang.Class<? extends net.minecraft.entity.Entity> entityClass,
java.lang.String ident,
int id,
int eggForeground,
int eggBackground,
int trackingRange,
int updateFrequency,
boolean sendVelocity) |
static <E extends net.minecraft.entity.EntityLiving> |
spawnEntity(net.minecraft.world.World world,
java.lang.Class<E> entityClass,
double x,
double y,
double z) |
static <E extends net.minecraft.entity.EntityLiving> |
spawnEntity(net.minecraft.world.World world,
E living,
double x,
double y,
double z) |
@Nullable
public static <E extends net.minecraft.entity.EntityLiving> E spawnEntity(net.minecraft.world.World world,
java.lang.Class<E> entityClass,
double x,
double y,
double z)
public static <E extends net.minecraft.entity.EntityLiving> E spawnEntity(net.minecraft.world.World world,
E living,
double x,
double y,
double z)
public static void registerEntity(net.minecraft.util.ResourceLocation registryName,
java.lang.Class<? extends net.minecraft.entity.Entity> entityClass,
java.lang.String ident,
int id,
int eggForeground,
int eggBackground,
int trackingRange,
int updateFrequency,
boolean sendVelocity)