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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExplorationMapLootFunction.Builderstatic classExplorationMapLootFunction.SerializerNested classes/interfaces inherited from class net.minecraft.loot.function.ConditionalLootFunction
ConditionalLootFunction.Joiner -
Field Summary
Fields Modifier and Type Field Description private MapIcon.Typedecorationstatic MapIcon.TypeDEFAULT_DECORATIONprivate StructureFeature<?>destinationstatic StructureFeature<?>field_25032private static LoggerLOGGERprivate intsearchRadiusprivate booleanskipExistingChunksprivate bytezoomFields inherited from class net.minecraft.loot.function.ConditionalLootFunction
conditions -
Constructor Summary
Constructors Modifier Constructor Description privateExplorationMapLootFunction(LootCondition[] conditions, StructureFeature<?> structureFeature, MapIcon.Type decoration, byte zoom, int searchRadius, boolean skipExistingChunks) -
Method Summary
Modifier and Type Method Description static ExplorationMapLootFunction.Buildercreate()Set<LootContextParameter<?>>getRequiredParameters()LootFunctionTypegetType()ItemStackprocess(ItemStack stack, LootContext context)Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction
apply, builder, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Field Details
-
LOGGER
-
field_25032
-
DEFAULT_DECORATION
-
destination
-
decoration
-
zoom
private final byte zoom -
searchRadius
private final int searchRadius -
skipExistingChunks
private final boolean skipExistingChunks
-
-
Constructor Details
-
ExplorationMapLootFunction
private ExplorationMapLootFunction(LootCondition[] conditions, StructureFeature<?> structureFeature, MapIcon.Type decoration, byte zoom, int searchRadius, boolean skipExistingChunks)
-
-
Method Details
-
getType
-
getRequiredParameters
-
process
- Specified by:
processin classConditionalLootFunction
-
create
-