net.minecraft.server.commands

public class AttributeCommand

ame
net.minecraft.server.commands.AttributeCommand
net.minecraft.class_5252
net.minecraft.server.command.AttributeCommand
net.minecraft.server.commands.CommandAttribute

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_NOT_LIVING_ENTITY
field_24376
ENTITY_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
b
ERROR_NO_SUCH_ATTRIBUTE
field_24377
NO_ATTRIBUTE_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType
c
ERROR_NO_SUCH_MODIFIER
field_24378
NO_MODIFIER_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType
d
ERROR_MODIFIER_ALREADY_PRESENT
field_24379
MODIFIER_ALREADY_PRESENT_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ex> arg0, et arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_27735(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
private static AttributeInstance
a(bum arg0, jr<bwl> arg1)
getAttributeInstance(Entity arg0, Holder<Attribute> arg1)
method_27734(class_1297 arg0, class_6880<class_1320> arg1)
getAttributeInstance(Entity entity, RegistryEntry<EntityAttribute> attribute)
private static LivingEntity
a(bum arg0)
getLivingEntity(Entity arg0)
method_27733(class_1297 arg0)
getLivingEntity(Entity entity)
private static LivingEntity
b(bum arg0, jr<bwl> arg1)
getEntityWithAttribute(Entity arg0, Holder<Attribute> arg1)
method_27746(class_1297 arg0, class_6880<class_1320> arg1)
getLivingEntityWithAttribute(Entity entity, RegistryEntry<EntityAttribute> attribute)
private static int
a(ex arg0, bum arg1, jr<bwl> arg2, double arg3)
getAttributeValue(CommandSourceStack arg0, Entity arg1, Holder<Attribute> arg2, double arg3)
method_27739(class_2168 arg0, class_1297 arg1, class_6880<class_1320> arg2, double arg3)
executeValueGet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double multiplier)
private static int
b(ex arg0, bum arg1, jr<bwl> arg2, double arg3)
getAttributeBase(CommandSourceStack arg0, Entity arg1, Holder<Attribute> arg2, double arg3)
method_27748(class_2168 arg0, class_1297 arg1, class_6880<class_1320> arg2, double arg3)
executeBaseValueGet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double multiplier)
private static int
a(ex arg0, bum arg1, jr<bwl> arg2, akv arg3, double arg4)
getAttributeModifier(CommandSourceStack arg0, Entity arg1, Holder<Attribute> arg2, ResourceLocation arg3, double arg4)
method_27741(class_2168 arg0, class_1297 arg1, class_6880<class_1320> arg2, class_2960 arg3, double arg4)
executeModifierValueGet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier id, double multiplier)
private static Stream<ResourceLocation>
c(bum arg0, jr<bwl> arg1)
getAttributeModifiers(Entity arg0, Holder<Attribute> arg1)
method_65093(class_1297 arg0, class_6880<class_1320> arg1)
streamModifiers(Entity target, RegistryEntry<EntityAttribute> attribute)
private static int
c(ex arg0, bum arg1, jr<bwl> arg2, double arg3)
setAttributeBase(CommandSourceStack arg0, Entity arg1, Holder<Attribute> arg2, double arg3)
method_27751(class_2168 arg0, class_1297 arg1, class_6880<class_1320> arg2, double arg3)
executeBaseValueSet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double value)
private static int
a(ex arg0, bum arg1, jr<bwl> arg2)
resetAttributeBase(CommandSourceStack arg0, Entity arg1, Holder<Attribute> arg2)
method_65089(class_2168 arg0, class_1297 arg1, class_6880<class_1320> arg2)
executeResetToBaseValue(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute)
private static int
a(ex arg0, bum arg1, jr<bwl> arg2, akv arg3, double arg4, bwo$a arg5)
addModifier(CommandSourceStack arg0, Entity arg1, Holder<Attribute> arg2, ResourceLocation arg3, double arg4, AttributeModifier$Operation arg5)
method_27742(class_2168 arg0, class_1297 arg1, class_6880<class_1320> arg2, class_2960 arg3, double arg4, class_1322$class_1323 arg5)
executeModifierAdd(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier id, double value, EntityAttributeModifier$Operation operation)
private static int
a(ex arg0, bum arg1, jr<bwl> arg2, akv arg3)
removeModifier(CommandSourceStack arg0, Entity arg1, Holder<Attribute> arg2, ResourceLocation arg3)
method_27740(class_2168 arg0, class_1297 arg1, class_6880<class_1320> arg2, class_2960 arg3)
executeModifierRemove(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier id)
private static Component
a(jr<bwl> arg0)
getAttributeDescription(Holder<Attribute> arg0)
method_45144(class_6880<class_1320> arg0)
getName(RegistryEntry<EntityAttribute> attribute)