Class RenderTypeUtil

java.lang.Object
dev.cammiescorner.velvet.impl.RenderTypeUtil

public class RenderTypeUtil extends Object
  • Field Details

    • freezeRegistryHack

      public static boolean freezeRegistryHack
      NeoForge patches RenderType's class initializer to assign IDs to certain render types, causing our registry to freeze. we dont want that to happen so for neo only, we set this to false when that code runs.
  • Constructor Details

    • RenderTypeUtil

      public RenderTypeUtil()