Class RideCommand

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

public class RideCommand extends Object
Mappings:
Namespace Name
named net/minecraft/server/command/RideCommand
intermediary net/minecraft/class_8011
official any
  • Field Details

    • NOT_RIDING_EXCEPTION

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType NOT_RIDING_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named NOT_RIDING_EXCEPTION Lnet/minecraft/server/command/RideCommand;NOT_RIDING_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_41742 Lnet/minecraft/class_8011;field_41742:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      official a Lany;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • ALREADY_RIDING_EXCEPTION

      private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ALREADY_RIDING_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named ALREADY_RIDING_EXCEPTION Lnet/minecraft/server/command/RideCommand;ALREADY_RIDING_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      intermediary field_41743 Lnet/minecraft/class_8011;field_41743:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      official b Lany;b:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
    • GENERIC_FAILURE_EXCEPTION

      private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType GENERIC_FAILURE_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named GENERIC_FAILURE_EXCEPTION Lnet/minecraft/server/command/RideCommand;GENERIC_FAILURE_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      intermediary field_41744 Lnet/minecraft/class_8011;field_41744:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      official c Lany;c:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
    • CANT_RIDE_PLAYERS_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType CANT_RIDE_PLAYERS_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named CANT_RIDE_PLAYERS_EXCEPTION Lnet/minecraft/server/command/RideCommand;CANT_RIDE_PLAYERS_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_41745 Lnet/minecraft/class_8011;field_41745:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official d Lany;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • RIDE_LOOP_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType RIDE_LOOP_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named RIDE_LOOP_EXCEPTION Lnet/minecraft/server/command/RideCommand;RIDE_LOOP_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_41746 Lnet/minecraft/class_8011;field_41746:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official e Lany;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • WRONG_DIMENSION_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType WRONG_DIMENSION_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named WRONG_DIMENSION_EXCEPTION Lnet/minecraft/server/command/RideCommand;WRONG_DIMENSION_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_42239 Lnet/minecraft/class_8011;field_42239:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official f Lany;f:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Constructor Details

    • RideCommand

      public RideCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/server/command/RideCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_48078 Lnet/minecraft/class_8011;method_48078(Lcom/mojang/brigadier/CommandDispatcher;)V
      official a Lany;a(Lcom/mojang/brigadier/CommandDispatcher;)V
    • executeMount

      private static int executeMount(ServerCommandSource source, Entity rider, Entity vehicle) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named executeMount Lnet/minecraft/server/command/RideCommand;executeMount(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)I
      intermediary method_48082 Lnet/minecraft/class_8011;method_48082(Lnet/minecraft/class_2168;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)I
      official a Lany;a(Let;Lbsr;Lbsr;)I
    • executeDismount

      private static int executeDismount(ServerCommandSource source, Entity rider) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named executeDismount Lnet/minecraft/server/command/RideCommand;executeDismount(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/Entity;)I
      intermediary method_48081 Lnet/minecraft/class_8011;method_48081(Lnet/minecraft/class_2168;Lnet/minecraft/class_1297;)I
      official a Lany;a(Let;Lbsr;)I