Rename engine to cubi
This commit is contained in:
@@ -1623,7 +1623,7 @@ export class GameServer {
|
||||
|
||||
// the engine's own commands, registered like mods' so they're in /help and suggested the same way
|
||||
#register_commands() {
|
||||
const register = (node: CommandNode<ServerCommandSource>) => this.mods.register_command("engine", node);
|
||||
const register = (node: CommandNode<ServerCommandSource>) => this.mods.register_command("cubi", node);
|
||||
|
||||
// TODO: only let operators do this
|
||||
// with data, any json, like { "damage": 10 } on a tool, or a fluid container full of a fluid with its data
|
||||
@@ -2563,7 +2563,7 @@ function death_message(name: string, source: DamageSource) {
|
||||
|
||||
// the states a block is placed with: its defaults, and a "facing" state turned towards whoever placed it, like
|
||||
// minecraft's getStateForPlacement with getHorizontalDirection().getOpposite(). facing is 0 north, 1 east, 2 south,
|
||||
// 3 west, and variants turn the model with it (its north side is the front, like engine:cube's). they look along
|
||||
// 3 west, and variants turn the model with it (its north side is the front, like cubi:cube's). they look along
|
||||
// (-sin yaw, -cos yaw), so the way back to them is (sin yaw, cos yaw)
|
||||
// where a player is now, for everyone else
|
||||
function player_move(player: ServerPlayer): ServerMessage {
|
||||
|
||||
Reference in New Issue
Block a user