Uses of Interface
net.minecraft.world.level.storage.loot.providers.nbt.NbtProvider
Package
Description
-
Uses of NbtProvider in net.minecraft.world.level.storage.loot.functions
Modifier and TypeFieldDescriptionprivate final NbtProvider
CopyNbtFunction.Builder.source
private final NbtProvider
CopyNbtFunction.source
Modifier and TypeMethodDescriptionstatic CopyNbtFunction.Builder
CopyNbtFunction.copyData
(NbtProvider p_165181_) ModifierConstructorDescription(package private)
Builder
(NbtProvider p_165183_) (package private)
CopyNbtFunction
(List<LootItemCondition> p_165177_, NbtProvider p_165176_, List<CopyNbtFunction.CopyOperation> p_298837_) -
Uses of NbtProvider in net.minecraft.world.level.storage.loot.providers.nbt
Modifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec<? extends NbtProvider>
LootNbtProviderType.codec
The field for thecodec
record component.static final com.mojang.serialization.Codec<NbtProvider>
NbtProviders.CODEC
private static final com.mojang.serialization.Codec<NbtProvider>
NbtProviders.TYPED_CODEC
Modifier and TypeMethodDescriptionstatic NbtProvider
ContextNbtProvider.forContextEntity
(LootContext.EntityTarget p_165571_) Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<? extends NbtProvider>
LootNbtProviderType.codec()
Returns the value of thecodec
record component.Modifier and TypeMethodDescriptionprivate static LootNbtProviderType
NbtProviders.register
(String p_165629_, com.mojang.serialization.Codec<? extends NbtProvider> p_298369_) ModifierConstructorDescriptionLootNbtProviderType
(com.mojang.serialization.Codec<? extends NbtProvider> codec) Creates an instance of aLootNbtProviderType
record class.