net.minecraft.server.commands

public class AttributeCommand

amp
net.minecraft.server.commands.AttributeCommand
net.minecraft.class_5252
net.minecraft.unmapped.C_qlgfhjdv
net.minecraft.server.command.AttributeCommand
net.minecraft.server.command.AttributeCommand

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ei> arg0, ee arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_27735(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
m_rttegljo(com.mojang.brigadier.CommandDispatcher<C_pennblrk> arg0, C_bprdujxm arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandBuildContext context)
private static AttributeInstance
a(bwf arg0, je<byf> arg1)
getAttributeInstance(Entity arg0, Holder<Attribute> arg1)
method_27734(class_1297 arg0, class_6880<class_1320> arg1)
m_ikrgvrvz(C_astfners arg0, C_cjzoxshv<C_ppzfbbsy> arg1)
getAttributeInstance(Entity entity, RegistryEntry<EntityAttribute> attribute)
getAttributeInstance(Entity entity, Holder<EntityAttribute> attribute)
private static LivingEntity
a(bwf arg0)
getLivingEntity(Entity arg0)
method_27733(class_1297 arg0)
m_jbbyamfp(C_astfners arg0)
getLivingEntity(Entity entity)
getLivingEntity(Entity entity)
private static LivingEntity
b(bwf arg0, je<byf> arg1)
getEntityWithAttribute(Entity arg0, Holder<Attribute> arg1)
method_27746(class_1297 arg0, class_6880<class_1320> arg1)
m_yipywgjk(C_astfners arg0, C_cjzoxshv<C_ppzfbbsy> arg1)
getLivingEntityWithAttribute(Entity entity, RegistryEntry<EntityAttribute> attribute)
getLivingEntityWithAttribute(Entity entity, Holder<EntityAttribute> attribute)
private static int
a(ei arg0, bwf arg1, je<byf> 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)
m_mlaazzuh(C_pennblrk arg0, C_astfners arg1, C_cjzoxshv<C_ppzfbbsy> arg2, double arg3)
executeValueGet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double multiplier)
executeValueGet(ServerCommandSource source, Entity target, Holder<EntityAttribute> attribute, double multiplier)
private static int
b(ei arg0, bwf arg1, je<byf> 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)
m_natfkzyy(C_pennblrk arg0, C_astfners arg1, C_cjzoxshv<C_ppzfbbsy> arg2, double arg3)
executeBaseValueGet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double multiplier)
executeBaseValueGet(ServerCommandSource source, Entity target, Holder<EntityAttribute> attribute, double multiplier)
private static int
a(ei arg0, bwf arg1, je<byf> arg2, alg 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)
m_rqqdjkvo(C_pennblrk arg0, C_astfners arg1, C_cjzoxshv<C_ppzfbbsy> arg2, C_ncpywfca arg3, double arg4)
executeModifierValueGet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier id, double multiplier)
executeModifierValueGet(ServerCommandSource source, Entity target, Holder<EntityAttribute> attribute, Identifier id, double multiplier)
private static Stream<ResourceLocation>
c(bwf arg0, je<byf> arg1)
getAttributeModifiers(Entity arg0, Holder<Attribute> arg1)
method_65093(class_1297 arg0, class_6880<class_1320> arg1)
m_bylfydmr(C_astfners arg0, C_cjzoxshv<C_ppzfbbsy> arg1)
streamModifiers(Entity target, RegistryEntry<EntityAttribute> attribute)
m_bylfydmr(Entity entity, Holder<EntityAttribute> attribute)
private static int
c(ei arg0, bwf arg1, je<byf> 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)
m_ckpnyswh(C_pennblrk arg0, C_astfners arg1, C_cjzoxshv<C_ppzfbbsy> arg2, double arg3)
executeBaseValueSet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double value)
executeBaseValueSet(ServerCommandSource source, Entity target, Holder<EntityAttribute> attribute, double value)
private static int
a(ei arg0, bwf arg1, je<byf> arg2)
resetAttributeBase(CommandSourceStack arg0, Entity arg1, Holder<Attribute> arg2)
method_65089(class_2168 arg0, class_1297 arg1, class_6880<class_1320> arg2)
m_jwcrdgyw(C_pennblrk arg0, C_astfners arg1, C_cjzoxshv<C_ppzfbbsy> arg2)
executeResetToBaseValue(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute)
m_jwcrdgyw(ServerCommandSource source, Entity entity, Holder<EntityAttribute> arg2)
private static int
a(ei arg0, bwf arg1, je<byf> arg2, alg arg3, double arg4, byi$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)
m_gswiiuzc(C_pennblrk arg0, C_astfners arg1, C_cjzoxshv<C_ppzfbbsy> arg2, C_ncpywfca arg3, double arg4, C_hdbqsqsm$C_pljpmmzs arg5)
executeModifierAdd(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier id, double value, EntityAttributeModifier$Operation operation)
executeModifierAdd(ServerCommandSource source, Entity target, Holder<EntityAttribute> attribute, Identifier id, double value, EntityAttributeModifier$Operation operation)
private static int
a(ei arg0, bwf arg1, je<byf> arg2, alg 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)
m_chvcmdep(C_pennblrk arg0, C_astfners arg1, C_cjzoxshv<C_ppzfbbsy> arg2, C_ncpywfca arg3)
executeModifierRemove(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier id)
executeModifierRemove(ServerCommandSource source, Entity target, Holder<EntityAttribute> attribute, Identifier id)
private static Component
a(je<byf> arg0)
getAttributeDescription(Holder<Attribute> arg0)
method_45144(class_6880<class_1320> arg0)
m_aejpqweh(C_cjzoxshv<C_ppzfbbsy> arg0)
getName(RegistryEntry<EntityAttribute> attribute)
getAttributeText(Holder<EntityAttribute> attribute)