Class CarryRenderHelper

java.lang.Object
tschipp.carryon.client.render.CarryRenderHelper

public class CarryRenderHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    applyBlockTransformations(net.minecraft.world.entity.player.Player player, float partialticks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.world.level.block.Block block)
     
    static void
    applyEntityTransformations(net.minecraft.world.entity.player.Player player, float partialticks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.world.entity.Entity entity)
     
    static void
    applyGeneralTransformations(net.minecraft.world.entity.player.Player player, float partialticks, com.mojang.blaze3d.vertex.PoseStack matrix)
     
    static boolean
    doSneakCheck(net.minecraft.world.entity.player.Player player)
     
    static org.joml.Quaternionf
    getExactBodyRotation(net.minecraft.world.entity.LivingEntity entity, float partialticks)
     
    static float
    getExactBodyRotationDegrees(net.minecraft.world.entity.LivingEntity entity, float partialticks)
     
    static net.minecraft.world.phys.Vec3
    getExactPos(net.minecraft.world.entity.Entity entity, float partialticks)
     
    static int
     
    static net.minecraft.world.entity.Entity
    getRenderEntity(net.minecraft.world.entity.player.Player player)
     
    static float
    getRenderHeight(net.minecraft.world.entity.player.Player player)
     
    static net.minecraft.world.item.ItemStack
    getRenderItemStack(net.minecraft.world.entity.player.Player player)
     
    static net.minecraft.world.level.block.state.BlockState
    getRenderState(net.minecraft.world.entity.player.Player player)
     
    static float
    getRenderWidth(net.minecraft.world.entity.player.Player player)
     
    static boolean
    isChest(net.minecraft.world.level.block.Block block)
     
    static void
    performScriptTransformation(com.mojang.blaze3d.vertex.PoseStack matrix, CarryOnScript script)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CarryRenderHelper

      public CarryRenderHelper()
  • Method Details

    • getExactPos

      public static net.minecraft.world.phys.Vec3 getExactPos(net.minecraft.world.entity.Entity entity, float partialticks)
    • getExactBodyRotationDegrees

      public static float getExactBodyRotationDegrees(net.minecraft.world.entity.LivingEntity entity, float partialticks)
    • getExactBodyRotation

      public static org.joml.Quaternionf getExactBodyRotation(net.minecraft.world.entity.LivingEntity entity, float partialticks)
    • applyGeneralTransformations

      public static void applyGeneralTransformations(net.minecraft.world.entity.player.Player player, float partialticks, com.mojang.blaze3d.vertex.PoseStack matrix)
    • applyBlockTransformations

      public static void applyBlockTransformations(net.minecraft.world.entity.player.Player player, float partialticks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.world.level.block.Block block)
    • applyEntityTransformations

      public static void applyEntityTransformations(net.minecraft.world.entity.player.Player player, float partialticks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.world.entity.Entity entity)
    • performScriptTransformation

      public static void performScriptTransformation(com.mojang.blaze3d.vertex.PoseStack matrix, CarryOnScript script)
    • getRenderItemStack

      public static net.minecraft.world.item.ItemStack getRenderItemStack(net.minecraft.world.entity.player.Player player)
    • getRenderState

      public static net.minecraft.world.level.block.state.BlockState getRenderState(net.minecraft.world.entity.player.Player player)
    • getRenderEntity

      public static net.minecraft.world.entity.Entity getRenderEntity(net.minecraft.world.entity.player.Player player)
    • getRenderWidth

      public static float getRenderWidth(net.minecraft.world.entity.player.Player player)
    • getRenderHeight

      public static float getRenderHeight(net.minecraft.world.entity.player.Player player)
    • getPerspective

      public static int getPerspective()
    • doSneakCheck

      public static boolean doSneakCheck(net.minecraft.world.entity.player.Player player)
    • isChest

      public static boolean isChest(net.minecraft.world.level.block.Block block)