类 EnergyWeaponVisuals.HUD
java.lang.Object
mod.chloeprime.gunsmithlib.client.EnergyWeaponVisuals.HUD
- 封闭类:
EnergyWeaponVisuals
-
字段概要
字段修饰符和类型字段说明static final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocation -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static booleanstatic booleanisEnabledFor(net.minecraft.world.item.ItemStack gun) static voidmodifyBackupAmmoDisplay(net.minecraft.world.item.ItemStack gun, org.apache.commons.lang3.mutable.MutableInt field) static intmodifyCurrentAmmoDisplay(net.minecraft.client.gui.GuiGraphics gui, float x, float y, int width, int height, IntSupplier oldBehavior) static voidrenderBattery(net.minecraft.client.gui.GuiGraphics gui, net.minecraft.world.item.ItemStack gunStack, float x, float y, int width, int height)
-
字段详细资料
-
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)
-