Package net.minecraft.loot.functions
Class ExplorationMap
java.lang.Object
net.minecraft.loot.LootFunction
net.minecraft.loot.functions.ExplorationMap
- All Implemented Interfaces:
BiFunction<ItemStack,
,LootContext, ItemStack> ILootFunction
,IParameterized
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from interface net.minecraft.loot.functions.ILootFunction
ILootFunction.IBuilder
-
Field Summary
Modifier and TypeFieldDescriptionstatic final MapDecoration.Type
static final Structure<?>
private final Structure<?>
private static final org.apache.logging.log4j.Logger
private final MapDecoration.Type
private final int
private final boolean
private final byte
Fields inherited from class net.minecraft.loot.LootFunction
predicates
-
Constructor Summary
ModifierConstructorDescriptionprivate
ExplorationMap
(ILootCondition[] p_i232169_1_, Structure<?> p_i232169_2_, MapDecoration.Type p_i232169_3_, byte p_i232169_4_, int p_i232169_5_, boolean p_i232169_6_) -
Method Summary
Modifier and TypeMethodDescriptionSet<LootParameter<?>>
getType()
static ExplorationMap.Builder
run
(ItemStack p_215859_1_, LootContext p_215859_2_) Methods inherited from class net.minecraft.loot.LootFunction
apply, simpleBuilder, 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
private static final org.apache.logging.log4j.Logger LOGGER -
DEFAULT_FEATURE
-
DEFAULT_DECORATION
-
destination
-
mapDecoration
-
zoom
private final byte zoom -
searchRadius
private final int searchRadius -
skipKnownStructures
private final boolean skipKnownStructures
-
-
Constructor Details
-
ExplorationMap
private ExplorationMap(ILootCondition[] p_i232169_1_, Structure<?> p_i232169_2_, MapDecoration.Type p_i232169_3_, byte p_i232169_4_, int p_i232169_5_, boolean p_i232169_6_)
-
-
Method Details
-
getType
-
getReferencedContextParams
-
run
- Specified by:
run
in classLootFunction
-
makeExplorationMap
-