java.lang.Object
com.minecolonies.core.client.render.worldevent.RenderTypes

public class RenderTypes extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static net.minecraft.client.renderer.RenderType
    Used to draw overlay lines that only appear inside existing blocks.
    static net.minecraft.client.renderer.RenderType
    Used to draw overlay lines that only appear outside existing blocks.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.client.renderer.RenderType
    worldEntityIcon(net.minecraft.resources.ResourceLocation resLoc)
    Usable for rendering simple flat textures

    Methods inherited from class java.lang.Object

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

    • LINES_OUTSIDE_BLOCKS

      public static net.minecraft.client.renderer.RenderType LINES_OUTSIDE_BLOCKS
      Used to draw overlay lines that only appear outside existing blocks.
    • LINES_INSIDE_BLOCKS

      public static net.minecraft.client.renderer.RenderType LINES_INSIDE_BLOCKS
      Used to draw overlay lines that only appear inside existing blocks.
  • Constructor Details

    • RenderTypes

      public RenderTypes()
  • Method Details

    • worldEntityIcon

      public static net.minecraft.client.renderer.RenderType worldEntityIcon(net.minecraft.resources.ResourceLocation resLoc)
      Usable for rendering simple flat textures
      Parameters:
      resLoc - texture location
      Returns:
      render type