Package net.minecraft.server.commands
Class RideCommand
java.lang.Object
net.minecraft.server.commands.RideCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intdismount(CommandSourceStack p_265724_, Entity p_265678_) private static intmount(CommandSourceStack p_265285_, Entity p_265711_, Entity p_265339_) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_265201_)
-
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
-
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
-