Package com.sk89q.jnbt
Class ListTagBuilder<V,LT extends org.enginehub.linbus.tree.LinTag<V>>
java.lang.Object
com.sk89q.jnbt.ListTagBuilder<V,LT>
@Deprecated
public class ListTagBuilder<V,LT extends org.enginehub.linbus.tree.LinTag<V>>
extends Object
Deprecated.
Helps create list tags.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Add the given tag.addAll
(Collection<? extends Tag<V, LT>> value) Deprecated.Add all the tags in the given list.build()
Deprecated.Build an unnamed list tag with this builder's entries.static <V,
LT extends org.enginehub.linbus.tree.LinTag<V>>
ListTagBuilder<V,LT> Deprecated.Create a new builder instance.static <V,
LT extends org.enginehub.linbus.tree.LinTag<V>>
ListTagBuilder<V,LT> createWith
(Tag<V, LT>... entries) Deprecated.Create a new builder instance.
-
Method Details
-
add
Deprecated.Add the given tag.- Parameters:
value
- the tag- Returns:
- this object
-
addAll
Deprecated.Add all the tags in the given list.- Parameters:
value
- a list of tags- Returns:
- this object
-
build
Deprecated.Build an unnamed list tag with this builder's entries.- Returns:
- the new list tag
-
create
public static <V,LT extends org.enginehub.linbus.tree.LinTag<V>> ListTagBuilder<V,LT> create(Class<? extends Tag<V, LT>> type) Deprecated.Create a new builder instance.- Returns:
- a new builder
-
createWith
@SafeVarargs public static <V,LT extends org.enginehub.linbus.tree.LinTag<V>> ListTagBuilder<V,LT> createWith(Tag<V, LT>... entries) Deprecated.Create a new builder instance.- Returns:
- a new builder
-
LinListTag.Builder
.