Package org.spongepowered.api.util
Interface DataPackEntryBuilder<T,TT extends DataPackEntry<TT>,B extends DataPackEntryBuilder<T,TT,B>>
- All Superinterfaces:
AbstractBuilder<TT>
,Builder<TT,
,B> CopyableBuilder<TT,
,B> ResettableBuilder<TT,
,B> ResourceKeyedBuilder<TT,
B>
- All Known Subinterfaces:
BiomeTemplate.Builder
,CarverTemplate.Builder
,ChatTypeTemplate.Builder
,DamageTypeTemplate.Builder
,DensityFunctionTemplate.Builder
,FeatureTemplate.Builder
,JigsawPoolTemplate.Builder
,NoiseGeneratorConfigTemplate.Builder
,NoiseTemplate.Builder
,PlacedFeatureTemplate.Builder
,ProcessorListTemplate.Builder
,StructureSetTemplate.Builder
,StructureTemplate.Builder
,WorldTypeTemplate.Builder
public interface DataPackEntryBuilder<T,TT extends DataPackEntry<TT>,B extends DataPackEntryBuilder<T,TT,B>>
extends ResourceKeyedBuilder<TT,B>, CopyableBuilder<TT,B>
-
Method Summary
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.ResourceKeyedBuilder
key
-
Method Details
-
pack
Sets the data pack- Parameters:
pack
- The data pack- Returns:
- This builder, for chaining
-
fromValue
Initializes the builder with given value.- Parameters:
value
- The template value- Returns:
- This builder, for chaining
-
fromDataPack
Initializes the builder with the data from givenDataView
.- Parameters:
datapack
- The data pack entry data- Returns:
- This builder, for chaining
- Throws:
IOException
-