Class WorldBorderCommand

java.lang.Object
net.minecraft.server.command.WorldBorderCommand

public class WorldBorderCommand
extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • register

      public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
    • executeBuffer

      private static int executeBuffer​(ServerCommandSource source, float distance) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • executeDamage

      private static int executeDamage​(ServerCommandSource source, float damagePerBlock) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • executeWarningTime

      private static int executeWarningTime​(ServerCommandSource source, int time) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • executeWarningDistance

      private static int executeWarningDistance​(ServerCommandSource source, int distance) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • executeGet

      private static int executeGet​(ServerCommandSource source)
    • executeCenter

      private static int executeCenter​(ServerCommandSource source, Vec2f pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • executeSet

      private static int executeSet​(ServerCommandSource source, double distance, long time) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException