ContainerDefaultGuiTextureRegistry

public class ContainerDefaultGuiTextureRegistry implements ClientModInitializer(source)

Texture paths for Minecraft containers.

To register your mod's containers' default GUI textures, create a custom field named optigui:container_default_textures. It must be a JSON object. They keys are the container IDs, and the values are the default GUI textures.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
public final static Boolean contains(Identifier container)

Checks if the default GUI texture of a container is known.

Link copied to clipboard
public final static Identifier get(Identifier container)

Gets the default GUI texture of the given container, or null, if it's unknown.

Link copied to clipboard