Interface PlacedFeatureTemplate.Builder
- All Superinterfaces:
AbstractBuilder<PlacedFeatureTemplate>
,Builder<PlacedFeatureTemplate,
,PlacedFeatureTemplate.Builder> CopyableBuilder<PlacedFeatureTemplate,
,PlacedFeatureTemplate.Builder> DataPackEntryBuilder<PlacedFeature,
,PlacedFeatureTemplate, PlacedFeatureTemplate.Builder> ResettableBuilder<PlacedFeatureTemplate,
,PlacedFeatureTemplate.Builder> ResourceKeyedBuilder<PlacedFeatureTemplate,
PlacedFeatureTemplate.Builder>
- Enclosing interface:
PlacedFeatureTemplate
public static interface PlacedFeatureTemplate.Builder
extends DataPackEntryBuilder<PlacedFeature,PlacedFeatureTemplate,PlacedFeatureTemplate.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionaddModifier
(PlacementModifier modifier) Adds aplacement modifier
.Sets theFeature
.feature
(FeatureTemplate feature) Initializes the builder with all data from givenFeatureTemplate
.Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder
build
Methods inherited from interface org.spongepowered.api.util.CopyableBuilder
from
Methods inherited from interface org.spongepowered.api.util.DataPackEntryBuilder
fromDataPack, fromValue, pack
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
Method Details
-
feature
Sets theFeature
.- Parameters:
feature
- The feature- Returns:
- The builder, for chaining
-
feature
Initializes the builder with all data from givenFeatureTemplate
.- Parameters:
feature
- The feature template- Returns:
- The builder, for chaining
-
addModifier
Adds aplacement modifier
.- Parameters:
modifier
- The placement modifier- Returns:
- The builder, for chaining
-