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 diaintermediary net/minecraft/class_5664named net/minecraft/loot/provider/score/ContextLootScoreProvider
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContextLootScoreProvider.CustomSerializerstatic classContextLootScoreProvider.Serializer -
Field Summary
Fields Modifier and Type Field Description private LootContext.EntityTargettarget -
Constructor Summary
Constructors Modifier Constructor Description privateContextLootScoreProvider(LootContext.EntityTarget target) -
Method Summary
Modifier and Type Method Description StringgetName(LootContext context)Set<LootContextParameter<?>>getRequiredParameters()LootScoreProviderTypegetType()
-
Field Details
-
target
- Mappings:
Namespace Name Mixin selector official aLdia;a:Ldei$c;intermediary field_27930Lnet/minecraft/class_5664;field_27930:Lnet/minecraft/class_47$class_50;named targetLnet/minecraft/loot/provider/score/ContextLootScoreProvider;target:Lnet/minecraft/loot/context/LootContext$EntityTarget;
-
-
Constructor Details
-
ContextLootScoreProvider
- Mappings:
Namespace Name Mixin selector official <init>Ldia;<init>(Ldei$c;)Vintermediary <init>Lnet/minecraft/class_5664;<init>(Lnet/minecraft/class_47$class_50;)Vnamed <init>Lnet/minecraft/loot/provider/score/ContextLootScoreProvider;<init>(Lnet/minecraft/loot/context/LootContext$EntityTarget;)V
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceLootScoreProvider- Mappings:
Namespace Name Mixin selector official aLdid;a()Ldic;intermediary method_32475Lnet/minecraft/class_5670;method_32475()Lnet/minecraft/class_5669;named getTypeLnet/minecraft/loot/provider/score/LootScoreProvider;getType()Lnet/minecraft/loot/provider/score/LootScoreProviderType;
-
getName
- Specified by:
getNamein interfaceLootScoreProvider- Mappings:
Namespace Name Mixin selector official aLdid;a(Ldei;)Ljava/lang/String;intermediary method_32476Lnet/minecraft/class_5670;method_32476(Lnet/minecraft/class_47;)Ljava/lang/String;named getNameLnet/minecraft/loot/provider/score/LootScoreProvider;getName(Lnet/minecraft/loot/context/LootContext;)Ljava/lang/String;
-
getRequiredParameters
- Specified by:
getRequiredParametersin interfaceLootScoreProvider- Mappings:
Namespace Name Mixin selector official bLdid;b()Ljava/util/Set;intermediary method_32477Lnet/minecraft/class_5670;method_32477()Ljava/util/Set;named getRequiredParametersLnet/minecraft/loot/provider/score/LootScoreProvider;getRequiredParameters()Ljava/util/Set;
-