Record Class的使用
pkg.exoad.poprock.core.registry.EphemeralRegistry.EphemeralRegistryConfig
-
pkg.exoad.poprock.core.registry中EphemeralRegistry.EphemeralRegistryConfig的使用
修饰符和类型方法说明EphemeralRegistry.makeConfig(String rootName) Similar to justEphemeralRegistry.makeConfig(String,float,Pair[])but just with one required parameter.EphemeralRegistry.makeConfig(String rootName, float loadFactor, Pair<String, RegistryEntry>[] entries) Creates a configuration functionally修饰符和类型方法说明static voidRegistryServices.registerEphemeralRegistry(int id, EphemeralRegistry.EphemeralRegistryConfig config) Registers a registry as "Ephemeral".