类 RegistrySnapshot

java.lang.Object
net.neoforged.neoforge.registries.RegistrySnapshot

public class RegistrySnapshot extends Object
  • 字段详细资料

  • 构造器详细资料

    • RegistrySnapshot

      private RegistrySnapshot()
      Creates a blank snapshot to populate.
    • RegistrySnapshot

      public RegistrySnapshot(Registry<T> registry, boolean full)
      Creates a registry snapshot based on the given registry.
      类型参数:
      T - the registry type
      参数:
      registry - the registry to snapshot.
      full - if true, all entries will be stored in this snapshot. These entries are never saved to disk nor sent to the client.
  • 方法详细资料