Package net.minecraft.loot.function
Class ExplorationMapLootFunction
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction
net.minecraft.loot.function.ExplorationMapLootFunction
- All Implemented Interfaces:
BiFunction<ItemStack,
,LootContext, ItemStack> LootContextAware
,LootFunction
- Mappings:
Namespace Name official eid
intermediary net/minecraft/class_111
named net/minecraft/loot/function/ExplorationMapLootFunction
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ExplorationMapLootFunction>
private final MapIcon.Type
static final MapIcon.Type
static final int
static final boolean
static final byte
private final int
private final boolean
private final byte
Fields inherited from class net.minecraft.loot.function.ConditionalLootFunction
conditions
-
Constructor Summary
ConstructorDescriptionExplorationMapLootFunction
(List<LootCondition> conditions, TagKey<Structure> destination, MapIcon.Type decoration, byte zoom, int searchRadius, boolean skipExistingChunks) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getType()
process
(ItemStack stack, LootContext context) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction
addConditionsField, apply, builder, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
-
Field Details
-
DEFAULT_DESTINATION
- Mappings:
Namespace Name Mixin selector official a
Leid;a:Lasw;
intermediary field_25032
Lnet/minecraft/class_111;field_25032:Lnet/minecraft/class_6862;
named DEFAULT_DESTINATION
Lnet/minecraft/loot/function/ExplorationMapLootFunction;DEFAULT_DESTINATION:Lnet/minecraft/registry/tag/TagKey;
-
DEFAULT_DECORATION
- Mappings:
Namespace Name Mixin selector official b
Leid;b:Lefy$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;
-
DEFAULT_ZOOM
public static final byte DEFAULT_ZOOM- See Also:
- Mappings:
Namespace Name Mixin selector official c
Leid;c:B
intermediary field_31851
Lnet/minecraft/class_111;field_31851:B
named DEFAULT_ZOOM
Lnet/minecraft/loot/function/ExplorationMapLootFunction;DEFAULT_ZOOM:B
-
DEFAULT_SEARCH_RADIUS
public static final int DEFAULT_SEARCH_RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector official d
Leid;d:I
intermediary field_31852
Lnet/minecraft/class_111;field_31852:I
named DEFAULT_SEARCH_RADIUS
Lnet/minecraft/loot/function/ExplorationMapLootFunction;DEFAULT_SEARCH_RADIUS:I
-
DEFAULT_SKIP_EXISTING_CHUNKS
public static final boolean DEFAULT_SKIP_EXISTING_CHUNKS- See Also:
- Mappings:
Namespace Name Mixin selector official e
Leid;e:Z
intermediary field_31853
Lnet/minecraft/class_111;field_31853:Z
named DEFAULT_SKIP_EXISTING_CHUNKS
Lnet/minecraft/loot/function/ExplorationMapLootFunction;DEFAULT_SKIP_EXISTING_CHUNKS:Z
-
CODEC
- Mappings:
Namespace Name Mixin selector official f
Leid;f:Lcom/mojang/serialization/Codec;
intermediary field_45826
Lnet/minecraft/class_111;field_45826:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/loot/function/ExplorationMapLootFunction;CODEC:Lcom/mojang/serialization/Codec;
-
destination
- Mappings:
Namespace Name Mixin selector official h
Leid;h:Lasw;
intermediary field_1035
Lnet/minecraft/class_111;field_1035:Lnet/minecraft/class_6862;
named destination
Lnet/minecraft/loot/function/ExplorationMapLootFunction;destination:Lnet/minecraft/registry/tag/TagKey;
-
decoration
- Mappings:
Namespace Name Mixin selector official i
Leid;i:Lefy$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
private final byte zoom- Mappings:
Namespace Name Mixin selector official j
Leid;j:B
intermediary field_1037
Lnet/minecraft/class_111;field_1037:B
named zoom
Lnet/minecraft/loot/function/ExplorationMapLootFunction;zoom:B
-
searchRadius
private final int searchRadius- Mappings:
Namespace Name Mixin selector official k
Leid;k:I
intermediary field_1032
Lnet/minecraft/class_111;field_1032:I
named searchRadius
Lnet/minecraft/loot/function/ExplorationMapLootFunction;searchRadius:I
-
skipExistingChunks
private final boolean skipExistingChunks- Mappings:
Namespace Name Mixin selector official l
Leid;l:Z
intermediary field_1033
Lnet/minecraft/class_111;field_1033:Z
named skipExistingChunks
Lnet/minecraft/loot/function/ExplorationMapLootFunction;skipExistingChunks:Z
-
-
Constructor Details
-
ExplorationMapLootFunction
ExplorationMapLootFunction(List<LootCondition> conditions, TagKey<Structure> destination, MapIcon.Type decoration, byte zoom, int searchRadius, boolean skipExistingChunks) - Mappings:
Namespace Name Mixin selector official <init>
Leid;<init>(Ljava/util/List;Lasw;Lefy$a;BIZ)V
intermediary <init>
Lnet/minecraft/class_111;<init>(Ljava/util/List;Lnet/minecraft/class_6862;Lnet/minecraft/class_20$class_21;BIZ)V
named <init>
Lnet/minecraft/loot/function/ExplorationMapLootFunction;<init>(Ljava/util/List;Lnet/minecraft/registry/tag/TagKey;Lnet/minecraft/item/map/MapIcon$Type;BIZ)V
-
-
Method Details
-
getType
- Mappings:
Namespace Name Mixin selector official b
Leij;b()Leik;
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
- Mappings:
Namespace Name Mixin selector official a
Legx;a()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
- Specified by:
process
in classConditionalLootFunction
- Mappings:
Namespace Name Mixin selector official a
Leii;a(Lcmy;Legw;)Lcmy;
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
- Mappings:
Namespace Name Mixin selector official c
Leid;c()Leid$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;
-