Class ExplorationMapLootFunction

java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction
net.minecraft.loot.function.ExplorationMapLootFunction
All Implemented Interfaces:
BiFunction<ItemStack,LootContext,ItemStack>, LootContextAware, LootFunction

public class ExplorationMapLootFunction extends ConditionalLootFunction
Mappings:
Namespace Name
official dkt
intermediary net/minecraft/class_111
named net/minecraft/loot/function/ExplorationMapLootFunction
  • Field Details

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official h Ldkt;h:Lorg/apache/logging/log4j/Logger;
      intermediary field_1038 Lnet/minecraft/class_111;field_1038:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/loot/function/ExplorationMapLootFunction;LOGGER:Lorg/apache/logging/log4j/Logger;
    • DEFAULT_DESTINATION

      public static final StructureFeature<?> DEFAULT_DESTINATION
      Mappings:
      Namespace Name Mixin selector
      official a Ldkt;a:Lcxy;
      intermediary field_25032 Lnet/minecraft/class_111;field_25032:Lnet/minecraft/class_3195;
      named DEFAULT_DESTINATION Lnet/minecraft/loot/function/ExplorationMapLootFunction;DEFAULT_DESTINATION:Lnet/minecraft/world/gen/feature/StructureFeature;
    • MANSION

      public static final String MANSION
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ldkt;b:Ljava/lang/String;
      intermediary field_31850 Lnet/minecraft/class_111;field_31850:Ljava/lang/String;
      named MANSION Lnet/minecraft/loot/function/ExplorationMapLootFunction;MANSION:Ljava/lang/String;
    • DEFAULT_DECORATION

      public static final MapIcon.Type DEFAULT_DECORATION
      Mappings:
      Namespace Name Mixin selector
      official c Ldkt;c:Ldin$a;
      intermediary field_1034 Lnet/minecraft/class_111;field_1034:Lnet/minecraft/class_20$class_21;
      named DEFAULT_DECORATION Lnet/minecraft/loot/function/ExplorationMapLootFunction;DEFAULT_DECORATION:Lnet/minecraft/item/map/MapIcon$Type;
    • field_31851

      public static final byte field_31851
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Ldkt;d:B
      intermediary field_31851 Lnet/minecraft/class_111;field_31851:B
      named field_31851 Lnet/minecraft/loot/function/ExplorationMapLootFunction;field_31851:B
    • field_31852

      public static final int field_31852
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Ldkt;e:I
      intermediary field_31852 Lnet/minecraft/class_111;field_31852:I
      named field_31852 Lnet/minecraft/loot/function/ExplorationMapLootFunction;field_31852:I
    • field_31853

      public static final boolean field_31853
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Ldkt;f:Z
      intermediary field_31853 Lnet/minecraft/class_111;field_31853:Z
      named field_31853 Lnet/minecraft/loot/function/ExplorationMapLootFunction;field_31853:Z
    • destination

      final StructureFeature<?> destination
      Mappings:
      Namespace Name Mixin selector
      official i Ldkt;i:Lcxy;
      intermediary field_1035 Lnet/minecraft/class_111;field_1035:Lnet/minecraft/class_3195;
      named destination Lnet/minecraft/loot/function/ExplorationMapLootFunction;destination:Lnet/minecraft/world/gen/feature/StructureFeature;
    • decoration

      final MapIcon.Type decoration
      Mappings:
      Namespace Name Mixin selector
      official j Ldkt;j:Ldin$a;
      intermediary field_1036 Lnet/minecraft/class_111;field_1036:Lnet/minecraft/class_20$class_21;
      named decoration Lnet/minecraft/loot/function/ExplorationMapLootFunction;decoration:Lnet/minecraft/item/map/MapIcon$Type;
    • zoom

      final byte zoom
      Mappings:
      Namespace Name Mixin selector
      official k Ldkt;k:B
      intermediary field_1037 Lnet/minecraft/class_111;field_1037:B
      named zoom Lnet/minecraft/loot/function/ExplorationMapLootFunction;zoom:B
    • searchRadius

      final int searchRadius
      Mappings:
      Namespace Name Mixin selector
      official l Ldkt;l:I
      intermediary field_1032 Lnet/minecraft/class_111;field_1032:I
      named searchRadius Lnet/minecraft/loot/function/ExplorationMapLootFunction;searchRadius:I
    • skipExistingChunks

      final boolean skipExistingChunks
      Mappings:
      Namespace Name Mixin selector
      official m Ldkt;m:Z
      intermediary field_1033 Lnet/minecraft/class_111;field_1033:Z
      named skipExistingChunks Lnet/minecraft/loot/function/ExplorationMapLootFunction;skipExistingChunks:Z
  • Constructor Details

    • ExplorationMapLootFunction

      ExplorationMapLootFunction(LootCondition[] conditions, StructureFeature<?> destination, MapIcon.Type decoration, byte zoom, int searchRadius, boolean skipExistingChunks)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldkt;<init>([Ldmg;Lcxy;Ldin$a;BIZ)V
      intermediary <init> Lnet/minecraft/class_111;<init>([Lnet/minecraft/class_5341;Lnet/minecraft/class_3195;Lnet/minecraft/class_20$class_21;BIZ)V
      named <init> Lnet/minecraft/loot/function/ExplorationMapLootFunction;<init>([Lnet/minecraft/loot/condition/LootCondition;Lnet/minecraft/world/gen/feature/StructureFeature;Lnet/minecraft/item/map/MapIcon$Type;BIZ)V
  • Method Details

    • getType

      public LootFunctionType getType()
      Mappings:
      Namespace Name Mixin selector
      official a Ldky;a()Ldkz;
      intermediary method_29321 Lnet/minecraft/class_117;method_29321()Lnet/minecraft/class_5339;
      named getType Lnet/minecraft/loot/function/LootFunction;getType()Lnet/minecraft/loot/function/LootFunctionType;
    • getRequiredParameters

      public Set<LootContextParameter<?>> getRequiredParameters()
      Mappings:
      Namespace Name Mixin selector
      official b Ldjo;b()Ljava/util/Set;
      intermediary method_293 Lnet/minecraft/class_46;method_293()Ljava/util/Set;
      named getRequiredParameters Lnet/minecraft/loot/context/LootContextAware;getRequiredParameters()Ljava/util/Set;
    • process

      public ItemStack process(ItemStack stack, LootContext context)
      Specified by:
      process in class ConditionalLootFunction
      Mappings:
      Namespace Name Mixin selector
      official a Ldkx;a(Lbtx;Ldjn;)Lbtx;
      intermediary method_522 Lnet/minecraft/class_120;method_522(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Lnet/minecraft/class_1799;
      named process Lnet/minecraft/loot/function/ConditionalLootFunction;process(Lnet/minecraft/item/ItemStack;Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/item/ItemStack;
    • builder

      public static ExplorationMapLootFunction.Builder builder()
      Mappings:
      Namespace Name Mixin selector
      official c Ldkt;c()Ldkt$a;
      intermediary method_492 Lnet/minecraft/class_111;method_492()Lnet/minecraft/class_111$class_112;
      named builder Lnet/minecraft/loot/function/ExplorationMapLootFunction;builder()Lnet/minecraft/loot/function/ExplorationMapLootFunction$Builder;