Class ToucanGuiLayers
java.lang.Object
com.jvn.toucanlib.neoforge.client.ToucanGuiLayers
Convenience wrappers for registering NeoForge GUI layers with ToucanLib-style ids.
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.resources.ResourceLocationregisterAbove(net.neoforged.neoforge.client.event.RegisterGuiLayersEvent event, net.minecraft.resources.ResourceLocation other, String modId, String path, net.minecraft.client.gui.LayeredDraw.Layer layer) Registers a GUI layer above another layer.static net.minecraft.resources.ResourceLocationregisterAboveAll(net.neoforged.neoforge.client.event.RegisterGuiLayersEvent event, String modId, String path, net.minecraft.client.gui.LayeredDraw.Layer layer) Registers a GUI layer above all others.static net.minecraft.resources.ResourceLocationregisterBelow(net.neoforged.neoforge.client.event.RegisterGuiLayersEvent event, net.minecraft.resources.ResourceLocation other, String modId, String path, net.minecraft.client.gui.LayeredDraw.Layer layer) Registers a GUI layer below another layer.static net.minecraft.resources.ResourceLocationregisterBelowAll(net.neoforged.neoforge.client.event.RegisterGuiLayersEvent event, String modId, String path, net.minecraft.client.gui.LayeredDraw.Layer layer) Registers a GUI layer below all others.
-
Method Details
-
registerBelowAll
public static net.minecraft.resources.ResourceLocation registerBelowAll(net.neoforged.neoforge.client.event.RegisterGuiLayersEvent event, String modId, String path, net.minecraft.client.gui.LayeredDraw.Layer layer) Registers a GUI layer below all others. -
registerBelow
public static net.minecraft.resources.ResourceLocation registerBelow(net.neoforged.neoforge.client.event.RegisterGuiLayersEvent event, net.minecraft.resources.ResourceLocation other, String modId, String path, net.minecraft.client.gui.LayeredDraw.Layer layer) Registers a GUI layer below another layer. -
registerAbove
public static net.minecraft.resources.ResourceLocation registerAbove(net.neoforged.neoforge.client.event.RegisterGuiLayersEvent event, net.minecraft.resources.ResourceLocation other, String modId, String path, net.minecraft.client.gui.LayeredDraw.Layer layer) Registers a GUI layer above another layer. -
registerAboveAll
public static net.minecraft.resources.ResourceLocation registerAboveAll(net.neoforged.neoforge.client.event.RegisterGuiLayersEvent event, String modId, String path, net.minecraft.client.gui.LayeredDraw.Layer layer) Registers a GUI layer above all others.
-