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 final Minecraft
private final AbstractContainerScreen
<?> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
private Component
getEffectName
(MobEffectInstance p_376252_) void
render
(GuiGraphics p_376446_, int p_376167_, int p_376572_, float p_376427_) private void
renderBackgrounds
(GuiGraphics p_376873_, int p_376485_, int p_376217_, Iterable<MobEffectInstance> p_376444_, boolean p_376129_) private void
renderEffects
(GuiGraphics p_376884_, int p_376869_, int p_376740_) private void
renderIcons
(GuiGraphics p_376734_, int p_376350_, int p_376678_, Iterable<MobEffectInstance> p_376215_, boolean p_376312_) private void
renderLabels
(GuiGraphics p_376227_, int p_376372_, int p_376395_, Iterable<MobEffectInstance> p_376910_)
-
Field Details
-
EFFECT_BACKGROUND_LARGE_SPRITE
-
EFFECT_BACKGROUND_SMALL_SPRITE
-
screen
-
minecraft
-
-
Constructor Details
-
EffectsInInventory
-
-
Method Details
-
render
-
canSeeEffects
public boolean canSeeEffects() -
renderEffects
-
renderBackgrounds
private void renderBackgrounds(GuiGraphics p_376873_, int p_376485_, int p_376217_, Iterable<MobEffectInstance> p_376444_, boolean p_376129_) -
renderIcons
private void renderIcons(GuiGraphics p_376734_, int p_376350_, int p_376678_, Iterable<MobEffectInstance> p_376215_, boolean p_376312_) -
renderLabels
private void renderLabels(GuiGraphics p_376227_, int p_376372_, int p_376395_, Iterable<MobEffectInstance> p_376910_) -
getEffectName
-