类 ModConfigSpec.IntValue
java.lang.Object
net.neoforged.neoforge.common.ModConfigSpec.ConfigValue<Integer>
net.neoforged.neoforge.common.ModConfigSpec.IntValue
- 所有已实现的接口:
IntSupplier
,Supplier<Integer>
- 封闭类:
ModConfigSpec
public static class ModConfigSpec.IntValue
extends ModConfigSpec.ConfigValue<Integer>
implements IntSupplier
-
构造器概要
构造器 -
方法概要
从类继承的方法 net.neoforged.neoforge.common.ModConfigSpec.ConfigValue
clearCache, get, getDefault, getPath, getRaw, getSpec, next, save, set
-
构造器详细资料
-
IntValue
IntValue(ModConfigSpec.Builder parent, List<String> path, Supplier<Integer> defaultSupplier)
-
-
方法详细资料
-
getRaw
public Integer getRaw(com.electronwill.nightconfig.core.Config config, List<String> path, Supplier<Integer> defaultSupplier) - 覆盖:
getRaw
在类中ModConfigSpec.ConfigValue<Integer>
-
getAsInt
public int getAsInt()- 指定者:
getAsInt
在接口中IntSupplier
-