Record Class EnvironmentAttribute.Modifier.Override<Value>
java.lang.Object
java.lang.Record
net.minestom.server.world.attribute.EnvironmentAttribute.Modifier.Override<Value>
- All Implemented Interfaces:
EnvironmentAttribute.Modifier<Value,Value>
- Enclosing interface:
EnvironmentAttribute.Modifier<Sub,Arg>
public static record EnvironmentAttribute.Modifier.Override<Value>(Codec<Value> argumentCodec)
extends Record
implements EnvironmentAttribute.Modifier<Value,Value>
-
Nested Class Summary
Nested classes/interfaces inherited from interface EnvironmentAttribute.Modifier
EnvironmentAttribute.Modifier.Boolean, EnvironmentAttribute.Modifier.Color, EnvironmentAttribute.Modifier.Float, EnvironmentAttribute.Modifier.Operator, EnvironmentAttribute.Modifier.Override<Value> -
Field Summary
Fields inherited from interface EnvironmentAttribute.Modifier
ARGB_OPERATORS, BOOLEAN_OPERATORS, FLOAT_OPERATORS, RGB_OPERATORS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentCodecrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Override
-
-
Method Details
-
modify
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
argumentCodec
Returns the value of theargumentCodecrecord component.- Specified by:
argumentCodecin interfaceEnvironmentAttribute.Modifier<Value,Value> - Returns:
- the value of the
argumentCodecrecord component
-