LightingSendGlobalCommand class
Пакет: com.hypixel.hytale.server.core.command.commands.utility.lighting
Файл: com/hypixel/hytale/server/core/command/commands/utility/lighting/LightingSendCommand.java
extends: LightingSendToggleCommand
Исходный код
Показать/скрыть
class="kw">package com.hypixel.hytale.server.core.command.commands.utility.lighting;
class="kw">import com.hypixel.hytale.server.core.command.system.basecommands.AbstractCommandCollection;
class="kw">import com.hypixel.hytale.server.core.universe.world.chunk.BlockChunk;
class="kw">public class LightingSendCommand class="kw">extends AbstractCommandCollection {
class="kw">public LightingSendCommand() {
super("send", "server.commands.sendlighting.desc");
this.addSubCommand(new LightingSendCommand.LightingSendLocalCommand());
this.addSubCommand(new LightingSendCommand.LightingSendGlobalCommand());
}
class="kw">private class="kw">static class LightingSendGlobalCommand class="kw">extends LightingSendToggleCommand {
class="kw">public LightingSendGlobalCommand() {
super(
"global",
"server.commands.sendlighting.global.desc",
"server.commands.sendlighting.global.enabled.desc",
"server.commands.sendlighting.globalLightingStatus",
() -> BlockChunk.SEND_GLOBAL_LIGHTING_DATA,
var0 -> BlockChunk.SEND_GLOBAL_LIGHTING_DATA = var0
);
}
}
class="kw">private class="kw">static class LightingSendLocalCommand class="kw">extends LightingSendToggleCommand {
class="kw">public LightingSendLocalCommand() {
super(
"local",
"server.commands.sendlighting.local.desc",
"server.commands.sendlighting.local.enabled.desc",
"server.commands.sendlighting.localLightingStatus",
() -> BlockChunk.SEND_LOCAL_LIGHTING_DATA,
var0 -> BlockChunk.SEND_LOCAL_LIGHTING_DATA = var0
);
}
}
}