Class EntityUtils
java.lang.Object
meteordevelopment.meteorclient.utils.entity.EntityUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.util.math.BlockPosgetCityBlock(net.minecraft.entity.player.PlayerEntity player) static ColorgetColorFromDistance(net.minecraft.entity.Entity entity) static net.minecraft.world.GameModegetGameMode(net.minecraft.entity.player.PlayerEntity player) static net.minecraft.entity.EntityGroupgetGroup(net.minecraft.entity.Entity entity) static StringgetName(net.minecraft.entity.Entity entity) static intgetPing(net.minecraft.entity.player.PlayerEntity player) static floatgetTotalHealth(net.minecraft.entity.player.PlayerEntity target) static booleanintersectsWithEntity(net.minecraft.util.math.Box box, Predicate<net.minecraft.entity.Entity> predicate) static booleanisAboveWater(net.minecraft.entity.Entity entity) static booleanisAttackable(net.minecraft.entity.EntityType<?> type) static booleanisInRenderDistance(double posX, double posZ) static booleanisInRenderDistance(net.minecraft.block.entity.BlockEntity entity) static booleanisInRenderDistance(net.minecraft.entity.Entity entity) static booleanisInRenderDistance(net.minecraft.util.math.BlockPos pos) static booleanisRideable(net.minecraft.entity.EntityType<?> type)
-
Constructor Details
-
EntityUtils
public EntityUtils()
-
-
Method Details
-
isAttackable
public static boolean isAttackable(net.minecraft.entity.EntityType<?> type) -
isRideable
public static boolean isRideable(net.minecraft.entity.EntityType<?> type) -
getTotalHealth
public static float getTotalHealth(net.minecraft.entity.player.PlayerEntity target) -
getPing
public static int getPing(net.minecraft.entity.player.PlayerEntity player) -
getGameMode
public static net.minecraft.world.GameMode getGameMode(net.minecraft.entity.player.PlayerEntity player) -
isAboveWater
public static boolean isAboveWater(net.minecraft.entity.Entity entity) -
isInRenderDistance
public static boolean isInRenderDistance(net.minecraft.entity.Entity entity) -
isInRenderDistance
public static boolean isInRenderDistance(net.minecraft.block.entity.BlockEntity entity) -
isInRenderDistance
public static boolean isInRenderDistance(net.minecraft.util.math.BlockPos pos) -
isInRenderDistance
public static boolean isInRenderDistance(double posX, double posZ) -
getCityBlock
public static net.minecraft.util.math.BlockPos getCityBlock(net.minecraft.entity.player.PlayerEntity player) -
getName
-
getColorFromDistance
-
intersectsWithEntity
public static boolean intersectsWithEntity(net.minecraft.util.math.Box box, Predicate<net.minecraft.entity.Entity> predicate) -
getGroup
public static net.minecraft.entity.EntityGroup getGroup(net.minecraft.entity.Entity entity)
-