net.minecraft.server.commands

public class AttributeCommand

xr
net.minecraft.server.commands.AttributeCommand
net.minecraft.class_5252
net.minecraft.server.command.AttributeCommand
net.minecraft.src.C_5297_
net.minecraft.server.commands.CommandAttribute

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
a
AVAILABLE_ATTRIBUTES
field_24375
SUGGESTION_PROVIDER
f_136433_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_NOT_LIVING_ENTITY
field_24376
ENTITY_FAILED_EXCEPTION
f_136434_
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
c
ERROR_NO_SUCH_ATTRIBUTE
field_24377
NO_ATTRIBUTE_EXCEPTION
f_136435_
private static final com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType
d
ERROR_NO_SUCH_MODIFIER
field_24378
NO_MODIFIER_EXCEPTION
f_136436_
private static final com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType
e
ERROR_MODIFIER_ALREADY_PRESENT
field_24379
MODIFIER_ALREADY_PRESENT_EXCEPTION
f_136437_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<dl> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_27735(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_136444_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_136445_)
private static AttributeInstance
a(atg arg0, auq arg1)
getAttributeInstance(Entity arg0, Attribute arg1)
method_27734(class_1297 arg0, class_1320 arg1)
getAttributeInstance(Entity entity, EntityAttribute attribute)
m_136441_(C_507_ p_136442_, C_552_ p_136443_)
private static LivingEntity
a(atg arg0)
getLivingEntity(Entity arg0)
method_27733(class_1297 arg0)
getLivingEntity(Entity entity)
m_136439_(C_507_ p_136440_)
private static LivingEntity
b(atg arg0, auq arg1)
getEntityWithAttribute(Entity arg0, Attribute arg1)
method_27746(class_1297 arg0, class_1320 arg1)
getLivingEntityWithAttribute(Entity entity, EntityAttribute attribute)
m_136486_(C_507_ p_136487_, C_552_ p_136488_)
private static int
a(dl arg0, atg arg1, auq arg2, double arg3)
getAttributeValue(CommandSourceStack arg0, Entity arg1, Attribute arg2, double arg3)
method_27739(class_2168 arg0, class_1297 arg1, class_1320 arg2, double arg3)
executeValueGet(ServerCommandSource source, Entity target, EntityAttribute attribute, double multiplier)
m_136453_(C_2969_ p_136454_, C_507_ p_136455_, C_552_ p_136456_, double p_136457_)
private static int
b(dl arg0, atg arg1, auq arg2, double arg3)
getAttributeBase(CommandSourceStack arg0, Entity arg1, Attribute arg2, double arg3)
method_27748(class_2168 arg0, class_1297 arg1, class_1320 arg2, double arg3)
executeBaseValueGet(ServerCommandSource source, Entity target, EntityAttribute attribute, double multiplier)
m_136491_(C_2969_ p_136492_, C_507_ p_136493_, C_552_ p_136494_, double p_136495_)
private static int
a(dl arg0, atg arg1, auq arg2, UUID arg3, double arg4)
getAttributeModifier(CommandSourceStack arg0, Entity arg1, Attribute arg2, UUID arg3, double arg4)
method_27741(class_2168 arg0, class_1297 arg1, class_1320 arg2, UUID arg3, double arg4)
executeModifierValueGet(ServerCommandSource source, Entity target, EntityAttribute attribute, UUID uuid, double multiplier)
m_136463_(C_2969_ p_136464_, C_507_ p_136465_, C_552_ p_136466_, UUID p_136467_, double p_136468_)
private static int
c(dl arg0, atg arg1, auq arg2, double arg3)
setAttributeBase(CommandSourceStack arg0, Entity arg1, Attribute arg2, double arg3)
method_27751(class_2168 arg0, class_1297 arg1, class_1320 arg2, double arg3)
executeBaseValueSet(ServerCommandSource source, Entity target, EntityAttribute attribute, double value)
m_136502_(C_2969_ p_136503_, C_507_ p_136504_, C_552_ p_136505_, double p_136506_)
private static int
a(dl arg0, atg arg1, auq arg2, UUID arg3, String arg4, double arg5, aut$a arg6)
addModifier(CommandSourceStack arg0, Entity arg1, Attribute arg2, UUID arg3, String arg4, double arg5, AttributeModifier$Operation arg6)
method_27742(class_2168 arg0, class_1297 arg1, class_1320 arg2, UUID arg3, String arg4, double arg5, class_1322$class_1323 arg6)
executeModifierAdd(ServerCommandSource source, Entity target, EntityAttribute attribute, UUID uuid, String name, double value, EntityAttributeModifier$Operation operation)
m_136469_(C_2969_ p_136470_, C_507_ p_136471_, C_552_ p_136472_, UUID p_136473_, String p_136474_, double p_136475_, C_555_$C_556_ arg6)
private static int
a(dl arg0, atg arg1, auq arg2, UUID arg3)
removeModifier(CommandSourceStack arg0, Entity arg1, Attribute arg2, UUID arg3)
method_27740(class_2168 arg0, class_1297 arg1, class_1320 arg2, UUID arg3)
executeModifierRemove(ServerCommandSource source, Entity target, EntityAttribute attribute, UUID uuid)
m_136458_(C_2969_ p_136459_, C_507_ p_136460_, C_552_ p_136461_, UUID p_136462_)