类 EnergyWeaponVisuals.HUD

java.lang.Object
mod.chloeprime.gunsmithlib.client.EnergyWeaponVisuals.HUD
封闭类:
EnergyWeaponVisuals

public static final class EnergyWeaponVisuals.HUD extends Object
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final net.minecraft.resources.ResourceLocation
     
    static final net.minecraft.resources.ResourceLocation
     
  • 构造器概要

    构造器
    构造器
    说明
    HUD()
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static boolean
     
    static boolean
    isEnabledFor(net.minecraft.world.item.ItemStack gun)
     
    static void
    modifyBackupAmmoDisplay(net.minecraft.world.item.ItemStack gun, org.apache.commons.lang3.mutable.MutableInt field)
     
    static int
    modifyCurrentAmmoDisplay(net.minecraft.client.gui.GuiGraphics gui, float x, float y, int width, int height, IntSupplier oldBehavior)
     
    static void
    renderBattery(net.minecraft.client.gui.GuiGraphics gui, net.minecraft.world.item.ItemStack gunStack, float x, float y, int width, int height)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • BATTERY_BG

      public static final net.minecraft.resources.ResourceLocation BATTERY_BG
    • BATTERY_FG

      public static final net.minecraft.resources.ResourceLocation BATTERY_FG
  • 构造器详细资料

    • HUD

      public HUD()
  • 方法详细资料

    • isEnabled

      public static boolean isEnabled()
    • isEnabledFor

      public static boolean isEnabledFor(net.minecraft.world.item.ItemStack gun)
    • modifyCurrentAmmoDisplay

      public static int modifyCurrentAmmoDisplay(net.minecraft.client.gui.GuiGraphics gui, float x, float y, int width, int height, IntSupplier oldBehavior)
    • renderBattery

      public static void renderBattery(net.minecraft.client.gui.GuiGraphics gui, net.minecraft.world.item.ItemStack gunStack, float x, float y, int width, int height)
    • modifyBackupAmmoDisplay

      public static void modifyBackupAmmoDisplay(net.minecraft.world.item.ItemStack gun, org.apache.commons.lang3.mutable.MutableInt field)