Class ExplorationMapFunction
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
net.minecraft.world.level.storage.loot.functions.ExplorationMapFunction
- All Implemented Interfaces:
BiFunction<ItemStack,
,LootContext, ItemStack> LootItemFunction
,LootContextUser
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
LootItemConditionalFunction.DummyBuilder
-
Field Summary
Modifier and TypeFieldDescriptionstatic final MapDecoration.Type
static final String
static final int
static final boolean
static final byte
(package private) static final org.slf4j.Logger
(package private) final MapDecoration.Type
(package private) final int
(package private) final boolean
(package private) final byte
Fields inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
predicates
-
Constructor Summary
ConstructorDescriptionExplorationMapFunction
(LootItemCondition[] p_210652_, TagKey<Structure> p_210653_, MapDecoration.Type p_210654_, byte p_210655_, int p_210656_, boolean p_210657_) -
Method Summary
Modifier and TypeMethodDescriptionSet<LootContextParam<?>>
getType()
run
(ItemStack p_80547_, LootContext p_80548_) Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
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
static final org.slf4j.Logger LOGGER -
DEFAULT_DESTINATION
-
DEFAULT_DECORATION_NAME
- See Also:
-
DEFAULT_DECORATION
-
DEFAULT_ZOOM
public static final byte DEFAULT_ZOOM- See Also:
-
DEFAULT_SEARCH_RADIUS
public static final int DEFAULT_SEARCH_RADIUS- See Also:
-
DEFAULT_SKIP_EXISTING
public static final boolean DEFAULT_SKIP_EXISTING- See Also:
-
destination
-
mapDecoration
-
zoom
final byte zoom -
searchRadius
final int searchRadius -
skipKnownStructures
final boolean skipKnownStructures
-
-
Constructor Details
-
ExplorationMapFunction
ExplorationMapFunction(LootItemCondition[] p_210652_, TagKey<Structure> p_210653_, MapDecoration.Type p_210654_, byte p_210655_, int p_210656_, boolean p_210657_)
-
-
Method Details
-
getType
-
getReferencedContextParams
-
run
- Specified by:
run
in classLootItemConditionalFunction
-
makeExplorationMap
-