类 ConstantValue
java.lang.Object
net.minecraft.world.level.storage.loot.providers.number.ConstantValue
- 所有已实现的接口:
LootContextUser
,NumberProvider
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
static ConstantValue
exactly
(float pValue) float
getFloat
(LootContext pLootContext) getType()
int
hashCode()
从接口继承的方法 net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams, validate
从接口继承的方法 net.minecraft.world.level.storage.loot.providers.number.NumberProvider
getInt
-
字段详细资料
-
value
final float value
-
-
构造器详细资料
-
ConstantValue
ConstantValue(float pValue)
-
-
方法详细资料
-
getType
- 指定者:
getType
在接口中NumberProvider
-
getFloat
- 指定者:
getFloat
在接口中NumberProvider
-
exactly
-
equals
-
hashCode
public int hashCode()
-