类 RideCommand

java.lang.Object
net.minecraft.server.commands.RideCommand

public class RideCommand extends Object
  • 字段详细资料

    • ERROR_NOT_RIDING

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_NOT_RIDING
    • ERROR_ALREADY_RIDING

      private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ERROR_ALREADY_RIDING
    • ERROR_MOUNT_FAILED

      private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ERROR_MOUNT_FAILED
    • ERROR_MOUNTING_PLAYER

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_MOUNTING_PLAYER
    • ERROR_MOUNTING_LOOP

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_MOUNTING_LOOP
    • ERROR_WRONG_DIMENSION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_WRONG_DIMENSION
  • 构造器详细资料

    • RideCommand

      public RideCommand()
  • 方法详细资料

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher)
    • mount

      private static int mount(CommandSourceStack pSource, Entity pTarget, Entity pVehicle) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      抛出:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • dismount

      private static int dismount(CommandSourceStack pSource, Entity pTarget) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      抛出:
      com.mojang.brigadier.exceptions.CommandSyntaxException