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 dmh
intermediary net/minecraft/class_5664
named net/minecraft/loot/provider/score/ContextLootScoreProvider
  • Field Details

    • target

      Mappings:
      Namespace Name Mixin selector
      official a Ldmh;a:Ldip$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

  • Method Details

    • create

      public static LootScoreProvider create(LootContext.EntityTarget target)
      Mappings:
      Namespace Name Mixin selector
      official a Ldmh;a(Ldip$c;)Ldmk;
      intermediary method_35571 Lnet/minecraft/class_5664;method_35571(Lnet/minecraft/class_47$class_50;)Lnet/minecraft/class_5670;
      named create Lnet/minecraft/loot/provider/score/ContextLootScoreProvider;create(Lnet/minecraft/loot/context/LootContext$EntityTarget;)Lnet/minecraft/loot/provider/score/LootScoreProvider;
    • getType

      public LootScoreProviderType getType()
      Specified by:
      getType in interface LootScoreProvider
      Mappings:
      Namespace Name Mixin selector
      official a Ldmk;a()Ldmj;
      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

      @Nullable public @Nullable String getName(LootContext context)
      Specified by:
      getName in interface LootScoreProvider
      Mappings:
      Namespace Name Mixin selector
      official a Ldmk;a(Ldip;)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

      public Set<LootContextParameter<?>> getRequiredParameters()
      Specified by:
      getRequiredParameters in interface LootScoreProvider
      Mappings:
      Namespace Name Mixin selector
      official b Ldmk;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;