Package net.minecraft.loot.provider.nbt
Class ContextLootNbtProvider
java.lang.Object
net.minecraft.loot.provider.nbt.ContextLootNbtProvider
- All Implemented Interfaces:
LootNbtProvider
- Mappings:
Namespace Name named net/minecraft/loot/provider/nbt/ContextLootNbtProvider
intermediary net/minecraft/class_5646
official faj
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ContextLootNbtProvider
private static final ContextLootNbtProvider.Target
private static final String
static final com.mojang.serialization.MapCodec
<ContextLootNbtProvider> static final com.mojang.serialization.Codec
<ContextLootNbtProvider> private final ContextLootNbtProvider.Target
private static final com.mojang.serialization.Codec
<ContextLootNbtProvider.Target> -
Constructor Summary
ModifierConstructorDescriptionprivate
-
Method Summary
Modifier and TypeMethodDescriptionstatic LootNbtProvider
fromTarget
(LootContext.EntityTarget target) getNbt
(LootContext context) Set
<ContextParameter<?>> private static ContextLootNbtProvider.Target
getTarget
(LootContext.EntityTarget entityTarget) getType()
-
Field Details
-
BLOCK_ENTITY_TARGET_NAME
- See Also:
- Mappings:
Namespace Name Mixin selector named BLOCK_ENTITY_TARGET_NAME
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;BLOCK_ENTITY_TARGET_NAME:Ljava/lang/String;
intermediary field_31875
Lnet/minecraft/class_5646;field_31875:Ljava/lang/String;
official d
Lfaj;d:Ljava/lang/String;
-
BLOCK_ENTITY_TARGET
- Mappings:
Namespace Name Mixin selector named BLOCK_ENTITY_TARGET
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;BLOCK_ENTITY_TARGET:Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Target;
intermediary field_27915
Lnet/minecraft/class_5646;field_27915:Lnet/minecraft/class_5646$class_5648;
official e
Lfaj;e:Lfaj$a;
-
BLOCK_ENTITY
- Mappings:
Namespace Name Mixin selector named BLOCK_ENTITY
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;BLOCK_ENTITY:Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;
intermediary field_27914
Lnet/minecraft/class_5646;field_27914:Lnet/minecraft/class_5646;
official a
Lfaj;a:Lfaj;
-
TARGET_CODEC
- Mappings:
Namespace Name Mixin selector named TARGET_CODEC
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;TARGET_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_45881
Lnet/minecraft/class_5646;field_45881:Lcom/mojang/serialization/Codec;
official f
Lfaj;f:Lcom/mojang/serialization/Codec;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_45879
Lnet/minecraft/class_5646;field_45879:Lcom/mojang/serialization/MapCodec;
official b
Lfaj;b:Lcom/mojang/serialization/MapCodec;
-
INLINE_CODEC
- Mappings:
Namespace Name Mixin selector named INLINE_CODEC
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;INLINE_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_45880
Lnet/minecraft/class_5646;field_45880:Lcom/mojang/serialization/Codec;
official c
Lfaj;c:Lcom/mojang/serialization/Codec;
-
target
- Mappings:
Namespace Name Mixin selector named target
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;target:Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Target;
intermediary field_27916
Lnet/minecraft/class_5646;field_27916:Lnet/minecraft/class_5646$class_5648;
official g
Lfaj;g:Lfaj$a;
-
-
Constructor Details
-
ContextLootNbtProvider
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;<init>(Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Target;)V
intermediary <init>
Lnet/minecraft/class_5646;<init>(Lnet/minecraft/class_5646$class_5648;)V
official <init>
Lfaj;<init>(Lfaj$a;)V
-
-
Method Details
-
getTarget
- Mappings:
Namespace Name Mixin selector named getTarget
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;getTarget(Lnet/minecraft/loot/context/LootContext$EntityTarget;)Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Target;
intermediary method_32430
Lnet/minecraft/class_5646;method_32430(Lnet/minecraft/class_47$class_50;)Lnet/minecraft/class_5646$class_5648;
official b
Lfaj;b(Lewo$b;)Lfaj$a;
-
getType
- Specified by:
getType
in interfaceLootNbtProvider
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/loot/provider/nbt/LootNbtProvider;getType()Lnet/minecraft/loot/provider/nbt/LootNbtProviderType;
intermediary method_32439
Lnet/minecraft/class_5651;method_32439()Lnet/minecraft/class_5650;
official a
Lfal;a()Lfak;
-
getNbt
- Specified by:
getNbt
in interfaceLootNbtProvider
- Mappings:
Namespace Name Mixin selector named getNbt
Lnet/minecraft/loot/provider/nbt/LootNbtProvider;getNbt(Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/nbt/NbtElement;
intermediary method_32440
Lnet/minecraft/class_5651;method_32440(Lnet/minecraft/class_47;)Lnet/minecraft/class_2520;
official a
Lfal;a(Lewo;)Lvu;
-
getRequiredParameters
- Specified by:
getRequiredParameters
in interfaceLootNbtProvider
- Mappings:
Namespace Name Mixin selector named getRequiredParameters
Lnet/minecraft/loot/provider/nbt/LootNbtProvider;getRequiredParameters()Ljava/util/Set;
intermediary method_32441
Lnet/minecraft/class_5651;method_32441()Ljava/util/Set;
official b
Lfal;b()Ljava/util/Set;
-
fromTarget
- Mappings:
Namespace Name Mixin selector named fromTarget
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;fromTarget(Lnet/minecraft/loot/context/LootContext$EntityTarget;)Lnet/minecraft/loot/provider/nbt/LootNbtProvider;
intermediary method_35568
Lnet/minecraft/class_5646;method_35568(Lnet/minecraft/class_47$class_50;)Lnet/minecraft/class_5651;
official a
Lfaj;a(Lewo$b;)Lfal;
-