Class RenderGlobal

  • All Implemented Interfaces:
    IResourceManagerReloadListener, IWorldAccess

    public class RenderGlobal
    extends java.lang.Object
    implements IWorldAccess, IResourceManagerReloadListener
    + This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Constructor Detail

      • RenderGlobal

        public RenderGlobal​(Minecraft mcIn)
    • Method Detail

      • makeEntityOutlineShader

        public void makeEntityOutlineShader()
        + Creates the entity outline shader to be stored in RenderGlobal.entityOutlineShader
      • renderEntityOutlineFramebuffer

        public void renderEntityOutlineFramebuffer()
      • isRenderEntityOutlines

        protected boolean isRenderEntityOutlines()
      • setWorldAndLoadRenderers

        public void setWorldAndLoadRenderers​(WorldClient worldClientIn)
        + set null to clear
      • loadRenderers

        public void loadRenderers()
        + Loads all the renderers and sets up the basic settings usage
      • stopChunkUpdates

        protected void stopChunkUpdates()
      • createBindEntityOutlineFbs

        public void createBindEntityOutlineFbs​(int parInt1,
                                               int parInt2)
      • renderEntities

        public void renderEntities​(Entity renderViewEntity,
                                   ICamera camera,
                                   float partialTicks)
      • getDebugInfoRenders

        public java.lang.String getDebugInfoRenders()
        + Gets the render info for use on the Debug screen
      • getDebugInfoEntities

        public java.lang.String getDebugInfoEntities()
        + Gets the entities info for use on the Debug screen
      • setupTerrain

        public void setupTerrain​(Entity viewEntity,
                                 double partialTicks,
                                 ICamera camera,
                                 int frameCount,
                                 boolean playerSpectator)
      • getViewVector

        protected Vector3f getViewVector​(Entity entityIn,
                                         double partialTicks)
      • renderBlockLayer

        public int renderBlockLayer​(EnumWorldBlockLayer blockLayerIn,
                                    double partialTicks,
                                    int pass,
                                    Entity entityIn)
      • updateClouds

        public void updateClouds()
      • renderSky

        public void renderSky​(float partialTicks,
                              int pass)
      • renderClouds

        public void renderClouds​(float partialTicks,
                                 int pass)
      • hasCloudFog

        public boolean hasCloudFog​(double x,
                                   double y,
                                   double z,
                                   float partialTicks)
        + Checks if the given position is to be rendered with cloud fog
      • updateChunks

        public void updateChunks​(long finishTimeNano)
      • renderWorldBorder

        public void renderWorldBorder​(Entity partialTicks,
                                      float parFloat1)
      • drawBlockDamageTexture

        public void drawBlockDamageTexture​(Tessellator tessellatorIn,
                                           WorldRenderer worldRendererIn,
                                           Entity entityIn,
                                           float partialTicks)
      • drawSelectionBox

        public void drawSelectionBox​(EntityPlayer player,
                                     MovingObjectPosition movingObjectPositionIn,
                                     int partialTicks,
                                     float parFloat1)
        + Draws the selection box for the player. Args: entityPlayer, rayTraceHit, i, itemStack, partialTickTime
      • func_181561_a

        public static void func_181561_a​(AxisAlignedBB parAxisAlignedBB)
      • func_181563_a

        public static void func_181563_a​(AxisAlignedBB parAxisAlignedBB,
                                         int parInt1,
                                         int parInt2,
                                         int parInt3,
                                         int parInt4)
      • markBlockRangeForRenderUpdate

        public void markBlockRangeForRenderUpdate​(int i,
                                                  int j,
                                                  int k,
                                                  int l,
                                                  int i1,
                                                  int j1)
        + On the client, re-renders all blocks in this range, inclusive. On the server, does nothing. Args: min x, min y, min z, max x, max y, max z
        Specified by:
        markBlockRangeForRenderUpdate in interface IWorldAccess
      • playSound

        public void playSound​(java.lang.String var1,
                              double var2,
                              double var4,
                              double var6,
                              float var8,
                              float var9)
        + Plays the specified sound. Arg: soundName, x, y, z, volume, pitch
        Specified by:
        playSound in interface IWorldAccess
      • playSoundToNearExcept

        public void playSoundToNearExcept​(EntityPlayer var1,
                                          java.lang.String var2,
                                          double var3,
                                          double var5,
                                          double var7,
                                          float var9,
                                          float var10)
        + Plays sound to all near players except the player reference given
        Specified by:
        playSoundToNearExcept in interface IWorldAccess
      • spawnParticle

        public void spawnParticle​(int i,
                                  boolean flag,
                                  double d0,
                                  double d1,
                                  double d2,
                                  double d3,
                                  double d4,
                                  double d5,
                                  int... aint)
        Specified by:
        spawnParticle in interface IWorldAccess
      • onEntityAdded

        public void onEntityAdded​(Entity var1)
        + Called on all IWorldAccesses when an entity is created or loaded. On client worlds, starts downloading any necessary textures. On server worlds, adds the entity to the entity tracker.
        Specified by:
        onEntityAdded in interface IWorldAccess
      • onEntityRemoved

        public void onEntityRemoved​(Entity var1)
        + Called on all IWorldAccesses when an entity is unloaded or destroyed. On client worlds, releases any downloaded textures. On server worlds, removes the entity from the entity tracker.
        Specified by:
        onEntityRemoved in interface IWorldAccess
      • deleteAllDisplayLists

        public void deleteAllDisplayLists()
        + Deletes all display lists
      • setDisplayListEntitiesDirty

        public void setDisplayListEntitiesDirty()
      • func_181023_a

        public void func_181023_a​(java.util.Collection<TileEntity> parCollection,
                                  java.util.Collection<TileEntity> parCollection2)
      • getDebugInfoShort

        public java.lang.String getDebugInfoShort()