Package net.minecraft.loot.functions
Class ExplorationMap.Builder
- java.lang.Object
-
- net.minecraft.loot.LootFunction.Builder<ExplorationMap.Builder>
-
- net.minecraft.loot.functions.ExplorationMap.Builder
-
- All Implemented Interfaces:
ILootFunction.IBuilder
,ILootConditionConsumer<ExplorationMap.Builder>
- Enclosing class:
- ExplorationMap
public static class ExplorationMap.Builder extends LootFunction.Builder<ExplorationMap.Builder>
-
-
Field Summary
Fields Modifier and Type Field Description private Structure<?>
destination
private MapDecoration.Type
mapDecoration
private int
searchRadius
private boolean
skipKnownStructures
private byte
zoom
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILootFunction
build()
protected ExplorationMap.Builder
getThis()
ExplorationMap.Builder
setDestination(Structure<?> p_237427_1_)
ExplorationMap.Builder
setMapDecoration(MapDecoration.Type p_216064_1_)
ExplorationMap.Builder
setSkipKnownStructures(boolean p_216063_1_)
ExplorationMap.Builder
setZoom(byte p_216062_1_)
-
Methods inherited from class net.minecraft.loot.LootFunction.Builder
getConditions, unwrap, when
-
-
-
-
Field Detail
-
destination
private Structure<?> destination
-
mapDecoration
private MapDecoration.Type mapDecoration
-
zoom
private byte zoom
-
searchRadius
private int searchRadius
-
skipKnownStructures
private boolean skipKnownStructures
-
-
Method Detail
-
getThis
protected ExplorationMap.Builder getThis()
- Specified by:
getThis
in classLootFunction.Builder<ExplorationMap.Builder>
-
setDestination
public ExplorationMap.Builder setDestination(Structure<?> p_237427_1_)
-
setMapDecoration
public ExplorationMap.Builder setMapDecoration(MapDecoration.Type p_216064_1_)
-
setZoom
public ExplorationMap.Builder setZoom(byte p_216062_1_)
-
setSkipKnownStructures
public ExplorationMap.Builder setSkipKnownStructures(boolean p_216063_1_)
-
build
public ILootFunction build()
-
-