public class ForgeHooksClient
extends java.lang.Object
Constructor and Description |
---|
ForgeHooksClient() |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<TRSRTransformation> |
applyTransform(ItemTransformVec3f transform,
java.util.Optional<? extends IModelPart> part) |
static java.util.Optional<TRSRTransformation> |
applyTransform(javax.vecmath.Matrix4f matrix,
java.util.Optional<? extends IModelPart> part) |
static BlockFaceUV |
applyUVLock(BlockFaceUV blockFaceUV,
EnumFacing originalSide,
ITransformation rotation) |
static void |
bossBarRenderPost(ScaledResolution res) |
static RenderGameOverlayEvent.BossInfo |
bossBarRenderPre(ScaledResolution res,
BossInfoClient bossInfo,
int x,
int y,
int increment) |
static void |
dispatchRenderLast(RenderGlobal context,
float partialTicks) |
static void |
drawScreen(GuiScreen screen,
int mouseX,
int mouseY,
float partialTicks) |
static void |
fillNormal(int[] faceData,
EnumFacing facing)
internal, relies on fixed format of FaceBakery
|
static java.lang.String |
fixDomain(java.lang.String base,
java.lang.String complex) |
static ModelBiped |
getArmorModel(EntityLivingBase entityLiving,
ItemStack itemStack,
EntityEquipmentSlot slot,
ModelBiped _default) |
static java.lang.String |
getArmorTexture(Entity entity,
ItemStack armor,
java.lang.String _default,
EntityEquipmentSlot slot,
java.lang.String type) |
static IBakedModel |
getDamageModel(IBakedModel ibakedmodel,
TextureAtlasSprite texture,
IBlockState state,
IBlockAccess world,
BlockPos pos) |
static float |
getFogDensity(EntityRenderer renderer,
Entity entity,
IBlockState state,
float partial,
float density) |
static float |
getFOVModifier(EntityRenderer renderer,
Entity entity,
IBlockState state,
double renderPartialTicks,
float fov) |
static javax.vecmath.Matrix4f |
getMatrix(ItemTransformVec3f transform) |
static javax.vecmath.Matrix4f |
getMatrix(ModelRotation modelRotation) |
static float |
getOffsetFOV(EntityPlayer entity,
float fov) |
static int |
getSkyBlendColour(World world,
BlockPos center) |
static int |
getWorldRenderPass() |
static IBakedModel |
handleCameraTransforms(IBakedModel model,
ItemCameraTransforms.TransformType cameraTransformType,
boolean leftHandHackery) |
static org.apache.commons.lang3.tuple.Pair<? extends IBakedModel,javax.vecmath.Matrix4f> |
handlePerspective(IBakedModel model,
ItemCameraTransforms.TransformType type) |
static void |
loadEntityShader(Entity entity,
EntityRenderer entityRenderer) |
static void |
multiplyCurrentGlMatrix(javax.vecmath.Matrix4f matrix) |
static boolean |
onDrawBlockHighlight(RenderGlobal context,
EntityPlayer player,
RayTraceResult target,
int subID,
float partialTicks) |
static void |
onFogRender(EntityRenderer renderer,
Entity entity,
IBlockState state,
float partial,
int mode,
float distance) |
static void |
onInputUpdate(EntityPlayer player,
MovementInput movementInput) |
static void |
onModelBake(ModelManager modelManager,
IRegistry<ModelResourceLocation,IBakedModel> modelRegistry,
ModelLoader modelLoader) |
static ScreenshotEvent |
onScreenshot(java.awt.image.BufferedImage image,
java.io.File screenshotFile) |
static void |
onTextureStitchedPost(TextureMap map) |
static void |
onTextureStitchedPre(TextureMap map) |
static void |
orientBedCamera(IBlockAccess world,
BlockPos pos,
IBlockState state,
Entity entity) |
static ISound |
playSound(SoundManager manager,
ISound sound) |
static void |
postDraw(VertexFormatElement.EnumUsage attrType,
VertexFormat format,
int element,
int stride,
java.nio.ByteBuffer buffer) |
static boolean |
postMouseEvent() |
static void |
preDraw(VertexFormatElement.EnumUsage attrType,
VertexFormat format,
int element,
int stride,
java.nio.ByteBuffer buffer) |
static void |
putQuadColor(BufferBuilder renderer,
BakedQuad quad,
int color) |
static void |
registerTESRItemStack(Item item,
int metadata,
java.lang.Class<? extends TileEntity> TileClass)
Deprecated.
Will be removed as soon as possible, hopefully 1.9.
|
static boolean |
renderFirstPersonHand(RenderGlobal context,
float partialTicks,
int renderPass) |
static java.lang.String |
renderMainMenu(GuiMainMenu gui,
FontRenderer font,
int width,
int height,
java.lang.String splashText) |
static boolean |
renderSpecificFirstPersonHand(EnumHand hand,
float partialTicks,
float interpPitch,
float swingProgress,
float equipProgress,
ItemStack stack) |
static void |
renderTileItem(Item item,
int metadata) |
static void |
setRenderLayer(BlockRenderLayer layer) |
static void |
setRenderPass(int pass) |
static boolean |
shouldCauseBlockBreakReset(ItemStack from,
ItemStack to) |
static boolean |
shouldCauseReequipAnimation(ItemStack from,
ItemStack to,
int slot) |
static void |
transform(org.lwjgl.util.vector.Vector3f vec,
javax.vecmath.Matrix4f m) |
public static java.lang.String getArmorTexture(Entity entity, ItemStack armor, java.lang.String _default, EntityEquipmentSlot slot, java.lang.String type)
public static void orientBedCamera(IBlockAccess world, BlockPos pos, IBlockState state, Entity entity)
public static boolean onDrawBlockHighlight(RenderGlobal context, EntityPlayer player, RayTraceResult target, int subID, float partialTicks)
public static void dispatchRenderLast(RenderGlobal context, float partialTicks)
public static boolean renderFirstPersonHand(RenderGlobal context, float partialTicks, int renderPass)
public static boolean renderSpecificFirstPersonHand(EnumHand hand, float partialTicks, float interpPitch, float swingProgress, float equipProgress, ItemStack stack)
public static void onTextureStitchedPre(TextureMap map)
public static void onTextureStitchedPost(TextureMap map)
public static void setRenderPass(int pass)
public static void setRenderLayer(BlockRenderLayer layer)
public static ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, EntityEquipmentSlot slot, ModelBiped _default)
public static java.lang.String fixDomain(java.lang.String base, java.lang.String complex)
public static boolean postMouseEvent()
public static float getOffsetFOV(EntityPlayer entity, float fov)
public static float getFOVModifier(EntityRenderer renderer, Entity entity, IBlockState state, double renderPartialTicks, float fov)
public static java.lang.String renderMainMenu(GuiMainMenu gui, FontRenderer font, int width, int height, java.lang.String splashText)
public static ISound playSound(SoundManager manager, ISound sound)
public static int getWorldRenderPass()
public static void drawScreen(GuiScreen screen, int mouseX, int mouseY, float partialTicks)
public static float getFogDensity(EntityRenderer renderer, Entity entity, IBlockState state, float partial, float density)
public static void onFogRender(EntityRenderer renderer, Entity entity, IBlockState state, float partial, int mode, float distance)
public static void onModelBake(ModelManager modelManager, IRegistry<ModelResourceLocation,IBakedModel> modelRegistry, ModelLoader modelLoader)
public static javax.vecmath.Matrix4f getMatrix(ItemTransformVec3f transform)
public static IBakedModel handleCameraTransforms(IBakedModel model, ItemCameraTransforms.TransformType cameraTransformType, boolean leftHandHackery)
public static void multiplyCurrentGlMatrix(javax.vecmath.Matrix4f matrix)
public static void preDraw(VertexFormatElement.EnumUsage attrType, VertexFormat format, int element, int stride, java.nio.ByteBuffer buffer)
public static void postDraw(VertexFormatElement.EnumUsage attrType, VertexFormat format, int element, int stride, java.nio.ByteBuffer buffer)
public static void transform(org.lwjgl.util.vector.Vector3f vec, javax.vecmath.Matrix4f m)
public static javax.vecmath.Matrix4f getMatrix(ModelRotation modelRotation)
public static void putQuadColor(BufferBuilder renderer, BakedQuad quad, int color)
public static void renderTileItem(Item item, int metadata)
@Deprecated public static void registerTESRItemStack(Item item, int metadata, java.lang.Class<? extends TileEntity> TileClass)
public static void fillNormal(int[] faceData, EnumFacing facing)
public static java.util.Optional<TRSRTransformation> applyTransform(ItemTransformVec3f transform, java.util.Optional<? extends IModelPart> part)
public static java.util.Optional<TRSRTransformation> applyTransform(javax.vecmath.Matrix4f matrix, java.util.Optional<? extends IModelPart> part)
public static void loadEntityShader(Entity entity, EntityRenderer entityRenderer)
public static IBakedModel getDamageModel(IBakedModel ibakedmodel, TextureAtlasSprite texture, IBlockState state, IBlockAccess world, BlockPos pos)
public static boolean shouldCauseReequipAnimation(@Nonnull ItemStack from, @Nonnull ItemStack to, int slot)
public static boolean shouldCauseBlockBreakReset(@Nonnull ItemStack from, @Nonnull ItemStack to)
public static BlockFaceUV applyUVLock(BlockFaceUV blockFaceUV, EnumFacing originalSide, ITransformation rotation)
public static RenderGameOverlayEvent.BossInfo bossBarRenderPre(ScaledResolution res, BossInfoClient bossInfo, int x, int y, int increment)
public static void bossBarRenderPost(ScaledResolution res)
public static ScreenshotEvent onScreenshot(java.awt.image.BufferedImage image, java.io.File screenshotFile)
public static org.apache.commons.lang3.tuple.Pair<? extends IBakedModel,javax.vecmath.Matrix4f> handlePerspective(IBakedModel model, ItemCameraTransforms.TransformType type)
public static void onInputUpdate(EntityPlayer player, MovementInput movementInput)