MCPcopy Create free account
hub / github.com/Vulae/pkmc / node

Method node

examples/server/src/player/command.rs:77–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75
76impl CommandListener for CommandGoto {
77 fn node() -> CommandNode {
78 CommandNode::new_literal("goto").with_child(
79 CommandNode::new(CommandNodeParser::Vec3).with_child(
80 CommandNode::new_literal("in").with_child(CommandNode::new(
81 CommandNodeParser::ResourceKey("minecraft:dimension_type".to_owned()),
82 )),
83 ),
84 )
85 }
86
87 type ParseArg = CommandCoordinateTransform;
88 fn try_parse(

Callers

nothing calls this directly

Calls 1

with_childMethod · 0.45

Tested by

no test coverage detected