Interface ILoadCondition

All Known Implementing Classes:
And, ModLoaded, Not, OnPlatform, Or, SpecificRegistryContains

public interface ILoadCondition
Load conditions allow JSON data/resource pack entries to be skipped when their condition is not met. For example prevent loading a recipe of a certain mod is not loaded.
  • Method Details

    • allowLoading

      boolean allowLoading()
      Tests if the condition has been met or not.
      Returns:
      Has the condition been met?
    • getType