Class RideCommand

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

public class RideCommand extends Object
  • Field Details

    • 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
  • Constructor Details

    • RideCommand

      public RideCommand()
  • Method Details

    • register

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

      private static int mount(CommandSourceStack p_265285_, Entity p_265711_, Entity p_265339_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • dismount

      private static int dismount(CommandSourceStack p_265724_, Entity p_265678_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException