Class ExplorationMapFunction.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<ExplorationMapFunction.Builder>
net.minecraft.world.level.storage.loot.functions.ExplorationMapFunction.Builder
- All Implemented Interfaces:
LootItemFunction.Builder
,ConditionUserBuilder<ExplorationMapFunction.Builder>
- Enclosing class:
- ExplorationMapFunction
public static class ExplorationMapFunction.Builder
extends LootItemConditionalFunction.Builder<ExplorationMapFunction.Builder>
-
Field Summary
Modifier and TypeFieldDescriptionprivate TagKey<ConfiguredStructureFeature<?,
?>> private MapDecoration.Type
private int
private boolean
private byte
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected ExplorationMapFunction.Builder
getThis()
setDestination
(TagKey<ConfiguredStructureFeature<?, ?>> p_210659_) setMapDecoration
(MapDecoration.Type p_80574_) setSearchRadius
(int p_165206_) setSkipKnownStructures
(boolean p_80576_) setZoom
(byte p_80570_) Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder
getConditions, unwrap, when
-
Field Details
-
destination
-
mapDecoration
-
zoom
private byte zoom -
searchRadius
private int searchRadius -
skipKnownStructures
private boolean skipKnownStructures
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
getThis
- Specified by:
getThis
in classLootItemConditionalFunction.Builder<ExplorationMapFunction.Builder>
-
setDestination
public ExplorationMapFunction.Builder setDestination(TagKey<ConfiguredStructureFeature<?, ?>> p_210659_) -
setMapDecoration
-
setZoom
-
setSearchRadius
-
setSkipKnownStructures
-
build
-