Class SizeHelper
java.lang.Object
tschipp.carryon.utils.SizeHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic floatgetEntityHeight(net.minecraft.world.entity.Entity entity) static floatgetEntityWidth(net.minecraft.world.entity.Entity entity) static floatgetPlayerScaleFactor(net.minecraft.world.entity.player.Player player) static floatgetRelativeEntityArea(net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.Entity entity) static floatgetRelativeEntityHeight(net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.Entity entity) static floatgetRelativeEntityWidth(net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.Entity entity)
-
Constructor Details
-
SizeHelper
public SizeHelper()
-
-
Method Details
-
getPlayerScaleFactor
public static float getPlayerScaleFactor(net.minecraft.world.entity.player.Player player) -
getEntityWidth
public static float getEntityWidth(net.minecraft.world.entity.Entity entity) -
getRelativeEntityWidth
public static float getRelativeEntityWidth(net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.Entity entity) -
getEntityHeight
public static float getEntityHeight(net.minecraft.world.entity.Entity entity) -
getRelativeEntityHeight
public static float getRelativeEntityHeight(net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.Entity entity) -
getRelativeEntityArea
public static float getRelativeEntityArea(net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.Entity entity)
-