Class Node
java.lang.Object
com.github.retrooper.packetevents.protocol.chat.Node
-
Constructor Summary
ConstructorDescriptionNode
(byte flags, List<Integer> children, int redirectNodeIndex, @Nullable String name, @Nullable Parsers.Parser parser, @Nullable List<Object> properties, @Nullable ResourceLocation suggestionsType) Node
(byte flags, List<Integer> children, int redirectNodeIndex, @Nullable String name, @Nullable Integer parserID, @Nullable List<Object> properties, @Nullable ResourceLocation suggestionsType) -
Method Summary
Modifier and TypeMethodDescriptionbyte
getFlags()
getName()
int
void
setChildren
(List<Integer> children) void
setFlags
(byte flags) void
void
setParser
(Optional<Parsers.Parser> parser) void
setParserID
(Optional<Integer> parserID) void
setProperties
(Optional<List<Object>> properties) void
setRedirectNodeIndex
(int redirectNodeIndex) void
setSuggestionsType
(Optional<ResourceLocation> suggestionsType)
-
Constructor Details
-
Node
-
Node
public Node(byte flags, List<Integer> children, int redirectNodeIndex, @Nullable @Nullable String name, @Nullable @Nullable Parsers.Parser parser, @Nullable @Nullable List<Object> properties, @Nullable @Nullable ResourceLocation suggestionsType)
-
-
Method Details
-
getFlags
public byte getFlags() -
setFlags
public void setFlags(byte flags) -
getChildren
-
setChildren
-
getRedirectNodeIndex
public int getRedirectNodeIndex() -
setRedirectNodeIndex
public void setRedirectNodeIndex(int redirectNodeIndex) -
getName
-
setName
-
getParser
-
setParser
-
getParserID
-
setParserID
-
getProperties
-
setProperties
-
getSuggestionsType
-
setSuggestionsType
-