Class CrossPlatformImpl

java.lang.Object
de.mrjulsen.trafficcraft.neoforge.CrossPlatformImpl

public final class CrossPlatformImpl extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    static <H extends net.minecraft.world.inventory.AbstractContainerMenu, S extends net.minecraft.client.gui.screens.Screen & net.minecraft.client.gui.screens.inventory.MenuAccess<H>>
    void
    registerScreenFactory(net.minecraft.world.inventory.MenuType<? extends H> type, dev.architectury.registry.menu.MenuRegistry.ScreenFactory<H,S> factory)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CrossPlatformImpl

      public CrossPlatformImpl()
  • Method Details

    • registerConfig

      public static void registerConfig()
    • registerScreenFactory

      public static <H extends net.minecraft.world.inventory.AbstractContainerMenu, S extends net.minecraft.client.gui.screens.Screen & net.minecraft.client.gui.screens.inventory.MenuAccess<H>> void registerScreenFactory(net.minecraft.world.inventory.MenuType<? extends H> type, dev.architectury.registry.menu.MenuRegistry.ScreenFactory<H,S> factory)