Added pyramid literal
FIrst step towards adding other shape pyramids
This commit is contained in:
1 parent
fe0ecccd4f
commit
e0828513fa
1 file changed
+3
@@ -70,6 +70,7 @@ public class DrawCommand {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
.then(literal("pyramid")
|
||||||
.then(literal("cone")
|
.then(literal("cone")
|
||||||
.then(argument("center", BlockPosArgumentType.blockPos())
|
.then(argument("center", BlockPosArgumentType.blockPos())
|
||||||
.then(argument("radius", IntegerArgumentType.integer(1))
|
.then(argument("radius", IntegerArgumentType.integer(1))
|
||||||
@@ -151,6 +152,8 @@ public class DrawCommand {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
)
|
||||||
|
|
||||||
);
|
);
|
||||||
dispatcher.register(command);
|
dispatcher.register(command);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user