public class LoomScreen extends ContainerScreen<LoomContainer>
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
field_214113_k |
private static int |
field_214114_l |
private ItemStack |
field_214119_q |
private ItemStack |
field_214120_r |
private ItemStack |
field_214121_s |
private boolean |
field_214123_u |
private boolean |
field_214124_v |
private boolean |
field_214125_w |
private float |
field_214126_x |
private boolean |
field_214127_y |
private int |
field_214128_z |
private ModelRenderer |
field_228188_m_ |
private java.util.List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> |
field_230155_n_ |
container, dragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, playerInventory, slotColor, xSize, ySize
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
LoomScreen(LoomContainer p_i51081_1_,
PlayerInventory p_i51081_2_,
ITextComponent p_i51081_3_) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
private void |
func_214111_b() |
private void |
func_228190_b_(int p_228190_1_,
int p_228190_2_,
int p_228190_3_) |
protected boolean |
hasClickedOutside(double mouseX,
double mouseY,
int guiLeftIn,
int guiTopIn,
int mouseButton) |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
boolean |
mouseDragged(double p_mouseDragged_1_,
double p_mouseDragged_3_,
int p_mouseDragged_5_,
double p_mouseDragged_6_,
double p_mouseDragged_8_) |
boolean |
mouseScrolled(double p_mouseScrolled_1_,
double p_mouseScrolled_3_,
double p_mouseScrolled_5_) |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
func_195363_d, getContainer, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, init, isPauseScreen, isPointInRegion, keyPressed, mouseReleased, removed, renderHoveredToolTip, shouldCloseOnEsc, tick
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setSize, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, setFocusedDefault
mouseMoved
private static final ResourceLocation field_214113_k
private static final int field_214114_l
private final ModelRenderer field_228188_m_
@Nullable private java.util.List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> field_230155_n_
private ItemStack field_214119_q
private ItemStack field_214120_r
private ItemStack field_214121_s
private boolean field_214123_u
private boolean field_214124_v
private boolean field_214125_w
private float field_214126_x
private boolean field_214127_y
private int field_214128_z
public LoomScreen(LoomContainer p_i51081_1_, PlayerInventory p_i51081_2_, ITextComponent p_i51081_3_)
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in interface IRenderable
render
in class ContainerScreen<LoomContainer>
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
in class ContainerScreen<LoomContainer>
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
in class ContainerScreen<LoomContainer>
private void func_228190_b_(int p_228190_1_, int p_228190_2_, int p_228190_3_)
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
mouseClicked
in interface IGuiEventListener
mouseClicked
in interface INestedGuiEventHandler
mouseClicked
in class ContainerScreen<LoomContainer>
public boolean mouseDragged(double p_mouseDragged_1_, double p_mouseDragged_3_, int p_mouseDragged_5_, double p_mouseDragged_6_, double p_mouseDragged_8_)
mouseDragged
in interface IGuiEventListener
mouseDragged
in interface INestedGuiEventHandler
mouseDragged
in class ContainerScreen<LoomContainer>
public boolean mouseScrolled(double p_mouseScrolled_1_, double p_mouseScrolled_3_, double p_mouseScrolled_5_)
protected boolean hasClickedOutside(double mouseX, double mouseY, int guiLeftIn, int guiTopIn, int mouseButton)
hasClickedOutside
in class ContainerScreen<LoomContainer>
private void func_214111_b()