net.minecraft.server.commands

public class AttributeCommand

vd
net.minecraft.server.commands.AttributeCommand
net.minecraft.class_5252
net.minecraft.server.command.AttributeCommand
net.minecraft.command.impl.AttributeCommand
net.minecraft.server.v1_16_R1.CommandAttribute

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
a
AVAILABLE_ATTRIBUTES
field_24375
SUGGESTION_PROVIDER
field_240996_a_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_NOT_LIVING_ENTITY
field_24376
ENTITY_FAILED_EXCEPTION
field_240997_b_
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
c
ERROR_NO_SUCH_ATTRIBUTE
field_24377
NO_ATTRIBUTE_EXCEPTION
field_240998_c_
private static final com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType
d
ERROR_NO_SUCH_MODIFIER
field_24378
NO_MODIFIER_EXCEPTION
field_240999_d_
private static final com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType
e
ERROR_MODIFIER_ALREADY_PRESENT
field_24379
MODIFIER_ALREADY_PRESENT_EXCEPTION
field_241000_e_

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<cz> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_27735(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
func_241003_a_(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
private static AttributeInstance
a(aom arg0, aps arg1)
getAttributeInstance(Entity arg0, Attribute arg1)
method_27734(class_1297 arg0, class_1320 arg1)
getAttributeInstance(Entity entity, EntityAttribute attribute)
func_241002_a_(Entity arg0, Attribute arg1)
private static LivingEntity
a(aom arg0)
getLivingEntity(Entity arg0)
method_27733(class_1297 arg0)
getLivingEntity(Entity entity)
func_241001_a_(Entity arg0)
private static LivingEntity
b(aom arg0, aps arg1)
getEntityWithAttribute(Entity arg0, Attribute arg1)
method_27746(class_1297 arg0, class_1320 arg1)
getLivingEntityWithAttribute(Entity entity, EntityAttribute attribute)
func_241014_b_(Entity arg0, Attribute arg1)
private static int
a(cz arg0, aom arg1, aps 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)
func_241007_a_(CommandSource arg0, Entity arg1, Attribute arg2, double arg3)
private static int
b(cz arg0, aom arg1, aps 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)
func_241016_b_(CommandSource arg0, Entity arg1, Attribute arg2, double arg3)
private static int
a(cz arg0, aom arg1, aps 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)
func_241009_a_(CommandSource arg0, Entity arg1, Attribute arg2, UUID arg3, double arg4)
private static int
c(cz arg0, aom arg1, aps 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)
func_241019_c_(CommandSource arg0, Entity arg1, Attribute arg2, double arg3)
private static int
a(cz arg0, aom arg1, aps arg2, UUID arg3, String arg4, double arg5, apv$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)
func_241010_a_(CommandSource arg0, Entity arg1, Attribute arg2, UUID arg3, String arg4, double arg5, AttributeModifier$Operation arg6)
private static int
a(cz arg0, aom arg1, aps 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)
func_241008_a_(CommandSource arg0, Entity arg1, Attribute arg2, UUID arg3)