public class StonecutterScreen extends ContainerScreen<StonecutterContainer>
| Modifier and Type | Field and Description |
|---|---|
private static ResourceLocation |
BACKGROUND_TEXTURE |
private boolean |
clickedOnSroll |
private boolean |
hasItemsInInputSlot |
private int |
recipeIndexOffset |
private float |
sliderProgress |
container, dragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, playerInventory, slotColor, xSize, ySizebuttons, children, font, height, itemRenderer, minecraft, passEvents, title, widthBACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION| Constructor and Description |
|---|
StonecutterScreen(StonecutterContainer containerIn,
PlayerInventory playerInv,
ITextComponent titleIn) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
canScroll() |
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
private void |
drawRecipesBackground(int mouseX,
int mouseY,
int left,
int top,
int recipeIndexOffsetMax) |
private void |
drawRecipesItems(int left,
int top,
int recipeIndexOffsetMax) |
protected int |
getHiddenRows() |
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_) |
private void |
onInventoryUpdate() |
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, hasClickedOutside, init, isPauseScreen, isPointInRegion, keyPressed, mouseReleased, removed, renderHoveredToolTip, shouldCloseOnEsc, tickaddButton, 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, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, setFocusedDefaultmouseMovedprivate static final ResourceLocation BACKGROUND_TEXTURE
private float sliderProgress
private boolean clickedOnSroll
private int recipeIndexOffset
private boolean hasItemsInInputSlot
public StonecutterScreen(StonecutterContainer containerIn, PlayerInventory playerInv, ITextComponent titleIn)
public void render(int p_render_1_,
int p_render_2_,
float p_render_3_)
render in interface IRenderablerender in class ContainerScreen<StonecutterContainer>protected void drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
drawGuiContainerForegroundLayer in class ContainerScreen<StonecutterContainer>protected void drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class ContainerScreen<StonecutterContainer>private void drawRecipesBackground(int mouseX,
int mouseY,
int left,
int top,
int recipeIndexOffsetMax)
private void drawRecipesItems(int left,
int top,
int recipeIndexOffsetMax)
public boolean mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_)
mouseClicked in interface IGuiEventListenermouseClicked in interface INestedGuiEventHandlermouseClicked in class ContainerScreen<StonecutterContainer>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 IGuiEventListenermouseDragged in interface INestedGuiEventHandlermouseDragged in class ContainerScreen<StonecutterContainer>public boolean mouseScrolled(double p_mouseScrolled_1_,
double p_mouseScrolled_3_,
double p_mouseScrolled_5_)
private boolean canScroll()
protected int getHiddenRows()
private void onInventoryUpdate()