Package | Description |
---|---|
net.minecraft.entity.ai.attributes | |
net.minecraft.potion | |
net.minecraft.world.storage.loot.functions |
Modifier and Type | Field and Description |
---|---|
private AttributeModifier.Operation |
AttributeModifier.operation |
private static AttributeModifier.Operation[] |
AttributeModifier.Operation.VALUES |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<AttributeModifier.Operation,java.util.Set<AttributeModifier>> |
ModifiableAttributeInstance.mapByOperation |
Modifier and Type | Method and Description |
---|---|
static AttributeModifier.Operation |
AttributeModifier.Operation.byId(int id) |
AttributeModifier.Operation |
AttributeModifier.getOperation() |
static AttributeModifier.Operation |
AttributeModifier.Operation.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttributeModifier.Operation[] |
AttributeModifier.Operation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private java.util.Collection<AttributeModifier> |
ModifiableAttributeInstance.func_220370_b(AttributeModifier.Operation p_220370_1_) |
java.util.Set<AttributeModifier> |
IAttributeInstance.func_225504_a_(AttributeModifier.Operation p_225504_1_) |
java.util.Set<AttributeModifier> |
ModifiableAttributeInstance.func_225504_a_(AttributeModifier.Operation p_225504_1_) |
Constructor and Description |
---|
AttributeModifier(java.lang.String nameIn,
double amountIn,
AttributeModifier.Operation operationIn) |
AttributeModifier(java.util.UUID uuid,
java.lang.String nameIn,
double amountIn,
AttributeModifier.Operation operationIn) |
AttributeModifier(java.util.UUID uuid,
java.util.function.Supplier<java.lang.String> nameIn,
double amountIn,
AttributeModifier.Operation operationIn) |
Modifier and Type | Method and Description |
---|---|
Effect |
Effect.addAttributesModifier(IAttribute attributeIn,
java.lang.String uuid,
double amount,
AttributeModifier.Operation operation) |
Modifier and Type | Field and Description |
---|---|
private AttributeModifier.Operation |
SetAttributes.Modifier.operation |
Modifier and Type | Method and Description |
---|---|
private static AttributeModifier.Operation |
SetAttributes.Modifier.func_216246_a(java.lang.String p_216246_0_) |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
SetAttributes.Modifier.func_216244_a(AttributeModifier.Operation p_216244_0_) |
Constructor and Description |
---|
Modifier(java.lang.String p_i50835_1_,
java.lang.String p_i50835_2_,
AttributeModifier.Operation p_i50835_3_,
RandomValueRange p_i50835_4_,
EquipmentSlotType[] p_i50835_5_,
java.util.UUID p_i50835_6_) |