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
public class ExplorationMapLootFunction extends ConditionalLootFunction
- Mappings:
Namespace Name official dfo
intermediary net/minecraft/class_111
named net/minecraft/loot/function/ExplorationMapLootFunction
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExplorationMapLootFunction.Builder
static class
ExplorationMapLootFunction.Serializer
Nested classes/interfaces inherited from class net.minecraft.loot.function.ConditionalLootFunction
ConditionalLootFunction.Joiner
-
Field Summary
Fields Modifier and Type Field Description private MapIcon.Type
decoration
static MapIcon.Type
DEFAULT_DECORATION
static StructureFeature<?>
DEFAULT_DESTINATION
private StructureFeature<?>
destination
private static Logger
LOGGER
private int
searchRadius
private boolean
skipExistingChunks
private byte
zoom
Fields inherited from class net.minecraft.loot.function.ConditionalLootFunction
conditions
-
Constructor Summary
Constructors Modifier Constructor Description private
ExplorationMapLootFunction(LootCondition[] conditions, StructureFeature<?> destination, MapIcon.Type decoration, byte zoom, int searchRadius, boolean skipExistingChunks)
-
Method Summary
Modifier and Type Method Description static ExplorationMapLootFunction.Builder
create()
Set<LootContextParameter<?>>
getRequiredParameters()
LootFunctionType
getType()
ItemStack
process(ItemStack stack, LootContext context)
Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction
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
-
LOGGER
- Mappings:
Namespace Name Mixin selector official d
Ldfo;d: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
- Mappings:
Namespace Name Mixin selector official a
Ldfo;a:Lcqj;
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;
-
DEFAULT_DECORATION
- Mappings:
Namespace Name Mixin selector official b
Ldfo;b:Lddi$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;
-
destination
- Mappings:
Namespace Name Mixin selector official e
Ldfo;e:Lcqj;
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
- Mappings:
Namespace Name Mixin selector official f
Ldfo;f:Lddi$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 g
Ldfo;g: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 h
Ldfo;h: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 i
Ldfo;i:Z
intermediary field_1033
Lnet/minecraft/class_111;field_1033:Z
named skipExistingChunks
Lnet/minecraft/loot/function/ExplorationMapLootFunction;skipExistingChunks:Z
-
-
Constructor Details
-
ExplorationMapLootFunction
private ExplorationMapLootFunction(LootCondition[] conditions, StructureFeature<?> destination, MapIcon.Type decoration, byte zoom, int searchRadius, boolean skipExistingChunks)- Mappings:
Namespace Name Mixin selector official <init>
Ldfo;<init>([Ldha;Lcqj;Lddi$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
- Mappings:
Namespace Name Mixin selector official a
Ldft;a()Ldfu;
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 b
Ldej;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
- Specified by:
process
in classConditionalLootFunction
- Mappings:
Namespace Name Mixin selector official a
Ldfs;a(Lbnv;Ldei;)Lbnv;
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;
-
create
- Mappings:
Namespace Name Mixin selector official c
Ldfo;c()Ldfo$a;
intermediary method_492
Lnet/minecraft/class_111;method_492()Lnet/minecraft/class_111$class_112;
named create
Lnet/minecraft/loot/function/ExplorationMapLootFunction;create()Lnet/minecraft/loot/function/ExplorationMapLootFunction$Builder;
-