public class RenderHelper
extends java.lang.Object
Constructor and Description |
---|
RenderHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
drawLineWithColor(net.minecraft.util.math.Vec3d a,
net.minecraft.util.math.Vec3d b,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player,
float partialTicks,
boolean NormalBoundingBox,
int red,
int green,
int blue,
int alpha,
int seeThruAlpha) |
static void |
drawSelectionBoundingBoxIfExists(net.minecraft.util.math.AxisAlignedBB bb,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player,
float partialTicks,
boolean NormalBoundingBox) |
static void |
drawSelectionBoundingBoxIfExistsWithColor(net.minecraft.util.math.AxisAlignedBB bb,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player,
float partialTicks,
boolean NormalBoundingBox,
int red,
int green,
int blue,
int alpha,
int seeThruAlpha) |
static int |
getTint(int alpha,
int tintIndex,
net.minecraft.world.World worldObj,
net.minecraft.util.math.BlockPos blockPos) |
static void |
renderBoundingBox(net.minecraft.util.math.AxisAlignedBB boundingBox,
int red,
int green,
int blue,
int alpha) |
static void |
renderGhostModel(net.minecraft.client.renderer.block.model.IBakedModel baked,
net.minecraft.world.World worldObj,
net.minecraft.util.math.BlockPos blockPos,
boolean isUnplaceable) |
static void |
renderLine(net.minecraft.util.math.Vec3d a,
net.minecraft.util.math.Vec3d b,
int red,
int green,
int blue,
int alpha) |
static void |
renderModel(net.minecraft.client.renderer.block.model.IBakedModel model,
net.minecraft.world.World worldObj,
net.minecraft.util.math.BlockPos blockPos,
int alpha) |
static void |
renderQuads(int alpha,
net.minecraft.client.renderer.VertexBuffer renderer,
java.util.List<net.minecraft.client.renderer.block.model.BakedQuad> quads,
net.minecraft.world.World worldObj,
net.minecraft.util.math.BlockPos blockPos) |
public static void drawSelectionBoundingBoxIfExists(net.minecraft.util.math.AxisAlignedBB bb, net.minecraft.util.math.BlockPos blockPos, net.minecraft.entity.player.EntityPlayer player, float partialTicks, boolean NormalBoundingBox)
public static void drawSelectionBoundingBoxIfExistsWithColor(net.minecraft.util.math.AxisAlignedBB bb, net.minecraft.util.math.BlockPos blockPos, net.minecraft.entity.player.EntityPlayer player, float partialTicks, boolean NormalBoundingBox, int red, int green, int blue, int alpha, int seeThruAlpha)
public static void drawLineWithColor(net.minecraft.util.math.Vec3d a, net.minecraft.util.math.Vec3d b, net.minecraft.util.math.BlockPos blockPos, net.minecraft.entity.player.EntityPlayer player, float partialTicks, boolean NormalBoundingBox, int red, int green, int blue, int alpha, int seeThruAlpha)
public static void renderQuads(int alpha, net.minecraft.client.renderer.VertexBuffer renderer, java.util.List<net.minecraft.client.renderer.block.model.BakedQuad> quads, net.minecraft.world.World worldObj, net.minecraft.util.math.BlockPos blockPos)
public static void renderBoundingBox(net.minecraft.util.math.AxisAlignedBB boundingBox, int red, int green, int blue, int alpha)
public static void renderLine(net.minecraft.util.math.Vec3d a, net.minecraft.util.math.Vec3d b, int red, int green, int blue, int alpha)
public static int getTint(int alpha, int tintIndex, net.minecraft.world.World worldObj, net.minecraft.util.math.BlockPos blockPos)
public static void renderModel(net.minecraft.client.renderer.block.model.IBakedModel model, net.minecraft.world.World worldObj, net.minecraft.util.math.BlockPos blockPos, int alpha)
public static void renderGhostModel(net.minecraft.client.renderer.block.model.IBakedModel baked, net.minecraft.world.World worldObj, net.minecraft.util.math.BlockPos blockPos, boolean isUnplaceable)