Class FixedLootScoreProvider

java.lang.Object
net.minecraft.loot.provider.score.FixedLootScoreProvider
All Implemented Interfaces:
LootScoreProvider

public class FixedLootScoreProvider extends Object implements LootScoreProvider
Mappings:
Namespace Name
official dvy
intermediary net/minecraft/class_5667
named net/minecraft/loot/provider/score/FixedLootScoreProvider
  • Field Details

    • name

      final String name
      Mappings:
      Namespace Name Mixin selector
      official a Ldvy;a:Ljava/lang/String;
      intermediary field_27931 Lnet/minecraft/class_5667;field_27931:Ljava/lang/String;
      named name Lnet/minecraft/loot/provider/score/FixedLootScoreProvider;name:Ljava/lang/String;
  • Constructor Details

    • FixedLootScoreProvider

      FixedLootScoreProvider(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldvy;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_5667;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/loot/provider/score/FixedLootScoreProvider;<init>(Ljava/lang/String;)V
  • Method Details

    • create

      public static LootScoreProvider create(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvy;a(Ljava/lang/String;)Ldwa;
      intermediary method_35572 Lnet/minecraft/class_5667;method_35572(Ljava/lang/String;)Lnet/minecraft/class_5670;
      named create Lnet/minecraft/loot/provider/score/FixedLootScoreProvider;create(Ljava/lang/String;)Lnet/minecraft/loot/provider/score/LootScoreProvider;
    • getType

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

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official c Ldvy;c()Ljava/lang/String;
      intermediary method_35573 Lnet/minecraft/class_5667;method_35573()Ljava/lang/String;
      named getName Lnet/minecraft/loot/provider/score/FixedLootScoreProvider;getName()Ljava/lang/String;
    • getName

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