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 amg
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
execute
(ServerCommandSource source, Entity target, float amount, DamageSource damageSource) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
-
Field Details
-
INVULNERABLE_EXCEPTION
private 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
Lamg;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
DamageCommand
public DamageCommand()
-
-
Method Details
-
register
public 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
Lamg;a(Lcom/mojang/brigadier/CommandDispatcher;Lep;)V
-
execute
private 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
Lamg;a(Let;Lbsq;FLbrj;)I
-