Class RideCommand

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

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

    • NOT_RIDING_EXCEPTION

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

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

      private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType GENERIC_FAILURE_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official c Laib;c:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      intermediary field_41744 Lnet/minecraft/class_8011;field_41744:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      named GENERIC_FAILURE_EXCEPTION Lnet/minecraft/server/command/RideCommand;GENERIC_FAILURE_EXCEPTION: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
      official d Laib;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_41745 Lnet/minecraft/class_8011;field_41745:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named CANT_RIDE_PLAYERS_EXCEPTION Lnet/minecraft/server/command/RideCommand;CANT_RIDE_PLAYERS_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • RIDE_LOOP_EXCEPTION

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

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType WRONG_DIMENSION_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official f Laib;f:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_42239 Lnet/minecraft/class_8011;field_42239:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named WRONG_DIMENSION_EXCEPTION Lnet/minecraft/server/command/RideCommand;WRONG_DIMENSION_EXCEPTION: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
      official a Laib;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_48078 Lnet/minecraft/class_8011;method_48078(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/command/RideCommand;register(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
      official a Laib;a(Ldt;Lbiq;Lbiq;)I
      intermediary method_48082 Lnet/minecraft/class_8011;method_48082(Lnet/minecraft/class_2168;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)I
      named executeMount Lnet/minecraft/server/command/RideCommand;executeMount(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)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
      official a Laib;a(Ldt;Lbiq;)I
      intermediary method_48081 Lnet/minecraft/class_8011;method_48081(Lnet/minecraft/class_2168;Lnet/minecraft/class_1297;)I
      named executeDismount Lnet/minecraft/server/command/RideCommand;executeDismount(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/Entity;)I