/* * Decompiled with CFR 0.152. * * Could not load the following classes: * org.jspecify.annotations.Nullable */ package net.minecraft.world.attribute; import net.minecraft.core.BlockPos; import net.minecraft.world.attribute.EnvironmentAttribute; import net.minecraft.world.attribute.SpatialAttributeInterpolator; import net.minecraft.world.phys.Vec3; import org.jspecify.annotations.Nullable; public interface EnvironmentAttributeReader { public static final EnvironmentAttributeReader EMPTY = new EnvironmentAttributeReader(){ @Override public Value getDimensionValue(EnvironmentAttribute attribute) { return attribute.defaultValue(); } @Override public Value getValue(EnvironmentAttribute attribute, Vec3 pos, @Nullable SpatialAttributeInterpolator biomeInterpolator) { return attribute.defaultValue(); } }; public Value getDimensionValue(EnvironmentAttribute var1); default public Value getValue(EnvironmentAttribute attribute, BlockPos pos) { return this.getValue(attribute, Vec3.atCenterOf(pos)); } default public Value getValue(EnvironmentAttribute attribute, Vec3 pos) { return this.getValue(attribute, pos, null); } public Value getValue(EnvironmentAttribute var1, Vec3 var2, @Nullable SpatialAttributeInterpolator var3); }