EnvironmentAttributeLayer.java
net.minecraft.world.attribute.EnvironmentAttributeLayer
信息
- 全限定名:net.minecraft.world.attribute.EnvironmentAttributeLayer
- 类型:public sealed interface
- 包:net.minecraft.world.attribute
- 源码路径:src/main/java/net/minecraft/world/attribute/EnvironmentAttributeLayer.java
- 起始行号:L6
- 职责:
TODO
字段/常量
- 无
内部类/嵌套类型
-
net.minecraft.world.attribute.EnvironmentAttributeLayer.Constant- 类型:
interface - 修饰符:
public non sealed - 源码定位:
L11 - 说明:
TODO
- 类型:
-
net.minecraft.world.attribute.EnvironmentAttributeLayer.Positional- 类型:
interface - 修饰符:
public non sealed - 源码定位:
L16 - 说明:
TODO
- 类型:
-
net.minecraft.world.attribute.EnvironmentAttributeLayer.TimeBased- 类型:
interface - 修饰符:
public non sealed - 源码定位:
L21 - 说明:
TODO
- 类型:
构造器
- 无
方法
下面的方法块按源码顺序生成。
- 无
代码
public sealed interface EnvironmentAttributeLayer<Value>
permits EnvironmentAttributeLayer.Constant,
EnvironmentAttributeLayer.TimeBased,
EnvironmentAttributeLayer.Positional {
@FunctionalInterface
public non-sealed interface Constant<Value> extends EnvironmentAttributeLayer<Value> {
Value applyConstant(Value baseValue);
}
@FunctionalInterface
public non-sealed interface Positional<Value> extends EnvironmentAttributeLayer<Value> {
Value applyPositional(Value baseValue, Vec3 pos, @Nullable SpatialAttributeInterpolator biomeInterpolator);
}
@FunctionalInterface
public non-sealed interface TimeBased<Value> extends EnvironmentAttributeLayer<Value> {
Value applyTimeBased(Value baseValue, int cacheTickId);
}
}引用的其他类
- 无