public class RenderGlobal extends java.lang.Object implements IWorldAccess, IResourceManagerReloadListener
Constructor and Description |
---|
RenderGlobal(Minecraft mcIn) |
Modifier and Type | Method and Description |
---|---|
void |
broadcastSound(int p_180440_1_,
BlockPos p_180440_2_,
int p_180440_3_) |
void |
createBindEntityOutlineFbs(int p_72720_1_,
int p_72720_2_) |
void |
deleteAllDisplayLists() |
void |
drawBlockDamageTexture(Tessellator p_174981_1_,
WorldRenderer p_174981_2_,
Entity p_174981_3_,
float p_174981_4_) |
static void |
drawOutlinedBoundingBox(AxisAlignedBB boundingBox,
int p_147590_1_) |
void |
drawSelectionBox(EntityPlayer p_72731_1_,
MovingObjectPosition p_72731_2_,
int p_72731_3_,
float p_72731_4_) |
java.lang.String |
getDebugInfoEntities() |
java.lang.String |
getDebugInfoRenders() |
protected javax.vecmath.Vector3f |
getViewVector(Entity entityIn,
double partialTicks) |
boolean |
hasCloudFog(double p_72721_1_,
double p_72721_3_,
double p_72721_5_,
float p_72721_7_) |
protected boolean |
isRenderEntityOutlines() |
void |
loadRenderers() |
void |
makeEntityOutlineShader() |
void |
markBlockForUpdate(BlockPos pos) |
void |
markBlockRangeForRenderUpdate(int x1,
int y1,
int z1,
int x2,
int y2,
int z2) |
void |
notifyLightSet(BlockPos pos) |
void |
onEntityAdded(Entity entityIn) |
void |
onEntityRemoved(Entity entityIn) |
void |
onResourceManagerReload(IResourceManager resourceManager) |
void |
playAusSFX(EntityPlayer p_180439_1_,
int p_180439_2_,
BlockPos blockPosIn,
int p_180439_4_) |
void |
playRecord(java.lang.String recordName,
BlockPos blockPosIn) |
void |
playSound(java.lang.String soundName,
double x,
double y,
double z,
float volume,
float pitch) |
void |
playSoundToNearExcept(EntityPlayer except,
java.lang.String soundName,
double x,
double y,
double z,
float volume,
float pitch) |
int |
renderBlockLayer(EnumWorldBlockLayer blockLayerIn,
double partialTicks,
int pass,
Entity entityIn) |
void |
renderClouds(float p_180447_1_,
int p_180447_2_) |
void |
renderEntities(Entity p_180446_1_,
ICamera p_180446_2_,
float partialTicks) |
void |
renderEntityOutlineFramebuffer() |
void |
renderSky(float partialTicks,
int pass) |
void |
renderWorldBorder(Entity p_180449_1_,
float p_180449_2_) |
void |
sendBlockBreakProgress(int breakerId,
BlockPos pos,
int progress) |
void |
setDisplayListEntitiesDirty() |
void |
setupTerrain(Entity viewEntity,
double partialTicks,
ICamera camera,
int frameCount,
boolean playerSpectator) |
void |
setWorldAndLoadRenderers(WorldClient worldClientIn) |
void |
spawnParticle(int p_180442_1_,
boolean p_180442_2_,
double p_180442_3_,
double p_180442_5_,
double p_180442_7_,
double p_180442_9_,
double p_180442_11_,
double p_180442_13_,
int... p_180442_15_) |
protected void |
stopChunkUpdates() |
void |
updateChunks(long p_174967_1_) |
void |
updateClouds() |
public RenderGlobal(Minecraft mcIn)
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload
in interface IResourceManagerReloadListener
public void makeEntityOutlineShader()
public void renderEntityOutlineFramebuffer()
protected boolean isRenderEntityOutlines()
public void setWorldAndLoadRenderers(WorldClient worldClientIn)
public void loadRenderers()
protected void stopChunkUpdates()
public void createBindEntityOutlineFbs(int p_72720_1_, int p_72720_2_)
public void renderEntities(Entity p_180446_1_, ICamera p_180446_2_, float partialTicks)
public java.lang.String getDebugInfoRenders()
public java.lang.String getDebugInfoEntities()
public void setupTerrain(Entity viewEntity, double partialTicks, ICamera camera, int frameCount, boolean playerSpectator)
protected javax.vecmath.Vector3f getViewVector(Entity entityIn, double partialTicks)
public int renderBlockLayer(EnumWorldBlockLayer blockLayerIn, double partialTicks, int pass, Entity entityIn)
public void updateClouds()
public void renderSky(float partialTicks, int pass)
public void renderClouds(float p_180447_1_, int p_180447_2_)
public boolean hasCloudFog(double p_72721_1_, double p_72721_3_, double p_72721_5_, float p_72721_7_)
public void updateChunks(long p_174967_1_)
public void renderWorldBorder(Entity p_180449_1_, float p_180449_2_)
public void drawBlockDamageTexture(Tessellator p_174981_1_, WorldRenderer p_174981_2_, Entity p_174981_3_, float p_174981_4_)
public void drawSelectionBox(EntityPlayer p_72731_1_, MovingObjectPosition p_72731_2_, int p_72731_3_, float p_72731_4_)
public static void drawOutlinedBoundingBox(AxisAlignedBB boundingBox, int p_147590_1_)
public void markBlockForUpdate(BlockPos pos)
markBlockForUpdate
in interface IWorldAccess
public void notifyLightSet(BlockPos pos)
notifyLightSet
in interface IWorldAccess
public void markBlockRangeForRenderUpdate(int x1, int y1, int z1, int x2, int y2, int z2)
markBlockRangeForRenderUpdate
in interface IWorldAccess
public void playRecord(java.lang.String recordName, BlockPos blockPosIn)
playRecord
in interface IWorldAccess
public void playSound(java.lang.String soundName, double x, double y, double z, float volume, float pitch)
playSound
in interface IWorldAccess
public void playSoundToNearExcept(EntityPlayer except, java.lang.String soundName, double x, double y, double z, float volume, float pitch)
playSoundToNearExcept
in interface IWorldAccess
public void spawnParticle(int p_180442_1_, boolean p_180442_2_, double p_180442_3_, double p_180442_5_, double p_180442_7_, double p_180442_9_, double p_180442_11_, double p_180442_13_, int... p_180442_15_)
spawnParticle
in interface IWorldAccess
public void onEntityAdded(Entity entityIn)
onEntityAdded
in interface IWorldAccess
public void onEntityRemoved(Entity entityIn)
onEntityRemoved
in interface IWorldAccess
public void deleteAllDisplayLists()
public void broadcastSound(int p_180440_1_, BlockPos p_180440_2_, int p_180440_3_)
broadcastSound
in interface IWorldAccess
public void playAusSFX(EntityPlayer p_180439_1_, int p_180439_2_, BlockPos blockPosIn, int p_180439_4_)
playAusSFX
in interface IWorldAccess
public void sendBlockBreakProgress(int breakerId, BlockPos pos, int progress)
sendBlockBreakProgress
in interface IWorldAccess
public void setDisplayListEntitiesDirty()