Enum B3DLoader

    • Enum Constant Detail

      • INSTANCE

        public static final B3DLoader INSTANCE
    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • enabledDomains

        private final java.util.Set<java.lang.String> enabledDomains
    • Constructor Detail

      • B3DLoader

        private B3DLoader()
    • Method Detail

      • values

        public static B3DLoader[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (B3DLoader c : B3DLoader.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static B3DLoader valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • onResourceManagerReload

        public void onResourceManagerReload​(IResourceManager manager,
                                            java.util.function.Predicate<IResourceType> resourcePredicate)
        Description copied from interface: ISelectiveResourceReloadListener
        A version of onResourceManager that selectively chooses IResourceTypes to reload. When using this, the given predicate should be called to ensure the relevant resources should be reloaded at this time.
        Specified by:
        onResourceManagerReload in interface ISelectiveResourceReloadListener
        Parameters:
        manager - the resource manager being reloaded
        resourcePredicate - predicate to test whether any given resource type should be reloaded