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 Holder
<MapDecorationType> private int
private boolean
private byte
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected ExplorationMapFunction.Builder
getThis()
setDestination
(TagKey<Structure> p_210659_) setMapDecoration
(Holder<MapDecorationType> p_335674_) 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.storage.loot.predicates.ConditionUserBuilder
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
-
setMapDecoration
-
setZoom
-
setSearchRadius
-
setSkipKnownStructures
-
build
-