Package net.minecraft.server.command
Class DamageCommand
java.lang.Object
net.minecraft.server.command.DamageCommand
- Mappings:
- Namespace - Name - named - net/minecraft/server/command/DamageCommand- intermediary - net/minecraft/class_8102- official - amm
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intexecute(ServerCommandSource source, Entity target, float amount, DamageSource damageSource) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) 
- 
Field Details- 
INVULNERABLE_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVULNERABLE_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - INVULNERABLE_EXCEPTION- Lnet/minecraft/server/command/DamageCommand;INVULNERABLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_42238- Lnet/minecraft/class_8102;field_42238:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - a- Lamm;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
 
- 
- 
Constructor Details- 
DamageCommandpublic DamageCommand()
 
- 
- 
Method Details- 
registerpublic static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) - Mappings:
- Namespace - Name - Mixin selector - named - register- Lnet/minecraft/server/command/DamageCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V- intermediary - method_48748- Lnet/minecraft/class_8102;method_48748(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V- official - a- Lamm;a(Lcom/mojang/brigadier/CommandDispatcher;Let;)V
 
- 
executeprivate static int execute(ServerCommandSource source, Entity target, float amount, DamageSource damageSource) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - execute- Lnet/minecraft/server/command/DamageCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/Entity;FLnet/minecraft/entity/damage/DamageSource;)I- intermediary - method_48751- Lnet/minecraft/class_8102;method_48751(Lnet/minecraft/class_2168;Lnet/minecraft/class_1297;FLnet/minecraft/class_1282;)I- official - a- Lamm;a(Lex;Lbum;FLbtc;)I
 
 
-