create
Creates an entity type builder.
This entity's spawn group will automatically be set to MISC.
Return
a new entity type builder
Parameters
<T>
the type of entity
static FabricEntityTypeBuilder<T> create<T extends Entity>(SpawnGroup spawnGroup)
Content copied to clipboard
Creates an entity type builder.
Return
a new entity type builder
Parameters
spawnGroup
the entity spawn group
<T>
the type of entity
static FabricEntityTypeBuilder<T> create<T extends Entity>(SpawnGroup spawnGroup, EntityType.EntityFactory<T> factory)
Content copied to clipboard
Creates an entity type builder.
Return
a new entity type builder
Parameters
spawnGroup
the entity spawn group
factory
the entity factory used to create this entity
<T>
the type of entity