ListBinaryTag.Builder
.@Deprecated
public class ListTagBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
ListTagBuilder |
add(Tag value)
Deprecated.
Add the given tag.
|
ListTagBuilder |
addAll(java.util.Collection<? extends Tag> value)
Deprecated.
Add all the tags in the given list.
|
ListTag |
build()
Deprecated.
Build an unnamed list tag with this builder's entries.
|
static ListTagBuilder |
create(java.lang.Class<? extends Tag> type)
Deprecated.
Create a new builder instance.
|
static ListTagBuilder |
createWith(Tag... entries)
Deprecated.
Create a new builder instance.
|
public ListTagBuilder add(Tag value)
value
- the tagpublic ListTagBuilder addAll(java.util.Collection<? extends Tag> value)
value
- a list of tagspublic ListTag build()
public static ListTagBuilder create(java.lang.Class<? extends Tag> type)
public static ListTagBuilder createWith(Tag... entries)