类 EffectsInInventory
java.lang.Object
net.minecraft.client.gui.screens.inventory.EffectsInInventory
-
字段概要
字段修饰符和类型字段说明private static final ResourceLocation
private static final ResourceLocation
private final Minecraft
private final AbstractContainerScreen
<?> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
private Component
getEffectName
(MobEffectInstance p_368169_) void
render
(GuiGraphics p_361248_, int p_363009_, int p_366978_, float p_361526_) private void
renderBackgrounds
(GuiGraphics p_363087_, int p_362702_, int p_362968_, Iterable<MobEffectInstance> p_366617_, boolean p_366522_) private void
renderEffects
(GuiGraphics p_362146_, int p_370153_, int p_365612_) private void
renderIcons
(GuiGraphics p_367085_, int p_367644_, int p_367522_, Iterable<MobEffectInstance> p_361981_, boolean p_368681_) private void
renderLabels
(GuiGraphics p_361851_, int p_367468_, int p_365556_, Iterable<MobEffectInstance> p_365480_)
-
字段详细资料
-
EFFECT_BACKGROUND_LARGE_SPRITE
-
EFFECT_BACKGROUND_SMALL_SPRITE
-
screen
-
minecraft
-
-
构造器详细资料
-
EffectsInInventory
-
-
方法详细资料
-
render
-
canSeeEffects
public boolean canSeeEffects() -
renderEffects
-
renderBackgrounds
private void renderBackgrounds(GuiGraphics p_363087_, int p_362702_, int p_362968_, Iterable<MobEffectInstance> p_366617_, boolean p_366522_) -
renderIcons
private void renderIcons(GuiGraphics p_367085_, int p_367644_, int p_367522_, Iterable<MobEffectInstance> p_361981_, boolean p_368681_) -
renderLabels
private void renderLabels(GuiGraphics p_361851_, int p_367468_, int p_365556_, Iterable<MobEffectInstance> p_365480_) -
getEffectName
-
getScreen
-