Package net.minecraft.world.attribute
Class WeightedAttributeList
java.lang.Object
net.minecraft.world.attribute.WeightedAttributeList
- Mappings:
Namespace Name named net/minecraft/world/attribute/WeightedAttributeListintermediary net/minecraft/class_12211official cea
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(double weight, EnvironmentAttributeMap attributes) voidclear()<Value> Valueinterpolate(EnvironmentAttribute<Value> attribute, Value defaultValue)
-
Field Details
-
entries
- Mappings:
Namespace Name Mixin selector named entriesLnet/minecraft/world/attribute/WeightedAttributeList;entries:Lit/unimi/dsi/fastutil/objects/Reference2DoubleArrayMap;intermediary field_63767Lnet/minecraft/class_12211;field_63767:Lit/unimi/dsi/fastutil/objects/Reference2DoubleArrayMap;official aLcea;a:Lit/unimi/dsi/fastutil/objects/Reference2DoubleArrayMap;
-
-
Constructor Details
-
WeightedAttributeList
public WeightedAttributeList()
-
-
Method Details
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector named clearLnet/minecraft/world/attribute/WeightedAttributeList;clear()Vintermediary method_75710Lnet/minecraft/class_12211;method_75710()Vofficial aLcea;a()V
-
add
- Mappings:
Namespace Name Mixin selector named addLnet/minecraft/world/attribute/WeightedAttributeList;add(DLnet/minecraft/world/attribute/EnvironmentAttributeMap;)Lnet/minecraft/world/attribute/WeightedAttributeList;intermediary method_75711Lnet/minecraft/class_12211;method_75711(DLnet/minecraft/class_12199;)Lnet/minecraft/class_12211;official aLcea;a(DLcdt;)Lcea;
-
interpolate
- Mappings:
Namespace Name Mixin selector named interpolateLnet/minecraft/world/attribute/WeightedAttributeList;interpolate(Lnet/minecraft/world/attribute/EnvironmentAttribute;Ljava/lang/Object;)Ljava/lang/Object;intermediary method_75712Lnet/minecraft/class_12211;method_75712(Lnet/minecraft/class_12197;Ljava/lang/Object;)Ljava/lang/Object;official aLcea;a(Lcds;Ljava/lang/Object;)Ljava/lang/Object;
-