WorldCreationContextMapper.java

net.minecraft.client.gui.screens.worldselection.WorldCreationContextMapper

信息

  • 全限定名:net.minecraft.client.gui.screens.worldselection.WorldCreationContextMapper
  • 类型:public interface
  • 包:net.minecraft.client.gui.screens.worldselection
  • 源码路径:src/main/java/net/minecraft/client/gui/screens/worldselection/WorldCreationContextMapper.java
  • 起始行号:L11
  • 职责:

    TODO

字段/常量

内部类/嵌套类型

构造器

方法

下面的方法块按源码顺序生成。

  • 方法名:apply
  • 源码定位:L12
  • 返回类型:WorldCreationContext
  • 修饰符:package-private

参数:

  • managers: ReloadableServerResources
  • registries: LayeredRegistryAccess
  • cookie: DataPackReloadCookie

说明:

TODO

代码

@FunctionalInterface
@OnlyIn(Dist.CLIENT)
public interface WorldCreationContextMapper {
    WorldCreationContext apply(
        final ReloadableServerResources managers, final LayeredRegistryAccess<RegistryLayer> registries, final DataPackReloadCookie cookie
    );
}

引用的其他类