Uses of Interface
net.minecraft.loot.provider.nbt.LootNbtProvider
-
Uses of LootNbtProvider in net.minecraft.loot.function
Modifier and TypeFieldDescriptionprivate final LootNbtProvider
CopyNbtLootFunction.Builder.source
private final LootNbtProvider
CopyNbtLootFunction.source
Modifier and TypeMethodDescriptionstatic CopyNbtLootFunction.Builder
CopyNbtLootFunction.builder
(LootNbtProvider source) Deprecated.ModifierConstructorDescription(package private)
Builder
(LootNbtProvider source) (package private)
CopyNbtLootFunction
(List<LootCondition> conditions, LootNbtProvider source, List<CopyNbtLootFunction.Operation> operations) -
Uses of LootNbtProvider in net.minecraft.loot.provider.nbt
Modifier and TypeClassDescriptionclass
final record
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<LootNbtProvider> LootNbtProviderTypes.BASE_CODEC
private final com.mojang.serialization.MapCodec
<? extends LootNbtProvider> LootNbtProviderType.codec
The field for thecodec
record component.static final com.mojang.serialization.Codec
<LootNbtProvider> LootNbtProviderTypes.CODEC
Modifier and TypeMethodDescriptionstatic LootNbtProvider
ContextLootNbtProvider.fromTarget
(LootContext.EntityTarget target) Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<? extends LootNbtProvider> LootNbtProviderType.codec()
Returns the value of thecodec
record component.Modifier and TypeMethodDescriptionprivate static LootNbtProviderType
LootNbtProviderTypes.register
(String id, com.mojang.serialization.MapCodec<? extends LootNbtProvider> codec) ModifierConstructorDescriptionLootNbtProviderType
(com.mojang.serialization.MapCodec<? extends LootNbtProvider> mapCodec)