Class RegistrySnapshot

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

public class RegistrySnapshot extends Object
  • Field Details

  • Constructor Details

    • 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.
      Type Parameters:
      T - the registry type
      Parameters:
      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.
  • Method Details