Class DeferredItemBuilder<I extends Item>
java.lang.Object
net.neoforged.neoforge.registries.DeferredHolder<Item,T>
net.neoforged.neoforge.registries.DeferredItem<I>
net.neoforged.testframework.registration.DeferredItemBuilder<I>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.Holder
Holder.Direct<T>, Holder.Kind, Holder.Reference<T>
-
Field Summary
Fields inherited from class net.neoforged.neoforge.registries.DeferredHolder
key
-
Constructor Summary
ModifierConstructorDescriptionprotected
DeferredItemBuilder
(ResourceKey<Item> key, RegistrationHelper registrationHelper) -
Method Summary
Modifier and TypeMethodDescriptiontab
(ResourceKey<CreativeModeTab> tab) withModel
(Consumer<ItemModelBuilder> modelConsumer) Methods inherited from class net.neoforged.neoforge.registries.DeferredItem
asItem, createItem, createItem, toStack, toStack
Methods inherited from class net.neoforged.neoforge.registries.DeferredHolder
asOptional, bind, canSerializeIn, create, create, create, equals, get, getId, getKey, getRegistry, hashCode, is, is, is, is, isBound, kind, tags, toString, unwrap, unwrapKey, value
-
Field Details
-
registrationHelper
-
-
Constructor Details
-
DeferredItemBuilder
-
-
Method Details
-
withLang
-
tab
-
withModel
-