Package net.minecraft.loot.provider.nbt
Class ContextLootNbtProvider
java.lang.Object
net.minecraft.loot.provider.nbt.ContextLootNbtProvider
- All Implemented Interfaces:
LootNbtProvider
public class ContextLootNbtProvider extends Object implements LootNbtProvider
- Mappings:
Namespace Name official dhm
intermediary net/minecraft/class_5646
named net/minecraft/loot/provider/nbt/ContextLootNbtProvider
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContextLootNbtProvider.CustomSerializer
static class
ContextLootNbtProvider.Serializer
(package private) static interface
ContextLootNbtProvider.Target
-
Field Summary
Fields Modifier and Type Field Description static ContextLootNbtProvider
BLOCK_ENTITY
private static ContextLootNbtProvider.Target
BLOCK_ENTITY_TARGET
private ContextLootNbtProvider.Target
target
-
Constructor Summary
Constructors Modifier Constructor Description private
ContextLootNbtProvider(ContextLootNbtProvider.Target target)
-
Method Summary
Modifier and Type Method Description Tag
getNbtTag(LootContext context)
Set<LootContextParameter<?>>
getRequiredParameters()
private static ContextLootNbtProvider.Target
getTarget(LootContext.EntityTarget entityTarget)
LootNbtProviderType
getType()
private static ContextLootNbtProvider
setTarget(String target)
-
Field Details
-
BLOCK_ENTITY_TARGET
- Mappings:
Namespace Name Mixin selector official b
Ldhm;b:Ldhm$a;
intermediary field_27915
Lnet/minecraft/class_5646;field_27915:Lnet/minecraft/class_5646$class_5648;
named BLOCK_ENTITY_TARGET
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;BLOCK_ENTITY_TARGET:Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Target;
-
BLOCK_ENTITY
- Mappings:
Namespace Name Mixin selector official a
Ldhm;a:Ldhm;
intermediary field_27914
Lnet/minecraft/class_5646;field_27914:Lnet/minecraft/class_5646;
named BLOCK_ENTITY
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;BLOCK_ENTITY:Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;
-
target
- Mappings:
Namespace Name Mixin selector official c
Ldhm;c:Ldhm$a;
intermediary field_27916
Lnet/minecraft/class_5646;field_27916:Lnet/minecraft/class_5646$class_5648;
named target
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;target:Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Target;
-
-
Constructor Details
-
ContextLootNbtProvider
- Mappings:
Namespace Name Mixin selector official <init>
Ldhm;<init>(Ldhm$a;)V
intermediary <init>
Lnet/minecraft/class_5646;<init>(Lnet/minecraft/class_5646$class_5648;)V
named <init>
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;<init>(Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Target;)V
-
-
Method Details
-
getTarget
- Mappings:
Namespace Name Mixin selector official b
Ldhm;b(Ldei$c;)Ldhm$a;
intermediary method_32430
Lnet/minecraft/class_5646;method_32430(Lnet/minecraft/class_47$class_50;)Lnet/minecraft/class_5646$class_5648;
named getTarget
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;getTarget(Lnet/minecraft/loot/context/LootContext$EntityTarget;)Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Target;
-
getType
- Specified by:
getType
in interfaceLootNbtProvider
- Mappings:
Namespace Name Mixin selector official a
Ldho;a()Ldhn;
intermediary method_32439
Lnet/minecraft/class_5651;method_32439()Lnet/minecraft/class_5650;
named getType
Lnet/minecraft/loot/provider/nbt/LootNbtProvider;getType()Lnet/minecraft/loot/provider/nbt/LootNbtProviderType;
-
getNbtTag
- Specified by:
getNbtTag
in interfaceLootNbtProvider
- Mappings:
Namespace Name Mixin selector official a
Ldho;a(Ldei;)Lni;
intermediary method_32440
Lnet/minecraft/class_5651;method_32440(Lnet/minecraft/class_47;)Lnet/minecraft/class_2520;
named getNbtTag
Lnet/minecraft/loot/provider/nbt/LootNbtProvider;getNbtTag(Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/nbt/Tag;
-
getRequiredParameters
- Specified by:
getRequiredParameters
in interfaceLootNbtProvider
- Mappings:
Namespace Name Mixin selector official b
Ldho;b()Ljava/util/Set;
intermediary method_32441
Lnet/minecraft/class_5651;method_32441()Ljava/util/Set;
named getRequiredParameters
Lnet/minecraft/loot/provider/nbt/LootNbtProvider;getRequiredParameters()Ljava/util/Set;
-
setTarget
- Mappings:
Namespace Name Mixin selector official b
Ldhm;b(Ljava/lang/String;)Ldhm;
intermediary method_32431
Lnet/minecraft/class_5646;method_32431(Ljava/lang/String;)Lnet/minecraft/class_5646;
named setTarget
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;setTarget(Ljava/lang/String;)Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;
-