Package net.minecraft.world.attribute
Class EnvironmentAttributeMap
java.lang.Object
net.minecraft.world.attribute.EnvironmentAttributeMap
- Mappings:
Namespace Name named net/minecraft/world/attribute/EnvironmentAttributeMapintermediary net/minecraft/class_12199official cdx
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<EnvironmentAttributeMap> static final EnvironmentAttributeMap(package private) final Map<EnvironmentAttribute<?>, EnvironmentAttributeMap.Entry<?, ?>> static final com.mojang.serialization.Codec<EnvironmentAttributeMap> static final com.mojang.serialization.Codec<EnvironmentAttributeMap> Accepts positional attributes only. -
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentAttributeMap(Map<EnvironmentAttribute<?>, EnvironmentAttributeMap.Entry<?, ?>> entries) -
Method Summary
Modifier and TypeMethodDescription<Value> Valueapply(EnvironmentAttribute<Value> key, Value value) builder()booleancontainsKey(EnvironmentAttribute<?> key) boolean<Value> @Nullable EnvironmentAttributeMap.Entry<Value, ?> getEntry(EnvironmentAttribute<Value> key) inthashCode()keySet()private static EnvironmentAttributeMaptoString()
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTYLnet/minecraft/world/attribute/EnvironmentAttributeMap;EMPTY:Lnet/minecraft/world/attribute/EnvironmentAttributeMap;intermediary field_63724Lnet/minecraft/class_12199;field_63724:Lnet/minecraft/class_12199;official aLcdx;a:Lcdx;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/world/attribute/EnvironmentAttributeMap;CODEC:Lcom/mojang/serialization/Codec;intermediary field_63725Lnet/minecraft/class_12199;field_63725:Lcom/mojang/serialization/Codec;official bLcdx;b:Lcom/mojang/serialization/Codec;
-
NETWORK_CODEC
- Mappings:
Namespace Name Mixin selector named NETWORK_CODECLnet/minecraft/world/attribute/EnvironmentAttributeMap;NETWORK_CODEC:Lcom/mojang/serialization/Codec;intermediary field_63726Lnet/minecraft/class_12199;field_63726:Lcom/mojang/serialization/Codec;official cLcdx;c:Lcom/mojang/serialization/Codec;
-
POSITIONAL_CODEC
Accepts positional attributes only.- Mappings:
Namespace Name Mixin selector named POSITIONAL_CODECLnet/minecraft/world/attribute/EnvironmentAttributeMap;POSITIONAL_CODEC:Lcom/mojang/serialization/Codec;intermediary field_63727Lnet/minecraft/class_12199;field_63727:Lcom/mojang/serialization/Codec;official dLcdx;d:Lcom/mojang/serialization/Codec;
-
entries
- Mappings:
Namespace Name Mixin selector named entriesLnet/minecraft/world/attribute/EnvironmentAttributeMap;entries:Ljava/util/Map;intermediary field_63728Lnet/minecraft/class_12199;field_63728:Ljava/util/Map;official eLcdx;e:Ljava/util/Map;
-
-
Constructor Details
-
EnvironmentAttributeMap
EnvironmentAttributeMap(Map<EnvironmentAttribute<?>, EnvironmentAttributeMap.Entry<?, ?>> entries) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/attribute/EnvironmentAttributeMap;<init>(Ljava/util/Map;)Vintermediary <init>Lnet/minecraft/class_12199;<init>(Ljava/util/Map;)Vofficial <init>Lcdx;<init>(Ljava/util/Map;)V
-
-
Method Details
-
retainSyncedAttributes
- Mappings:
Namespace Name Mixin selector named retainSyncedAttributesLnet/minecraft/world/attribute/EnvironmentAttributeMap;retainSyncedAttributes(Lnet/minecraft/world/attribute/EnvironmentAttributeMap;)Lnet/minecraft/world/attribute/EnvironmentAttributeMap;intermediary method_75664Lnet/minecraft/class_12199;method_75664(Lnet/minecraft/class_12199;)Lnet/minecraft/class_12199;official aLcdx;a(Lcdx;)Lcdx;
-
builder
- Mappings:
Namespace Name Mixin selector named builderLnet/minecraft/world/attribute/EnvironmentAttributeMap;builder()Lnet/minecraft/world/attribute/EnvironmentAttributeMap$Builder;intermediary method_75661Lnet/minecraft/class_12199;method_75661()Lnet/minecraft/class_12199$class_12200;official aLcdx;a()Lcdx$a;
-
getEntry
@Nullable public <Value> @Nullable EnvironmentAttributeMap.Entry<Value,?> getEntry(EnvironmentAttribute<Value> key) - Mappings:
Namespace Name Mixin selector named getEntryLnet/minecraft/world/attribute/EnvironmentAttributeMap;getEntry(Lnet/minecraft/world/attribute/EnvironmentAttribute;)Lnet/minecraft/world/attribute/EnvironmentAttributeMap$Entry;intermediary method_75662Lnet/minecraft/class_12199;method_75662(Lnet/minecraft/class_12197;)Lnet/minecraft/class_12199$class_12201;official aLcdx;a(Lcdw;)Lcdx$b;
-
apply
- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/world/attribute/EnvironmentAttributeMap;apply(Lnet/minecraft/world/attribute/EnvironmentAttribute;Ljava/lang/Object;)Ljava/lang/Object;intermediary method_75663Lnet/minecraft/class_12199;method_75663(Lnet/minecraft/class_12197;Ljava/lang/Object;)Ljava/lang/Object;official aLcdx;a(Lcdw;Ljava/lang/Object;)Ljava/lang/Object;
-
containsKey
- Mappings:
Namespace Name Mixin selector named containsKeyLnet/minecraft/world/attribute/EnvironmentAttributeMap;containsKey(Lnet/minecraft/world/attribute/EnvironmentAttribute;)Zintermediary method_75667Lnet/minecraft/class_12199;method_75667(Lnet/minecraft/class_12197;)Zofficial bLcdx;b(Lcdw;)Z
-
keySet
- Mappings:
Namespace Name Mixin selector named keySetLnet/minecraft/world/attribute/EnvironmentAttributeMap;keySet()Ljava/util/Set;intermediary method_75666Lnet/minecraft/class_12199;method_75666()Ljava/util/Set;official bLcdx;b()Ljava/util/Set;
-
equals
-
hashCode
public int hashCode() -
toString
-