类 DeferredEntityTypeBuilder<E extends Entity,T extends EntityType<E>>
java.lang.Object
net.neoforged.neoforge.registries.DeferredHolder<EntityType<?>,T>
net.neoforged.testframework.registration.DeferredEntityTypeBuilder<E,T>
- 所有已实现的接口:
Supplier<T>
,Holder<EntityType<?>>
,IHolderExtension<EntityType<?>>
,IWithData<EntityType<?>>
public class DeferredEntityTypeBuilder<E extends Entity,T extends EntityType<E>>
extends DeferredHolder<EntityType<?>,T>
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.core.Holder
Holder.Direct<T>, Holder.Kind, Holder.Reference<T>
-
字段概要
字段从类继承的字段 net.neoforged.neoforge.registries.DeferredHolder
key
-
构造器概要
构造器限定符构造器说明protected
DeferredEntityTypeBuilder
(ResourceKey<EntityType<?>> key, RegistrationHelper helper) -
方法概要
修饰符和类型方法说明withAttributes
(Supplier<AttributeSupplier.Builder> attributes) withRenderer
(Supplier<Function<net.minecraft.client.renderer.entity.EntityRendererProvider.Context, net.minecraft.client.renderer.entity.EntityRenderer<E, ?>>> renderer) 从类继承的方法 net.neoforged.neoforge.registries.DeferredHolder
asOptional, bind, canSerializeIn, create, create, create, equals, get, getData, getDelegate, getId, getKey, getRegistry, hashCode, is, is, is, is, is, isBound, kind, tags, toString, unwrap, unwrapKey, value
从接口继承的方法 net.minecraft.core.Holder
getRegisteredName
从接口继承的方法 net.neoforged.neoforge.common.extensions.IHolderExtension
unwrapLookup
-
字段详细资料
-
helper
-
-
构造器详细资料
-
DeferredEntityTypeBuilder
-
-
方法详细资料
-
withRenderer
-
withAttributes
public DeferredEntityTypeBuilder<E,T> withAttributes(Supplier<AttributeSupplier.Builder> attributes) -
withLang
-