Class Velvet

java.lang.Object
dev.cammiescorner.velvet.Velvet
All Implemented Interfaces:
dev.upcraft.sparkweave.api.entrypoint.ClientEntryPoint

public class Velvet extends Object implements dev.upcraft.sparkweave.api.entrypoint.ClientEntryPoint
  • Field Details

    • MOD_ID

      public static final String MOD_ID
      See Also:
    • LOGGER

      public static final org.apache.logging.log4j.Logger LOGGER
    • LOADER

      public static final Loader LOADER
  • Constructor Details

    • Velvet

      public Velvet()
  • Method Details

    • onInitializeClient

      public void onInitializeClient(dev.upcraft.sparkweave.api.platform.ModContainer mod)
      Specified by:
      onInitializeClient in interface dev.upcraft.sparkweave.api.entrypoint.ClientEntryPoint
    • areShadersDisabled

      @API(status=STABLE) public static boolean areShadersDisabled()
      Checks if OpenGL shaders are disabled in the current game instance. Currently, this only checks if the hardware supports them, however in the future it may check a client option as well.
    • id

      public static net.minecraft.resources.ResourceLocation id(String path)