MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / NewStringArgument

Function NewStringArgument

server/command/builder.go:126–136  ·  view source on GitHub ↗
(name string, typ int, nodes ...Node)

Source from the content-addressed store, hash-verified

124}
125
126func NewStringArgument(name string, typ int, nodes ...Node) Node {
127 return Node{
128 Node: play.Node{
129 Flags: play.NodeArgument,
130 Name: name,
131 ParserId: String,
132 Properties: []any{typ},
133 },
134 children: nodes,
135 }
136}
137
138func NewTimeArgument(name string, min int32, nodes ...Node) Node {
139 return Node{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected