Class WorldEngine

java.lang.Object
com.render.api.world.WorldEngine

public final class WorldEngine extends Object
Internal renderer-neutral engine used by RenderLibWorld.
  • Method Details

    • bootstrap

      public static void bootstrap()
    • createScene

      public static WorldScene createScene(net.minecraft.resources.Identifier id)
    • scene

      public static Optional<WorldScene> scene(net.minecraft.resources.Identifier id)
    • register

      public static RenderRegistration register(WorldRenderer renderer)
      Registers one callback ticket; closing it is idempotent and never removes another ticket for the same callback.
    • compatibilityMode

      public static RenderCompatibilityMode compatibilityMode()
    • compatibilityMode

      public static void compatibilityMode(RenderCompatibilityMode value)
    • compatibilityReport

      public static WorldRenderCompatibilityReport compatibilityReport()
    • stats

      public static WorldRenderStats stats()
    • vfx

      public static WorldVfxRegistry vfx()
    • vfxStats

      public static WorldVfxStats vfxStats()
    • textureCacheStats

      public static WorldTextureCacheStats textureCacheStats()
      Returns independent CPU texture-setup cache statistics.
    • frameId

      public static long frameId()
    • pick

      public static Optional<WorldHitResult> pick(net.minecraft.world.phys.Vec3 origin, net.minecraft.world.phys.Vec3 direction, double maximumDistance)