Class DeferredItemBuilder<I extends Item>
java.lang.Object
net.neoforged.neoforge.registries.DeferredHolder<Item,I>
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, getData, getDelegate, getId, getKey, getRegistry, hashCode, is, is, is, is, is, isBound, kind, tags, toString, unwrap, unwrapKey, value
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.core.Holder
getRegisteredName
-
Field Details
-
registrationHelper
-
-
Constructor Details
-
DeferredItemBuilder
-
-
Method Details
-
withLang
-
tab
-
withModel
-