public static class UEntityType.UBuilder<T extends net.minecraft.entity.Entity>
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
UBuilder(java.lang.String name,
net.minecraft.entity.EntityType.IFactory<T> factory,
net.minecraft.entity.EntityClassification classification) |
Modifier and Type | Method and Description |
---|---|
UEntityType<T> |
build() |
static <T extends net.minecraft.entity.Entity> |
create(java.lang.String name,
net.minecraft.entity.EntityType.IFactory<T> factory,
net.minecraft.entity.EntityClassification classification) |
UEntityType.UBuilder<T> |
disableSerialization() |
UEntityType.UBuilder<T> |
disableSummoning() |
UEntityType.UBuilder<T> |
immuneToFire() |
UEntityType.UBuilder<T> |
setCustomClientFactory(java.util.function.BiFunction<net.minecraft.entity.EntityType<T>,net.minecraft.world.World,T> clientFactory) |
UEntityType.UBuilder<T> |
setShouldReceiveVelocityUpdates(boolean value) |
UEntityType.UBuilder<T> |
setSpawnable() |
UEntityType.UBuilder<T> |
setTrackingRange(int range) |
UEntityType.UBuilder<T> |
setUpdateInterval(int interval) |
UEntityType.UBuilder<T> |
size(float width,
float height) |
protected UBuilder(java.lang.String name, net.minecraft.entity.EntityType.IFactory<T> factory, net.minecraft.entity.EntityClassification classification)
public static <T extends net.minecraft.entity.Entity> UEntityType.UBuilder<T> create(java.lang.String name, net.minecraft.entity.EntityType.IFactory<T> factory, net.minecraft.entity.EntityClassification classification)
public UEntityType.UBuilder<T> size(float width, float height)
public UEntityType.UBuilder<T> disableSummoning()
public UEntityType.UBuilder<T> disableSerialization()
public UEntityType.UBuilder<T> immuneToFire()
public UEntityType.UBuilder<T> setUpdateInterval(int interval)
public UEntityType.UBuilder<T> setTrackingRange(int range)
public UEntityType.UBuilder<T> setShouldReceiveVelocityUpdates(boolean value)
public UEntityType.UBuilder<T> setCustomClientFactory(java.util.function.BiFunction<net.minecraft.entity.EntityType<T>,net.minecraft.world.World,T> clientFactory)
public UEntityType.UBuilder<T> setSpawnable()
public UEntityType<T> build()