Package net.minecraft.world.attribute
Class WorldEnvironmentAttributeAccess
java.lang.Object
net.minecraft.world.attribute.WorldEnvironmentAttributeAccess
- All Implemented Interfaces:
EnvironmentAttributeAccess
- Mappings:
Namespace Name named net/minecraft/world/attribute/WorldEnvironmentAttributeAccessintermediary net/minecraft/class_12205official ced
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<EnvironmentAttribute<?>, WorldEnvironmentAttributeAccess.Entry<?>> Fields inherited from interface net.minecraft.world.attribute.EnvironmentAttributeAccess
DEFAULT -
Constructor Summary
ConstructorsConstructorDescriptionWorldEnvironmentAttributeAccess(Map<EnvironmentAttribute<?>, List<EnvironmentAttributeModification<?>>> modificationsByAttribute) -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddModifiersFromBiomes(WorldEnvironmentAttributeAccess.Builder builder, RegistryWrapper<Biome> biome, BiomeAccess biomeAccess) private static <Value> voidaddModifiersFromBiomes(WorldEnvironmentAttributeAccess.Builder builder, EnvironmentAttribute<Value> attribute, BiomeAccess biomeAccess) private static voidaddModifiersFromDimension(WorldEnvironmentAttributeAccess.Builder builder, DimensionType dimensionType) (package private) static voidaddModifiersFromWorld(WorldEnvironmentAttributeAccess.Builder builder, World world) builder()private <Value> WorldEnvironmentAttributeAccess.Entry<Value> computeEntry(EnvironmentAttribute<Value> attribute, List<? extends EnvironmentAttributeModification<?>> mods) <Value> ValuegetAttributeValue(EnvironmentAttribute<Value> attribute) <Value> ValuegetAttributeValue(EnvironmentAttribute<Value> attribute, Vec3d pos, @Nullable WeightedAttributeList pool) (package private) <Value> ValuegetDefaultValue(EnvironmentAttribute<Value> attribute) private <Value> @Nullable WorldEnvironmentAttributeAccess.Entry<Value> getEntry(EnvironmentAttribute<Value> attribute) (package private) booleanisPositional(EnvironmentAttribute<?> attribute) voidtick()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.attribute.EnvironmentAttributeAccess
getAttributeValue, getAttributeValue
-
Field Details
-
entries
- Mappings:
Namespace Name Mixin selector named entriesLnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess;entries:Ljava/util/Map;intermediary field_64321Lnet/minecraft/class_12205;field_64321:Ljava/util/Map;official bLced;b:Ljava/util/Map;
-
-
Constructor Details
-
WorldEnvironmentAttributeAccess
WorldEnvironmentAttributeAccess(Map<EnvironmentAttribute<?>, List<EnvironmentAttributeModification<?>>> modificationsByAttribute) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess;<init>(Ljava/util/Map;)Vintermediary <init>Lnet/minecraft/class_12205;<init>(Ljava/util/Map;)Vofficial <init>Lced;<init>(Ljava/util/Map;)V
-
-
Method Details
-
computeEntry
private <Value> WorldEnvironmentAttributeAccess.Entry<Value> computeEntry(EnvironmentAttribute<Value> attribute, List<? extends EnvironmentAttributeModification<?>> mods) - Mappings:
Namespace Name Mixin selector named computeEntryLnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess;computeEntry(Lnet/minecraft/world/attribute/EnvironmentAttribute;Ljava/util/List;)Lnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess$Entry;intermediary method_76396Lnet/minecraft/class_12205;method_76396(Lnet/minecraft/class_12197;Ljava/util/List;)Lnet/minecraft/class_12205$class_12315;official aLced;a(Lcdy;Ljava/util/List;)Lced$b;
-
builder
- Mappings:
Namespace Name Mixin selector named builderLnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess;builder()Lnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess$Builder;intermediary method_76394Lnet/minecraft/class_12205;method_76394()Lnet/minecraft/class_12205$class_12314;official aLced;a()Lced$a;
-
addModifiersFromWorld
- Mappings:
Namespace Name Mixin selector named addModifiersFromWorldLnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess;addModifiersFromWorld(Lnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess$Builder;Lnet/minecraft/world/World;)Vintermediary method_76399Lnet/minecraft/class_12205;method_76399(Lnet/minecraft/class_12205$class_12314;Lnet/minecraft/class_1937;)Vofficial aLced;a(Lced$a;Ldvg;)V
-
addModifiersFromDimension
private static void addModifiersFromDimension(WorldEnvironmentAttributeAccess.Builder builder, DimensionType dimensionType) - Mappings:
Namespace Name Mixin selector named addModifiersFromDimensionLnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess;addModifiersFromDimension(Lnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess$Builder;Lnet/minecraft/world/dimension/DimensionType;)Vintermediary method_76401Lnet/minecraft/class_12205;method_76401(Lnet/minecraft/class_12205$class_12314;Lnet/minecraft/class_2874;)Vofficial aLced;a(Lced$a;Leqz;)V
-
addModifiersFromBiomes
private static void addModifiersFromBiomes(WorldEnvironmentAttributeAccess.Builder builder, RegistryWrapper<Biome> biome, BiomeAccess biomeAccess) - Mappings:
Namespace Name Mixin selector named addModifiersFromBiomesLnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess;addModifiersFromBiomes(Lnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess$Builder;Lnet/minecraft/registry/RegistryWrapper;Lnet/minecraft/world/biome/source/BiomeAccess;)Vintermediary method_76403Lnet/minecraft/class_12205;method_76403(Lnet/minecraft/class_12205$class_12314;Lnet/minecraft/class_7225;Lnet/minecraft/class_4543;)Vofficial aLced;a(Lced$a;Ljf;Ldwi;)V
-
addModifiersFromBiomes
private static <Value> void addModifiersFromBiomes(WorldEnvironmentAttributeAccess.Builder builder, EnvironmentAttribute<Value> attribute, BiomeAccess biomeAccess) - Mappings:
Namespace Name Mixin selector named addModifiersFromBiomesLnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess;addModifiersFromBiomes(Lnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess$Builder;Lnet/minecraft/world/attribute/EnvironmentAttribute;Lnet/minecraft/world/biome/source/BiomeAccess;)Vintermediary method_76398Lnet/minecraft/class_12205;method_76398(Lnet/minecraft/class_12205$class_12314;Lnet/minecraft/class_12197;Lnet/minecraft/class_4543;)Vofficial aLced;a(Lced$a;Lcdy;Ldwi;)V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess;tick()Vintermediary method_76405Lnet/minecraft/class_12205;method_76405()Vofficial bLced;b()V
-
getEntry
private <Value> @Nullable WorldEnvironmentAttributeAccess.Entry<Value> getEntry(EnvironmentAttribute<Value> attribute) - Mappings:
Namespace Name Mixin selector named getEntryLnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess;getEntry(Lnet/minecraft/world/attribute/EnvironmentAttribute;)Lnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess$Entry;intermediary method_76409Lnet/minecraft/class_12205;method_76409(Lnet/minecraft/class_12197;)Lnet/minecraft/class_12205$class_12315;official dLced;d(Lcdy;)Lced$b;
-
getAttributeValue
- Specified by:
getAttributeValuein interfaceEnvironmentAttributeAccess- Mappings:
Namespace Name Mixin selector named getAttributeValueLnet/minecraft/world/attribute/EnvironmentAttributeAccess;getAttributeValue(Lnet/minecraft/world/attribute/EnvironmentAttribute;)Ljava/lang/Object;intermediary method_75694Lnet/minecraft/class_12204;method_75694(Lnet/minecraft/class_12197;)Ljava/lang/Object;official aLcec;a(Lcdy;)Ljava/lang/Object;
-
getAttributeValue
public <Value> Value getAttributeValue(EnvironmentAttribute<Value> attribute, Vec3d pos, @Nullable WeightedAttributeList pool) - Specified by:
getAttributeValuein interfaceEnvironmentAttributeAccess- Mappings:
Namespace Name Mixin selector named getAttributeValueLnet/minecraft/world/attribute/EnvironmentAttributeAccess;getAttributeValue(Lnet/minecraft/world/attribute/EnvironmentAttribute;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/world/attribute/WeightedAttributeList;)Ljava/lang/Object;intermediary method_75696Lnet/minecraft/class_12204;method_75696(Lnet/minecraft/class_12197;Lnet/minecraft/class_243;Lnet/minecraft/class_12211;)Ljava/lang/Object;official aLcec;a(Lcdy;Lfse;Lceh;)Ljava/lang/Object;
-
getDefaultValue
- Mappings:
Namespace Name Mixin selector named getDefaultValueLnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess;getDefaultValue(Lnet/minecraft/world/attribute/EnvironmentAttribute;)Ljava/lang/Object;intermediary method_76406Lnet/minecraft/class_12205;method_76406(Lnet/minecraft/class_12197;)Ljava/lang/Object;official bLced;b(Lcdy;)Ljava/lang/Object;
-
isPositional
- Mappings:
Namespace Name Mixin selector named isPositionalLnet/minecraft/world/attribute/WorldEnvironmentAttributeAccess;isPositional(Lnet/minecraft/world/attribute/EnvironmentAttribute;)Zintermediary method_76408Lnet/minecraft/class_12205;method_76408(Lnet/minecraft/class_12197;)Zofficial cLced;c(Lcdy;)Z
-