net.minecraft.world.level.storage.loot.functions

public class ExplorationMapFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

exv
net.minecraft.world.level.storage.loot.functions.ExplorationMapFunction
net.minecraft.class_111
net.minecraft.loot.function.ExplorationMapLootFunction
net.minecraft.world.level.storage.loot.functions.LootItemFunctionExplorationMap

Field summary

Modifier and TypeField
public static final TagKey<Structure>
a
DEFAULT_DESTINATION
field_25032
DEFAULT_DESTINATION
public static final Holder<MapDecorationType>
b
DEFAULT_DECORATION
field_1034
DEFAULT_DECORATION
public static final byte
c
DEFAULT_ZOOM
field_31851
DEFAULT_ZOOM
public static final int
d
DEFAULT_SEARCH_RADIUS
field_31852
DEFAULT_SEARCH_RADIUS
public static final boolean
e
DEFAULT_SKIP_EXISTING
field_31853
DEFAULT_SKIP_EXISTING_CHUNKS
public static final com.mojang.serialization.MapCodec<ExplorationMapFunction>
f
CODEC
field_45826
CODEC
private final TagKey<Structure>
h
destination
field_1035
destination
private final Holder<MapDecorationType>
i
mapDecoration
field_1036
decoration
private final byte
j
zoom
field_1037
zoom
private final int
k
searchRadius
field_1032
searchRadius
private final boolean
l
skipKnownStructures
field_1033
skipExistingChunks

Constructor summary

ModifierConstructor
(List<LootItemCondition> conditions, TagKey<Structure> destination, Holder<MapDecorationType> decoration, byte zoom, int searchRadius, boolean skipExistingChunks)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<ExplorationMapFunction>
b()
getType()
method_29321()
getType()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
getAllowedParameters()
public ItemStack
a(cxp arg0, ewp arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
public static ExplorationMapFunction$Builder
c()
makeExplorationMap()
method_492()
builder()