Package | Description |
---|---|
net.minecraftforge.fml.common.registry |
Modifier and Type | Method and Description |
---|---|
static <E extends Entity> |
EntityEntryBuilder.create()
Creates a new entity entry builder.
|
EntityEntryBuilder<E> |
EntityEntryBuilder.egg(int primaryColor,
int secondaryColor)
Sets the egg of the entity.
|
EntityEntryBuilder<E> |
EntityEntryBuilder.entity(java.lang.Class<? extends E> entity)
Sets the class of the entity.
|
EntityEntryBuilder<E> |
EntityEntryBuilder.factory(java.util.function.Function<World,E> factory)
Sets the factory of the entity.
|
EntityEntryBuilder<E> |
EntityEntryBuilder.id(ResourceLocation id,
int network)
Sets the id of the entity.
|
EntityEntryBuilder<E> |
EntityEntryBuilder.id(java.lang.String id,
int network)
Sets the id of the entity.
|
EntityEntryBuilder<E> |
EntityEntryBuilder.name(java.lang.String name)
Sets the name of the entity.
|
EntityEntryBuilder<E> |
EntityEntryBuilder.spawn(EnumCreatureType type,
int weight,
int min,
int max,
Biome... biomes)
Adds a spawn entry.
|
EntityEntryBuilder<E> |
EntityEntryBuilder.spawn(EnumCreatureType type,
int weight,
int min,
int max,
java.lang.Iterable<Biome> biomes)
Adds a spawn entry.
|
EntityEntryBuilder<E> |
EntityEntryBuilder.tracker(int range,
int updateFrequency,
boolean sendVelocityUpdates)
Sets entity tracking information.
|