Interface IForgeRegistry.DummyFactory<V>

All Known Implementing Classes:
GameData.BlockCallbacks
Enclosing interface:
IForgeRegistry<V>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @Deprecated(forRemoval=true, since="1.19.4") public static interface IForgeRegistry.DummyFactory<V>
Deprecated, for removal: This API element is subject to removal in a future version.
Dummies are being removed due to lack of use and high maintenance cost. There will not be an equivalent replacement feature added.
Factory for creating dummy entries, allowing worlds to be loaded and keep the missing block references.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Details

    • createDummy

      V createDummy(ResourceLocation key)
      Deprecated, for removal: This API element is subject to removal in a future version.