Class EffectsInInventory
java.lang.Object
net.minecraft.client.gui.screens.inventory.EffectsInInventory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ResourceLocation
private static final ResourceLocation
private MobEffectInstance
private final Minecraft
private final AbstractContainerScreen
<?> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
private Component
getEffectName
(MobEffectInstance pEffect) private void
renderBackgrounds
(GuiGraphics pGuiGraphics, int pX, int pY, Iterable<MobEffectInstance> pActiveEffects, boolean pLarge) void
renderEffects
(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY) private void
renderIcons
(GuiGraphics pGuiGraphics, int pX, int pY, Iterable<MobEffectInstance> pActiveEffects, boolean pLarge) private void
renderLabels
(GuiGraphics pGuiGraphics, int pX, int pY, Iterable<MobEffectInstance> pActiveEffects) void
renderTooltip
(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY)
-
Field Details
-
EFFECT_BACKGROUND_LARGE_SPRITE
-
EFFECT_BACKGROUND_SMALL_SPRITE
-
screen
-
minecraft
-
hoveredEffect
-
-
Constructor Details
-
EffectsInInventory
-
-
Method Details
-
canSeeEffects
public boolean canSeeEffects() -
renderEffects
-
renderTooltip
-
renderBackgrounds
private void renderBackgrounds(GuiGraphics pGuiGraphics, int pX, int pY, Iterable<MobEffectInstance> pActiveEffects, boolean pLarge) -
renderIcons
private void renderIcons(GuiGraphics pGuiGraphics, int pX, int pY, Iterable<MobEffectInstance> pActiveEffects, boolean pLarge) -
renderLabels
private void renderLabels(GuiGraphics pGuiGraphics, int pX, int pY, Iterable<MobEffectInstance> pActiveEffects) -
getEffectName
-