FabricEntityTypeBuilder
instead.@Deprecated public class FabricEntityTypeBuilder<T extends net.minecraft.entity.Entity> extends Object
Modifier | Constructor and Description |
---|---|
protected |
FabricEntityTypeBuilder(net.minecraft.entity.SpawnGroup spawnGroup,
net.minecraft.entity.EntityType.EntityFactory<T> function)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
net.minecraft.entity.EntityType<T> |
build()
Deprecated.
|
static <T extends net.minecraft.entity.Entity> |
create(net.minecraft.entity.SpawnGroup spawnGroup)
Deprecated.
|
static <T extends net.minecraft.entity.Entity> |
create(net.minecraft.entity.SpawnGroup spawnGroup,
net.minecraft.entity.EntityType.EntityFactory<T> function)
Deprecated.
|
static <T extends net.minecraft.entity.Entity> |
create(net.minecraft.entity.SpawnGroup spawnGroup,
Function<? super net.minecraft.world.World,? extends T> function)
Deprecated.
|
FabricEntityTypeBuilder<T> |
disableSaving()
Deprecated.
|
FabricEntityTypeBuilder<T> |
disableSummon()
Deprecated.
|
FabricEntityTypeBuilder<T> |
setImmuneToFire()
Deprecated.
|
FabricEntityTypeBuilder<T> |
size(net.minecraft.entity.EntityDimensions size)
Deprecated.
|
FabricEntityTypeBuilder<T> |
size(float width,
float height)
Deprecated.
|
FabricEntityTypeBuilder<T> |
trackable(int trackingDistanceBlocks,
int updateIntervalTicks)
Deprecated.
|
FabricEntityTypeBuilder<T> |
trackable(int trackingDistanceBlocks,
int updateIntervalTicks,
boolean alwaysUpdateVelocity)
Deprecated.
|
protected FabricEntityTypeBuilder(net.minecraft.entity.SpawnGroup spawnGroup, net.minecraft.entity.EntityType.EntityFactory<T> function)
public static <T extends net.minecraft.entity.Entity> FabricEntityTypeBuilder<T> create(net.minecraft.entity.SpawnGroup spawnGroup)
@Deprecated public static <T extends net.minecraft.entity.Entity> FabricEntityTypeBuilder<T> create(net.minecraft.entity.SpawnGroup spawnGroup, Function<? super net.minecraft.world.World,? extends T> function)
create(SpawnGroup, EntityType.EntityFactory)
public static <T extends net.minecraft.entity.Entity> FabricEntityTypeBuilder<T> create(net.minecraft.entity.SpawnGroup spawnGroup, net.minecraft.entity.EntityType.EntityFactory<T> function)
public FabricEntityTypeBuilder<T> disableSummon()
public FabricEntityTypeBuilder<T> disableSaving()
public FabricEntityTypeBuilder<T> setImmuneToFire()
@Deprecated public FabricEntityTypeBuilder<T> size(float width, float height)
size(EntityDimensions)
public FabricEntityTypeBuilder<T> size(net.minecraft.entity.EntityDimensions size)
public FabricEntityTypeBuilder<T> trackable(int trackingDistanceBlocks, int updateIntervalTicks)
public FabricEntityTypeBuilder<T> trackable(int trackingDistanceBlocks, int updateIntervalTicks, boolean alwaysUpdateVelocity)
public net.minecraft.entity.EntityType<T> build()