Render spinning ghost cubes off-screen

This commit is contained in:
Vincent Lee committed 2020-07-17 10:51:27 -05:00
1 parent 4862da11be
commit 26fc38bbfe
2 files changed
+7 -2

No files matched your search

@@ -272,7 +272,7 @@ public class TileEntitySpecialFlower extends TileEntity implements ITickableTile
/**
* Returns a descriptor for the radius of this sub tile. This is called while a player
* is looking at the block with a Manaseer Monocle (IBurstViewerBauble).
* is looking at the block with a Manaseer Monocle.
*/
@OnlyIn(Dist.CLIENT)
public RadiusDescriptor getRadius() {
@@ -134,7 +134,12 @@ public final class RenderHelper {
glState = RenderType.State.getBuilder().texture(new RenderState.TextureState()).diffuseLighting(enableDiffuse).build(false);
SPINNING_CUBE = RenderType.makeType(LibResources.PREFIX_MOD + "spinning_cube", DefaultVertexFormats.ENTITY, GL11.GL_QUADS, 64, glState);
glState = RenderType.State.getBuilder().texture(new RenderState.TextureState()).diffuseLighting(enableDiffuse).transparency(TRANSLUCENT_TRANSPARENCY).build(false);
glState = RenderType.State.getBuilder()
.texture(new RenderState.TextureState())
.diffuseLighting(enableDiffuse)
.transparency(TRANSLUCENT_TRANSPARENCY)
.target(itemTarget)
.build(false);
SPINNING_CUBE_GHOST = RenderType.makeType(LibResources.PREFIX_MOD + "spinning_cube_ghost", DefaultVertexFormats.ENTITY, GL11.GL_QUADS, 64, glState);
glState = RenderType.State.getBuilder().texture(mipmapBlockAtlasTexture)