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

Interface PlayerExecutableCommand

examples/server/src/player/command.rs:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15use super::{Player, PlayerError};
16
17pub trait PlayerExecutableCommand: CommandListener {
18 fn execute(self, player: &mut Player) -> Result<(), PlayerError>;
19}
20
21impl Player {
22 pub fn coordinate_transform(&self) -> CommandCoordinateTransform {

Callers

nothing calls this directly

Implementers 1

command.rsexamples/server/src/player/command.rs

Calls

no outgoing calls

Tested by

no test coverage detected