public static class ExplorationMapLootFunction.Builder extends ConditionalLootFunction.Builder<ExplorationMapLootFunction.Builder>
Modifier and Type | Field and Description |
---|---|
private MapIcon.Type |
decoration |
private StructureFeature<?> |
destination |
private int |
searchRadius |
private boolean |
skipExistingChunks |
private byte |
zoom |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LootFunction |
build() |
protected ExplorationMapLootFunction.Builder |
getThisBuilder() |
ExplorationMapLootFunction.Builder |
withDecoration(MapIcon.Type decoration) |
ExplorationMapLootFunction.Builder |
withDestination(StructureFeature<?> structureFeature) |
ExplorationMapLootFunction.Builder |
withSkipExistingChunks(boolean skipExistingChunks) |
ExplorationMapLootFunction.Builder |
withZoom(byte zoom) |
conditionally, getConditions, getThis
private StructureFeature<?> destination
private MapIcon.Type decoration
private byte zoom
private int searchRadius
private boolean skipExistingChunks
protected ExplorationMapLootFunction.Builder getThisBuilder()
getThisBuilder
in class ConditionalLootFunction.Builder<ExplorationMapLootFunction.Builder>
public ExplorationMapLootFunction.Builder withDestination(StructureFeature<?> structureFeature)
public ExplorationMapLootFunction.Builder withDecoration(MapIcon.Type decoration)
public ExplorationMapLootFunction.Builder withZoom(byte zoom)
public ExplorationMapLootFunction.Builder withSkipExistingChunks(boolean skipExistingChunks)
public LootFunction build()