public class ForgeHooksClient
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
forgeStatusLine |
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 java.util.Optional<TRSRTransformation> |
applyTransform(ModelRotation rotation,
java.util.Optional<? extends IModelPart> part) |
static BlockFaceUV |
applyUVLock(BlockFaceUV blockFaceUV,
Direction originalSide,
ITransformation rotation) |
static void |
bossBarRenderPost(MainWindow res) |
static RenderGameOverlayEvent.BossInfo |
bossBarRenderPre(MainWindow res,
ClientBossInfo bossInfo,
int x,
int y,
int increment) |
static void |
dispatchRenderLast(WorldRenderer context,
float partialTicks) |
static void |
drawScreen(Screen screen,
int mouseX,
int mouseY,
float partialTicks) |
static void |
fillNormal(int[] faceData,
Direction facing)
internal, relies on fixed format of FaceBakery
|
static void |
fireKeyInput(int key,
int scanCode,
int action,
int modifiers) |
static void |
fireMouseInput(int button,
int action,
int mods) |
static java.lang.String |
fixDomain(java.lang.String base,
java.lang.String complex) |
static void |
gatherFluidTextures(java.util.Set<ResourceLocation> textures) |
static <A extends BipedModel<?>> |
getArmorModel(LivingEntity entityLiving,
ItemStack itemStack,
EquipmentSlotType slot,
A _default) |
static java.lang.String |
getArmorTexture(Entity entity,
ItemStack armor,
java.lang.String _default,
EquipmentSlotType slot,
java.lang.String type) |
static IBakedModel |
getDamageModel(IBakedModel ibakedmodel,
TextureAtlasSprite texture,
BlockState state,
IEnviromentBlockReader world,
BlockPos pos,
long randomPosition) |
static TextureAtlasSprite[] |
getFluidSprites(IEnviromentBlockReader world,
BlockPos pos,
IFluidState fluidStateIn) |
static float |
getFogDensity(FogRenderer fogRenderer,
GameRenderer renderer,
ActiveRenderInfo info,
float partial,
float density) |
static double |
getFOVModifier(GameRenderer renderer,
ActiveRenderInfo info,
double renderPartialTicks,
double fov) |
static javax.vecmath.Matrix4f |
getMatrix(ItemTransformVec3f transform) |
static javax.vecmath.Matrix4f |
getMatrix(ModelRotation modelRotation) |
static float |
getOffsetFOV(PlayerEntity 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 |
invalidateLog4jThreadCache() |
static void |
loadEntityShader(Entity entity,
GameRenderer entityRenderer) |
static void |
multiplyCurrentGlMatrix(javax.vecmath.Matrix4f matrix) |
static void |
onBlockColorsInit(BlockColors blockColors) |
static EntityViewRenderEvent.CameraSetup |
onCameraSetup(GameRenderer renderer,
ActiveRenderInfo info,
float partial,
float yaw,
float pitch,
float roll) |
static boolean |
onDrawBlockHighlight(WorldRenderer context,
ActiveRenderInfo info,
RayTraceResult target,
int subID,
float partialTicks) |
static void |
onFogRender(FogRenderer fogRenderer,
GameRenderer renderer,
ActiveRenderInfo info,
float partial,
int mode,
float distance) |
static boolean |
onGuiCharTypedPost(Screen guiScreen,
char codePoint,
int modifiers) |
static boolean |
onGuiCharTypedPre(Screen guiScreen,
char codePoint,
int modifiers) |
static boolean |
onGuiKeyPressedPost(Screen guiScreen,
int keyCode,
int scanCode,
int modifiers) |
static boolean |
onGuiKeyPressedPre(Screen guiScreen,
int keyCode,
int scanCode,
int modifiers) |
static boolean |
onGuiKeyReleasedPost(Screen guiScreen,
int keyCode,
int scanCode,
int modifiers) |
static boolean |
onGuiKeyReleasedPre(Screen guiScreen,
int keyCode,
int scanCode,
int modifiers) |
static boolean |
onGuiMouseClickedPost(Screen guiScreen,
double mouseX,
double mouseY,
int button) |
static boolean |
onGuiMouseClickedPre(Screen guiScreen,
double mouseX,
double mouseY,
int button) |
static boolean |
onGuiMouseDragPost(Screen guiScreen,
double mouseX,
double mouseY,
int mouseButton,
double dragX,
double dragY) |
static boolean |
onGuiMouseDragPre(Screen guiScreen,
double mouseX,
double mouseY,
int mouseButton,
double dragX,
double dragY) |
static boolean |
onGuiMouseReleasedPost(Screen guiScreen,
double mouseX,
double mouseY,
int button) |
static boolean |
onGuiMouseReleasedPre(Screen guiScreen,
double mouseX,
double mouseY,
int button) |
static boolean |
onGuiMouseScrollPost(MouseHelper mouseHelper,
Screen guiScreen,
double scrollDelta) |
static boolean |
onGuiMouseScrollPre(MouseHelper mouseHelper,
Screen guiScreen,
double scrollDelta) |
static void |
onInputUpdate(PlayerEntity player,
MovementInput movementInput) |
static void |
onItemColorsInit(ItemColors itemColors,
BlockColors blockColors) |
static void |
onModelBake(ModelManager modelManager,
java.util.Map<ResourceLocation,IBakedModel> modelRegistry,
ModelLoader modelLoader) |
static boolean |
onMouseScroll(MouseHelper mouseHelper,
double scrollDelta) |
static boolean |
onRawMouseClicked(int button,
int action,
int mods) |
static void |
onRecipesUpdated(RecipeManager mgr) |
static ScreenshotEvent |
onScreenshot(NativeImage image,
java.io.File screenshotFile) |
static void |
onTextureStitchedPost(AtlasTexture map) |
static void |
onTextureStitchedPre(AtlasTexture map,
java.util.Set<ResourceLocation> resourceLocations) |
static ISound |
playSound(SoundEngine manager,
ISound sound) |
static void |
postDraw(VertexFormatElement.Usage attrType,
VertexFormat format,
int element,
int stride,
java.nio.ByteBuffer buffer) |
static void |
preDraw(VertexFormatElement.Usage attrType,
VertexFormat format,
int element,
int stride,
java.nio.ByteBuffer buffer) |
static void |
putQuadColor(BufferBuilder renderer,
BakedQuad quad,
int color) |
static void |
refreshResources(Minecraft mc,
VanillaResourceType... types) |
static boolean |
renderFirstPersonHand(WorldRenderer context,
float partialTicks) |
static void |
renderLitItem(ItemRenderer ri,
IBakedModel model,
int color,
ItemStack stack) |
static void |
renderMainMenu(MainMenuScreen gui,
FontRenderer font,
int width,
int height) |
static boolean |
renderSpecificFirstPersonHand(Hand hand,
float partialTicks,
float interpPitch,
float swingProgress,
float equipProgress,
ItemStack stack) |
static void |
setRenderLayer(BlockRenderLayer layer) |
static boolean |
shouldCauseReequipAnimation(ItemStack from,
ItemStack to,
int slot) |
static void |
transform(Vector3f vec,
javax.vecmath.Matrix4f m) |
public static java.lang.String getArmorTexture(Entity entity, ItemStack armor, java.lang.String _default, EquipmentSlotType slot, java.lang.String type)
public static boolean onDrawBlockHighlight(WorldRenderer context, ActiveRenderInfo info, RayTraceResult target, int subID, float partialTicks)
public static void dispatchRenderLast(WorldRenderer context, float partialTicks)
public static boolean renderFirstPersonHand(WorldRenderer context, float partialTicks)
public static boolean renderSpecificFirstPersonHand(Hand hand, float partialTicks, float interpPitch, float swingProgress, float equipProgress, ItemStack stack)
public static void onTextureStitchedPre(AtlasTexture map, java.util.Set<ResourceLocation> resourceLocations)
public static void onTextureStitchedPost(AtlasTexture map)
public static void onBlockColorsInit(BlockColors blockColors)
public static void onItemColorsInit(ItemColors itemColors, BlockColors blockColors)
public static void setRenderLayer(BlockRenderLayer layer)
public static <A extends BipedModel<?>> A getArmorModel(LivingEntity entityLiving, ItemStack itemStack, EquipmentSlotType slot, A _default)
public static java.lang.String fixDomain(java.lang.String base, java.lang.String complex)
public static float getOffsetFOV(PlayerEntity entity, float fov)
public static double getFOVModifier(GameRenderer renderer, ActiveRenderInfo info, double renderPartialTicks, double fov)
public static void renderMainMenu(MainMenuScreen gui, FontRenderer font, int width, int height)
public static ISound playSound(SoundEngine manager, ISound sound)
public static int getWorldRenderPass()
public static void drawScreen(Screen screen, int mouseX, int mouseY, float partialTicks)
public static float getFogDensity(FogRenderer fogRenderer, GameRenderer renderer, ActiveRenderInfo info, float partial, float density)
public static void onFogRender(FogRenderer fogRenderer, GameRenderer renderer, ActiveRenderInfo info, float partial, int mode, float distance)
public static EntityViewRenderEvent.CameraSetup onCameraSetup(GameRenderer renderer, ActiveRenderInfo info, float partial, float yaw, float pitch, float roll)
public static void onModelBake(ModelManager modelManager, java.util.Map<ResourceLocation,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.Usage attrType, VertexFormat format, int element, int stride, java.nio.ByteBuffer buffer)
public static void postDraw(VertexFormatElement.Usage attrType, VertexFormat format, int element, int stride, java.nio.ByteBuffer buffer)
public static void transform(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 TextureAtlasSprite[] getFluidSprites(IEnviromentBlockReader world, BlockPos pos, IFluidState fluidStateIn)
public static void gatherFluidTextures(java.util.Set<ResourceLocation> textures)
public static void renderLitItem(ItemRenderer ri, IBakedModel model, int color, ItemStack stack)
public static void fillNormal(int[] faceData, Direction facing)
public static java.util.Optional<TRSRTransformation> applyTransform(ItemTransformVec3f transform, java.util.Optional<? extends IModelPart> part)
public static java.util.Optional<TRSRTransformation> applyTransform(ModelRotation rotation, 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, GameRenderer entityRenderer)
public static IBakedModel getDamageModel(IBakedModel ibakedmodel, TextureAtlasSprite texture, BlockState state, IEnviromentBlockReader world, BlockPos pos, long randomPosition)
public static boolean shouldCauseReequipAnimation(@Nonnull ItemStack from, @Nonnull ItemStack to, int slot)
public static BlockFaceUV applyUVLock(BlockFaceUV blockFaceUV, Direction originalSide, ITransformation rotation)
public static RenderGameOverlayEvent.BossInfo bossBarRenderPre(MainWindow res, ClientBossInfo bossInfo, int x, int y, int increment)
public static void bossBarRenderPost(MainWindow res)
public static ScreenshotEvent onScreenshot(NativeImage 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(PlayerEntity player, MovementInput movementInput)
public static void refreshResources(Minecraft mc, VanillaResourceType... types)
public static boolean onGuiMouseClickedPre(Screen guiScreen, double mouseX, double mouseY, int button)
public static boolean onGuiMouseClickedPost(Screen guiScreen, double mouseX, double mouseY, int button)
public static boolean onGuiMouseReleasedPre(Screen guiScreen, double mouseX, double mouseY, int button)
public static boolean onGuiMouseReleasedPost(Screen guiScreen, double mouseX, double mouseY, int button)
public static boolean onGuiMouseDragPre(Screen guiScreen, double mouseX, double mouseY, int mouseButton, double dragX, double dragY)
public static boolean onGuiMouseDragPost(Screen guiScreen, double mouseX, double mouseY, int mouseButton, double dragX, double dragY)
public static boolean onGuiMouseScrollPre(MouseHelper mouseHelper, Screen guiScreen, double scrollDelta)
public static boolean onGuiMouseScrollPost(MouseHelper mouseHelper, Screen guiScreen, double scrollDelta)
public static boolean onGuiKeyPressedPre(Screen guiScreen, int keyCode, int scanCode, int modifiers)
public static boolean onGuiKeyPressedPost(Screen guiScreen, int keyCode, int scanCode, int modifiers)
public static boolean onGuiKeyReleasedPre(Screen guiScreen, int keyCode, int scanCode, int modifiers)
public static boolean onGuiKeyReleasedPost(Screen guiScreen, int keyCode, int scanCode, int modifiers)
public static boolean onGuiCharTypedPre(Screen guiScreen, char codePoint, int modifiers)
public static boolean onGuiCharTypedPost(Screen guiScreen, char codePoint, int modifiers)
public static void onRecipesUpdated(RecipeManager mgr)
public static void invalidateLog4jThreadCache()
public static void fireMouseInput(int button, int action, int mods)
public static void fireKeyInput(int key, int scanCode, int action, int modifiers)
public static boolean onMouseScroll(MouseHelper mouseHelper, double scrollDelta)
public static boolean onRawMouseClicked(int button, int action, int mods)