Package net.minecraft.server.commands
Class RideCommand
java.lang.Object
net.minecraft.server.commands.RideCommand
- 
Field SummaryFieldsModifier 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 SummaryConstructors
- 
Method SummaryModifier 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_RIDINGprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_NOT_RIDING
- 
ERROR_ALREADY_RIDINGprivate static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ERROR_ALREADY_RIDING
- 
ERROR_MOUNT_FAILEDprivate static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ERROR_MOUNT_FAILED
- 
ERROR_MOUNTING_PLAYERprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_MOUNTING_PLAYER
- 
ERROR_MOUNTING_LOOPprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_MOUNTING_LOOP
- 
ERROR_WRONG_DIMENSIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_WRONG_DIMENSION
 
- 
- 
Constructor Details- 
RideCommandpublic RideCommand()
 
- 
- 
Method Details- 
register
- 
mountprivate static int mount(CommandSourceStack p_265285_, Entity p_265711_, Entity p_265339_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
dismountprivate static int dismount(CommandSourceStack p_265724_, Entity p_265678_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
 
-