Package net.minecraft.server.command
Class DifficultyCommand
java.lang.Object
net.minecraft.server.command.DifficultyCommand
- Mappings:
- Namespace - Name - named - net/minecraft/server/command/DifficultyCommand- intermediary - net/minecraft/class_3036- official - amu
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic intexecute(ServerCommandSource source, Difficulty difficulty) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) 
- 
Field Details- 
FAILURE_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType FAILURE_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - FAILURE_EXCEPTION- Lnet/minecraft/server/command/DifficultyCommand;FAILURE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;- intermediary - field_13602- Lnet/minecraft/class_3036;field_13602:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;- official - a- Lamu;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
 
 
- 
- 
Constructor Details- 
DifficultyCommandpublic DifficultyCommand()
 
- 
- 
Method Details- 
register- Mappings:
- Namespace - Name - Mixin selector - named - register- Lnet/minecraft/server/command/DifficultyCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V- intermediary - method_13169- Lnet/minecraft/class_3036;method_13169(Lcom/mojang/brigadier/CommandDispatcher;)V- official - a- Lamu;a(Lcom/mojang/brigadier/CommandDispatcher;)V
 
- 
executepublic static int execute(ServerCommandSource source, Difficulty difficulty) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - execute- Lnet/minecraft/server/command/DifficultyCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/world/Difficulty;)I- intermediary - method_13173- Lnet/minecraft/class_3036;method_13173(Lnet/minecraft/class_2168;Lnet/minecraft/class_1267;)I- official - a- Lamu;a(Lex;Lbsi;)I
 
 
-