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 SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunctionLootItemConditionalFunction.DummyBuilder
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ExplorationMapFunction>static final MapDecoration.Typestatic final intstatic final booleanstatic final byteprivate final MapDecoration.Typeprivate final intprivate final booleanprivate final byteFields inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunctionpredicates
- 
Constructor SummaryConstructorsConstructorDescriptionExplorationMapFunction(List<LootItemCondition> p_300426_, TagKey<Structure> p_210653_, MapDecoration.Type p_210654_, byte p_210655_, int p_210656_, boolean p_210657_) 
- 
Method SummaryModifier and TypeMethodDescriptionSet<LootContextParam<?>>getType()run(ItemStack p_80547_, LootContext p_80548_) Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunctionapply, commonFields, simpleBuilder, validateMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunctionandThen
- 
Field Details- 
DEFAULT_DESTINATION
- 
DEFAULT_DECORATION
- 
DEFAULT_ZOOMpublic static final byte DEFAULT_ZOOM- See Also:
 
- 
DEFAULT_SEARCH_RADIUSpublic static final int DEFAULT_SEARCH_RADIUS- See Also:
 
- 
DEFAULT_SKIP_EXISTINGpublic static final boolean DEFAULT_SKIP_EXISTING- See Also:
 
- 
CODEC
- 
destination
- 
mapDecoration
- 
zoomprivate final byte zoom
- 
searchRadiusprivate final int searchRadius
- 
skipKnownStructuresprivate final boolean skipKnownStructures
 
- 
- 
Constructor Details- 
ExplorationMapFunctionExplorationMapFunction(List<LootItemCondition> p_300426_, TagKey<Structure> p_210653_, MapDecoration.Type p_210654_, byte p_210655_, int p_210656_, boolean p_210657_) 
 
- 
- 
Method Details- 
getType
- 
getReferencedContextParams
- 
run- Specified by:
- runin class- LootItemConditionalFunction
 
- 
makeExplorationMap
 
-