Record Class MapAttribute

java.lang.Object
java.lang.Record
net.neoforged.elc.attributes.MapAttribute
Record Components:
key - The E-Attribute key attribute.
data - The internal map representing this E-Attribute.
All Implemented Interfaces:
Map<String,EValue<?>>, EAttribute

@Desugar public record MapAttribute(String key, Map<String,EValue<?>> data) extends Record implements EAttribute, Map<String,EValue<?>>
A Map Attribute represents the E-Attribute type mapAttribute. Due to limitations set by Eclipse, the serialized form must be a string-keyed map of strings.
Implementation Note:
Do not rename data to values, as it will shadow Map.values().