Class ContextLootScoreProvider
java.lang.Object
net.minecraft.loot.provider.score.ContextLootScoreProvider
- All Implemented Interfaces:
LootScoreProvider
public class ContextLootScoreProvider extends Object implements LootScoreProvider
- Mappings:
Namespace Name official dlf
intermediary net/minecraft/class_5664
named net/minecraft/loot/provider/score/ContextLootScoreProvider
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContextLootScoreProvider.CustomSerializer
static class
ContextLootScoreProvider.Serializer
-
Field Summary
Fields Modifier and Type Field Description private LootContext.EntityTarget
target
-
Constructor Summary
Constructors Modifier Constructor Description private
ContextLootScoreProvider(LootContext.EntityTarget target)
-
Method Summary
Modifier and Type Method Description @Nullable String
getName(LootContext context)
Set<LootContextParameter<?>>
getRequiredParameters()
LootScoreProviderType
getType()
static LootScoreProvider
method_35571(LootContext.EntityTarget entityTarget)
-
Field Details
-
target
- Mappings:
Namespace Name Mixin selector official a
Ldlf;a:Ldhn$c;
intermediary field_27930
Lnet/minecraft/class_5664;field_27930:Lnet/minecraft/class_47$class_50;
named target
Lnet/minecraft/loot/provider/score/ContextLootScoreProvider;target:Lnet/minecraft/loot/context/LootContext$EntityTarget;
-
-
Constructor Details
-
ContextLootScoreProvider
- Mappings:
Namespace Name Mixin selector official <init>
Ldlf;<init>(Ldhn$c;)V
intermediary <init>
Lnet/minecraft/class_5664;<init>(Lnet/minecraft/class_47$class_50;)V
named <init>
Lnet/minecraft/loot/provider/score/ContextLootScoreProvider;<init>(Lnet/minecraft/loot/context/LootContext$EntityTarget;)V
-
-
Method Details
-
method_35571
- Mappings:
Namespace Name Mixin selector official a
Ldlf;a(Ldhn$c;)Ldli;
intermediary method_35571
Lnet/minecraft/class_5664;method_35571(Lnet/minecraft/class_47$class_50;)Lnet/minecraft/class_5670;
named method_35571
Lnet/minecraft/loot/provider/score/ContextLootScoreProvider;method_35571(Lnet/minecraft/loot/context/LootContext$EntityTarget;)Lnet/minecraft/loot/provider/score/LootScoreProvider;
-
getType
- Specified by:
getType
in interfaceLootScoreProvider
- Mappings:
Namespace Name Mixin selector official a
Ldli;a()Ldlh;
intermediary method_32475
Lnet/minecraft/class_5670;method_32475()Lnet/minecraft/class_5669;
named getType
Lnet/minecraft/loot/provider/score/LootScoreProvider;getType()Lnet/minecraft/loot/provider/score/LootScoreProviderType;
-
getName
- Specified by:
getName
in interfaceLootScoreProvider
- Mappings:
Namespace Name Mixin selector official a
Ldli;a(Ldhn;)Ljava/lang/String;
intermediary method_32476
Lnet/minecraft/class_5670;method_32476(Lnet/minecraft/class_47;)Ljava/lang/String;
named getName
Lnet/minecraft/loot/provider/score/LootScoreProvider;getName(Lnet/minecraft/loot/context/LootContext;)Ljava/lang/String;
-
getRequiredParameters
- Specified by:
getRequiredParameters
in interfaceLootScoreProvider
- Mappings:
Namespace Name Mixin selector official b
Ldli;b()Ljava/util/Set;
intermediary method_32477
Lnet/minecraft/class_5670;method_32477()Ljava/util/Set;
named getRequiredParameters
Lnet/minecraft/loot/provider/score/LootScoreProvider;getRequiredParameters()Ljava/util/Set;
-