Class BackTankUtil

java.lang.Object
com.simibubi.create.content.curiosities.armor.BackTankUtil

public class BackTankUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    canAbsorbDamage(net.minecraft.world.entity.LivingEntity entity, int usesPerTank)
     
    static void
    consumeAir(net.minecraft.world.item.ItemStack backtank, float i)
     
    static net.minecraft.world.item.ItemStack
    get(net.minecraft.world.entity.LivingEntity entity)
     
    static float
    getAir(net.minecraft.world.item.ItemStack backtank)
     
    static int
    getBarColor(net.minecraft.world.item.ItemStack stack, int usesPerTank)
     
    static int
    getBarWidth(net.minecraft.world.item.ItemStack stack, int usesPerTank)
     
    static boolean
    hasAirRemaining(net.minecraft.world.item.ItemStack backtank)
     
    static boolean
    isBarVisible(net.minecraft.world.item.ItemStack stack, int usesPerTank)
     
    static int
    maxAir(int enchantLevel)
     
    static int
    maxAir(net.minecraft.world.item.ItemStack backtank)
     
    static int
     

    Methods inherited from class java.lang.Object

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

    • BackTankUtil

      public BackTankUtil()
  • Method Details

    • get

      public static net.minecraft.world.item.ItemStack get(net.minecraft.world.entity.LivingEntity entity)
    • hasAirRemaining

      public static boolean hasAirRemaining(net.minecraft.world.item.ItemStack backtank)
    • getAir

      public static float getAir(net.minecraft.world.item.ItemStack backtank)
    • consumeAir

      public static void consumeAir(net.minecraft.world.item.ItemStack backtank, float i)
    • maxAir

      public static int maxAir(net.minecraft.world.item.ItemStack backtank)
    • maxAir

      public static int maxAir(int enchantLevel)
    • maxAirWithoutEnchants

      public static int maxAirWithoutEnchants()
    • canAbsorbDamage

      public static boolean canAbsorbDamage(net.minecraft.world.entity.LivingEntity entity, int usesPerTank)
    • isBarVisible

      public static boolean isBarVisible(net.minecraft.world.item.ItemStack stack, int usesPerTank)
    • getBarWidth

      public static int getBarWidth(net.minecraft.world.item.ItemStack stack, int usesPerTank)
    • getBarColor

      public static int getBarColor(net.minecraft.world.item.ItemStack stack, int usesPerTank)