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
named net/minecraft/loot/function/ExplorationMapLootFunction
intermediary net/minecraft/class_111
official exu
  • Field Details

    • DEFAULT_DESTINATION

      public static final TagKey<Structure> DEFAULT_DESTINATION
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_DESTINATION Lnet/minecraft/loot/function/ExplorationMapLootFunction;DEFAULT_DESTINATION:Lnet/minecraft/registry/tag/TagKey;
      intermediary field_25032 Lnet/minecraft/class_111;field_25032:Lnet/minecraft/class_6862;
      official a Lexu;a:Layk;
    • DEFAULT_DECORATION

      public static final RegistryEntry<MapDecorationType> DEFAULT_DECORATION
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_DECORATION Lnet/minecraft/loot/function/ExplorationMapLootFunction;DEFAULT_DECORATION:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_1034 Lnet/minecraft/class_111;field_1034:Lnet/minecraft/class_6880;
      official b Lexu;b:Ljq;
    • DEFAULT_ZOOM

      public static final byte DEFAULT_ZOOM
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_ZOOM Lnet/minecraft/loot/function/ExplorationMapLootFunction;DEFAULT_ZOOM:B
      intermediary field_31851 Lnet/minecraft/class_111;field_31851:B
      official c Lexu;c:B
    • DEFAULT_SEARCH_RADIUS

      public static final int DEFAULT_SEARCH_RADIUS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_SEARCH_RADIUS Lnet/minecraft/loot/function/ExplorationMapLootFunction;DEFAULT_SEARCH_RADIUS:I
      intermediary field_31852 Lnet/minecraft/class_111;field_31852:I
      official d Lexu;d:I
    • DEFAULT_SKIP_EXISTING_CHUNKS

      public static final boolean DEFAULT_SKIP_EXISTING_CHUNKS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_SKIP_EXISTING_CHUNKS Lnet/minecraft/loot/function/ExplorationMapLootFunction;DEFAULT_SKIP_EXISTING_CHUNKS:Z
      intermediary field_31853 Lnet/minecraft/class_111;field_31853:Z
      official e Lexu;e:Z
    • CODEC

      public static final com.mojang.serialization.MapCodec<ExplorationMapLootFunction> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/loot/function/ExplorationMapLootFunction;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_45826 Lnet/minecraft/class_111;field_45826:Lcom/mojang/serialization/MapCodec;
      official f Lexu;f:Lcom/mojang/serialization/MapCodec;
    • destination

      private final TagKey<Structure> destination
      Mappings:
      Namespace Name Mixin selector
      named destination Lnet/minecraft/loot/function/ExplorationMapLootFunction;destination:Lnet/minecraft/registry/tag/TagKey;
      intermediary field_1035 Lnet/minecraft/class_111;field_1035:Lnet/minecraft/class_6862;
      official h Lexu;h:Layk;
    • decoration

      private final RegistryEntry<MapDecorationType> decoration
      Mappings:
      Namespace Name Mixin selector
      named decoration Lnet/minecraft/loot/function/ExplorationMapLootFunction;decoration:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_1036 Lnet/minecraft/class_111;field_1036:Lnet/minecraft/class_6880;
      official i Lexu;i:Ljq;
    • zoom

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

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

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

    • ExplorationMapLootFunction

      ExplorationMapLootFunction(List<LootCondition> conditions, TagKey<Structure> destination, RegistryEntry<MapDecorationType> decoration, byte zoom, int searchRadius, boolean skipExistingChunks)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/loot/function/ExplorationMapLootFunction;<init>(Ljava/util/List;Lnet/minecraft/registry/tag/TagKey;Lnet/minecraft/registry/entry/RegistryEntry;BIZ)V
      intermediary <init> Lnet/minecraft/class_111;<init>(Ljava/util/List;Lnet/minecraft/class_6862;Lnet/minecraft/class_6880;BIZ)V
      official <init> Lexu;<init>(Ljava/util/List;Layk;Ljq;BIZ)V
  • Method Details

    • getType

      Specified by:
      getType in interface LootFunction
      Specified by:
      getType in class ConditionalLootFunction
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/loot/function/LootFunction;getType()Lnet/minecraft/loot/function/LootFunctionType;
      intermediary method_29321 Lnet/minecraft/class_117;method_29321()Lnet/minecraft/class_5339;
      official b Leyc;b()Leyd;
    • getAllowedParameters

      public Set<ContextParameter<?>> getAllowedParameters()
      Mappings:
      Namespace Name Mixin selector
      named getAllowedParameters Lnet/minecraft/loot/context/LootContextAware;getAllowedParameters()Ljava/util/Set;
      intermediary method_293 Lnet/minecraft/class_46;method_293()Ljava/util/Set;
      official a Lewp;a()Ljava/util/Set;
    • process

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

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