FabricEntityTypeBuilder

public class FabricEntityTypeBuilder<T extends Entity>

Deprecated

Please migrate to v1. Please use net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder instead.

Functions

build
Link copied to clipboard
EntityType<Tbuild()
create
Link copied to clipboard
static FabricEntityTypeBuilder<Tcreate<T extends Entity>(SpawnGroup spawnGroup)
static FabricEntityTypeBuilder<Tcreate<T extends Entity>(SpawnGroup spawnGroup, EntityType.EntityFactory<T> function)
static FabricEntityTypeBuilder<Tcreate<T extends Entity>(SpawnGroup spawnGroup, Function<? extends Object, ? extends T> function)
Use create
disableSaving
Link copied to clipboard
FabricEntityTypeBuilder<TdisableSaving()
disableSummon
Link copied to clipboard
FabricEntityTypeBuilder<TdisableSummon()
setImmuneToFire
Link copied to clipboard
FabricEntityTypeBuilder<TsetImmuneToFire()
size
Link copied to clipboard
FabricEntityTypeBuilder<Tsize(EntityDimensions size)
FabricEntityTypeBuilder<Tsize(float width, float height)
Use size
trackable
Link copied to clipboard
FabricEntityTypeBuilder<Ttrackable(int trackingDistanceBlocks, int updateIntervalTicks)
FabricEntityTypeBuilder<Ttrackable(int trackingDistanceBlocks, int updateIntervalTicks, boolean alwaysUpdateVelocity)

Sources

jvm source
Link copied to clipboard