Class RadiosmitherScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<RadiosmitherMenu>
com.codinglitch.simpleradio.client.screens.RadiosmitherScreen
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler,net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.components.Renderable,net.minecraft.client.gui.components.TabOrderedElement,net.minecraft.client.gui.screens.inventory.MenuAccess<RadiosmitherMenu>
public class RadiosmitherScreen
extends net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<RadiosmitherMenu>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.Screen.NarratableSearchResult -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationprotected intstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationprotected intFields inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
hoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, playerInventoryTitle, quickCraftSlots, SLOT_ITEM_BLIT_OFFSET, titleLabelX, titleLabelY, topPosFields inherited from class net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, font, height, minecraft, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionRadiosmitherScreen(RadiosmitherMenu menu, net.minecraft.world.entity.player.Inventory inventory, net.minecraft.network.chat.Component title) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidincrementFrequency(int increment) protected voidinit()booleanmouseReleased(double $$0, double $$1, int $$2) voidrender(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float delta) protected voidrenderBg(net.minecraft.client.gui.GuiGraphics graphics, float delta, int mouseX, int mousey) protected voidrenderLabels(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY) Methods inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
checkHotbarKeyPressed, clearDraggingState, getMenu, getTooltipFromContainerItem, hasClickedOutside, isHovering, isPauseScreen, keyPressed, mouseClicked, mouseDragged, onClose, removed, renderBackground, renderSlotHighlight, renderTooltip, slotClicked, tickMethods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getBackgroundMusic, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrationEnabled, onFilesDrop, rebuildWidgets, removeWidget, renderDirtBackground, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
FM_NORMAL_SPRITE
public static final net.minecraft.resources.ResourceLocation FM_NORMAL_SPRITE -
FM_SELECTED_SPRITE
public static final net.minecraft.resources.ResourceLocation FM_SELECTED_SPRITE -
FM_HIGHLIGHTED_SPRITE
public static final net.minecraft.resources.ResourceLocation FM_HIGHLIGHTED_SPRITE -
AM_NORMAL_SPRITE
public static final net.minecraft.resources.ResourceLocation AM_NORMAL_SPRITE -
AM_SELECTED_SPRITE
public static final net.minecraft.resources.ResourceLocation AM_SELECTED_SPRITE -
AM_HIGHLIGHTED_SPRITE
public static final net.minecraft.resources.ResourceLocation AM_HIGHLIGHTED_SPRITE -
INCREASE_NORMAL_SPRITE
public static final net.minecraft.resources.ResourceLocation INCREASE_NORMAL_SPRITE -
INCREASE_HELD_SPRITE
public static final net.minecraft.resources.ResourceLocation INCREASE_HELD_SPRITE -
INCREASE_HIGHLIGHTED_SPRITE
public static final net.minecraft.resources.ResourceLocation INCREASE_HIGHLIGHTED_SPRITE -
DECREASE_NORMAL_SPRITE
public static final net.minecraft.resources.ResourceLocation DECREASE_NORMAL_SPRITE -
DECREASE_HELD_SPRITE
public static final net.minecraft.resources.ResourceLocation DECREASE_HELD_SPRITE -
DECREASE_HIGHLIGHTED_SPRITE
public static final net.minecraft.resources.ResourceLocation DECREASE_HIGHLIGHTED_SPRITE -
APPLY_NORMAL_SPRITE
public static final net.minecraft.resources.ResourceLocation APPLY_NORMAL_SPRITE -
APPLY_HIGHLIGHTED_SPRITE
public static final net.minecraft.resources.ResourceLocation APPLY_HIGHLIGHTED_SPRITE -
FM_BUTTON
-
AM_BUTTON
-
INCREASE_BUTTON
-
DECREASE_BUTTON
-
APPLY_BUTTON
-
frequency
-
modulation
-
holdingFor
protected int holdingFor -
increment
protected int increment
-
-
Constructor Details
-
Method Details
-
incrementFrequency
protected void incrementFrequency() -
incrementFrequency
protected void incrementFrequency(int increment) -
containerTick
protected void containerTick()- Overrides:
containerTickin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<RadiosmitherMenu>
-
renderBg
protected void renderBg(net.minecraft.client.gui.GuiGraphics graphics, float delta, int mouseX, int mousey) - Specified by:
renderBgin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<RadiosmitherMenu>
-
render
public void render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float delta) - Specified by:
renderin interfacenet.minecraft.client.gui.components.Renderable- Overrides:
renderin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<RadiosmitherMenu>
-
renderLabels
protected void renderLabels(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY) - Overrides:
renderLabelsin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<RadiosmitherMenu>
-
mouseReleased
public boolean mouseReleased(double $$0, double $$1, int $$2) - Specified by:
mouseReleasedin interfacenet.minecraft.client.gui.components.events.ContainerEventHandler- Specified by:
mouseReleasedin interfacenet.minecraft.client.gui.components.events.GuiEventListener- Overrides:
mouseReleasedin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<RadiosmitherMenu>
-
init
protected void init()- Overrides:
initin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<RadiosmitherMenu>
-