net.minecraft.world.attribute

public class EnvironmentAttribute<Value>

cea
net.minecraft.world.attribute.EnvironmentAttribute
net.minecraft.class_12197
net.minecraft.world.attribute.EnvironmentAttribute
net.minecraft.src.C_432417_
net.minecraft.world.attribute.EnvironmentAttribute

字段概要

修饰符与类型字段
private final AttributeType<Value>
a
type
field_63712
type
f_437360_
private final Value
b
defaultValue
field_63713
defaultValue
f_436329_
private final AttributeRange<Value>
c
valueRange
field_63714
validator
f_435372_
private final boolean
d
isSyncable
field_63715
synced
f_433574_
private final boolean
e
isPositional
field_63716
positional
f_435637_
private final boolean
f
isSpatiallyInterpolated
field_63717
interpolated
f_435667_

构造函数概要

修饰符构造函数
(AttributeType<Value> type, Value defaultValue, AttributeRange<Value> validator, boolean synced, boolean positional, boolean interpolated)

方法概要

修饰符与类型方法
public static <Value> EnvironmentAttribute$Builder<Value>
a(cdw<Value> arg0)
builder(AttributeType<Value> arg0)
method_75648(class_12192<Value> arg0)
builder(EnvironmentAttributeType<Value> type)
m_444034_(C_432891_<Value> p_451655_)
public AttributeType<Value>
a()
type()
method_75647()
getType()
m_439477_()
public Value
b()
defaultValue()
method_75650()
getDefaultValue()
m_446139_()
public com.mojang.serialization.Codec<Value>
c()
valueCodec()
method_75651()
getCodec()
m_447207_()
public Value
a(Value arg0)
sanitizeValue(Value arg0)
method_75649(Value arg0)
clamp(Value value)
m_442548_(Value arg0)
public boolean
d()
isSyncable()
method_75652()
isSynced()
m_444311_()
public boolean
e()
isPositional()
method_75653()
isPositional()
m_442146_()
public boolean
f()
isSpatiallyInterpolated()
method_75654()
isInterpolated()
m_445059_()