Class EnvironmentAttributeMap

java.lang.Object
net.minecraft.world.attribute.EnvironmentAttributeMap

public final class EnvironmentAttributeMap extends Object
Mappings:
Namespace Name
named net/minecraft/world/attribute/EnvironmentAttributeMap
intermediary net/minecraft/class_12199
official cdt
  • Field Details

    • EMPTY

      public static final EnvironmentAttributeMap EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/world/attribute/EnvironmentAttributeMap;EMPTY:Lnet/minecraft/world/attribute/EnvironmentAttributeMap;
      intermediary field_63724 Lnet/minecraft/class_12199;field_63724:Lnet/minecraft/class_12199;
      official a Lcdt;a:Lcdt;
    • CODEC

      public static final com.mojang.serialization.Codec<EnvironmentAttributeMap> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/attribute/EnvironmentAttributeMap;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_63725 Lnet/minecraft/class_12199;field_63725:Lcom/mojang/serialization/Codec;
      official b Lcdt;b:Lcom/mojang/serialization/Codec;
    • NETWORK_CODEC

      public static final com.mojang.serialization.Codec<EnvironmentAttributeMap> NETWORK_CODEC
      Mappings:
      Namespace Name Mixin selector
      named NETWORK_CODEC Lnet/minecraft/world/attribute/EnvironmentAttributeMap;NETWORK_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_63726 Lnet/minecraft/class_12199;field_63726:Lcom/mojang/serialization/Codec;
      official c Lcdt;c:Lcom/mojang/serialization/Codec;
    • POSITIONAL_CODEC

      public static final com.mojang.serialization.Codec<EnvironmentAttributeMap> POSITIONAL_CODEC
      Accepts positional attributes only.
      Mappings:
      Namespace Name Mixin selector
      named POSITIONAL_CODEC Lnet/minecraft/world/attribute/EnvironmentAttributeMap;POSITIONAL_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_63727 Lnet/minecraft/class_12199;field_63727:Lcom/mojang/serialization/Codec;
      official d Lcdt;d:Lcom/mojang/serialization/Codec;
    • entries

      Mappings:
      Namespace Name Mixin selector
      named entries Lnet/minecraft/world/attribute/EnvironmentAttributeMap;entries:Ljava/util/Map;
      intermediary field_63728 Lnet/minecraft/class_12199;field_63728:Ljava/util/Map;
      official e Lcdt;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;)V
      intermediary <init> Lnet/minecraft/class_12199;<init>(Ljava/util/Map;)V
      official <init> Lcdt;<init>(Ljava/util/Map;)V
  • Method Details

    • retainSyncedAttributes

      private static EnvironmentAttributeMap retainSyncedAttributes(EnvironmentAttributeMap map)
      Mappings:
      Namespace Name Mixin selector
      named retainSyncedAttributes Lnet/minecraft/world/attribute/EnvironmentAttributeMap;retainSyncedAttributes(Lnet/minecraft/world/attribute/EnvironmentAttributeMap;)Lnet/minecraft/world/attribute/EnvironmentAttributeMap;
      intermediary method_75664 Lnet/minecraft/class_12199;method_75664(Lnet/minecraft/class_12199;)Lnet/minecraft/class_12199;
      official a Lcdt;a(Lcdt;)Lcdt;
    • builder

      public static EnvironmentAttributeMap.Builder builder()
      Mappings:
      Namespace Name Mixin selector
      named builder Lnet/minecraft/world/attribute/EnvironmentAttributeMap;builder()Lnet/minecraft/world/attribute/EnvironmentAttributeMap$Builder;
      intermediary method_75661 Lnet/minecraft/class_12199;method_75661()Lnet/minecraft/class_12199$class_12200;
      official a Lcdt;a()Lcdt$a;
    • getEntry

      public <Value> @Nullable EnvironmentAttributeMap.Entry<Value,?> getEntry(EnvironmentAttribute<Value> key)
      Mappings:
      Namespace Name Mixin selector
      named getEntry Lnet/minecraft/world/attribute/EnvironmentAttributeMap;getEntry(Lnet/minecraft/world/attribute/EnvironmentAttribute;)Lnet/minecraft/world/attribute/EnvironmentAttributeMap$Entry;
      intermediary method_75662 Lnet/minecraft/class_12199;method_75662(Lnet/minecraft/class_12197;)Lnet/minecraft/class_12199$class_12201;
      official a Lcdt;a(Lcds;)Lcdt$b;
    • apply

      public <Value> Value apply(EnvironmentAttribute<Value> key, Value value)
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/world/attribute/EnvironmentAttributeMap;apply(Lnet/minecraft/world/attribute/EnvironmentAttribute;Ljava/lang/Object;)Ljava/lang/Object;
      intermediary method_75663 Lnet/minecraft/class_12199;method_75663(Lnet/minecraft/class_12197;Ljava/lang/Object;)Ljava/lang/Object;
      official a Lcdt;a(Lcds;Ljava/lang/Object;)Ljava/lang/Object;
    • containsKey

      public boolean containsKey(EnvironmentAttribute<?> key)
      Mappings:
      Namespace Name Mixin selector
      named containsKey Lnet/minecraft/world/attribute/EnvironmentAttributeMap;containsKey(Lnet/minecraft/world/attribute/EnvironmentAttribute;)Z
      intermediary method_75667 Lnet/minecraft/class_12199;method_75667(Lnet/minecraft/class_12197;)Z
      official b Lcdt;b(Lcds;)Z
    • keySet

      public Set<EnvironmentAttribute<?>> keySet()
      Mappings:
      Namespace Name Mixin selector
      named keySet Lnet/minecraft/world/attribute/EnvironmentAttributeMap;keySet()Ljava/util/Set;
      intermediary method_75666 Lnet/minecraft/class_12199;method_75666()Ljava/util/Set;
      official b Lcdt;b()Ljava/util/Set;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      named equals Lnet/minecraft/world/attribute/EnvironmentAttributeMap;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_12199;equals(Ljava/lang/Object;)Z
      official equals Lcdt;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object