Index

A B C D G I L M O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

addButton(TitleScreenButton) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel
Adds a button to the panel using displayText and ActionInstance.
addButton(String, Button.OnPress) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel
Adds a button to the panel using displayText and ActionInstance.
anchorType - Variable in class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel
Where to anchor the panel to the screen.

B

BOTTOM_LEFT - Enum constant in enum class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel.AnchorType
Anchor to bottom left of screen.
BOTTOM_RIGHT - Enum constant in enum class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel.AnchorType
Anchor to bottom right of screen.
builder(Component, Button.OnPress) - Static method in class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenButton
Get a button builder from just the message component and the onPress action.
builder(Component, Button.OnPress, boolean) - Static method in class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenButton
Get a button builder from just the message component and the onPress action.
ButtonPanel - Class in io.github.pixelmk.pixelmkmenu.gui.components
Button panels for organising buttons on the menu.
ButtonPanel(ButtonPanel.AnchorType, int, int, int, int, int, int, int, String, Button.OnPress) - Constructor for class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel
Construct a button panel.
ButtonPanel.AnchorType - Enum Class in io.github.pixelmk.pixelmkmenu.gui.components
Where the anchor for the button panel is located.
buttons - Variable in class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel
List of buttons in the panel.

C

Config - Class in io.github.pixelmk.pixelmkmenu
Config for the entire mod.

D

drawButtonBackground(GuiGraphics, Boolean, int, int) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenButton
Wrapper to configure params passed to drawRect.
drawButtonText(boolean, GuiGraphics) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenButton
Draws and colours text of the button.
drawRect(GuiGraphics, int, int, int, int, int, int) - Static method in class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenButton
Draws the parallelogram for the button.

G

getBackgroundMusic() - Method in class io.github.pixelmk.pixelmkmenu.gui.screens.TitleScreen
 
getBrandings() - Static method in class io.github.pixelmk.pixelmkmenu.PixelMKMenuClient
Get the branding list.
getInstance() - Static method in class io.github.pixelmk.pixelmkmenu.PixelMKMenuClient
Gets shared mod instance.
getMessage() - Method in class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenButton
Returns the apropriate message of the button.
getMessage() - Method in class io.github.pixelmk.pixelmkmenu.gui.components.Tooltip
 
getMuted() - Method in class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenMuteButton
 

I

init() - Method in class io.github.pixelmk.pixelmkmenu.gui.screens.PauseScreen
initialise the screeen and convert all buttons to the main menu buttons for the pause screen.
init() - Method in class io.github.pixelmk.pixelmkmenu.gui.screens.TitleScreen
 
io.github.pixelmk.pixelmkmenu - package io.github.pixelmk.pixelmkmenu
 
io.github.pixelmk.pixelmkmenu.eventlisteners - package io.github.pixelmk.pixelmkmenu.eventlisteners
 
io.github.pixelmk.pixelmkmenu.gui.components - package io.github.pixelmk.pixelmkmenu.gui.components
 
io.github.pixelmk.pixelmkmenu.gui.renderer - package io.github.pixelmk.pixelmkmenu.gui.renderer
 
io.github.pixelmk.pixelmkmenu.gui.screens - package io.github.pixelmk.pixelmkmenu.gui.screens
 
io.github.pixelmk.pixelmkmenu.sounds.music - package io.github.pixelmk.pixelmkmenu.sounds.music
 
isMouseOver(TitleScreenButton, Minecraft, int, int) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel
Checks if the mouse is over a particular button.

L

load() - Method in class io.github.pixelmk.pixelmkmenu.PixelMKMenuClient
Deprecated.

M

MAGIC_NUMBER_INTRODUCTION - Static variable in class io.github.pixelmk.pixelmkmenu.Config
 
MENU_MUSIC - Static variable in class io.github.pixelmk.pixelmkmenu.sounds.music.MenuMusic
Menu Music holder.
MenuMusic - Class in io.github.pixelmk.pixelmkmenu.sounds.music
Utility class used for creating the Pixel MK Menu music registry and registering the music.
MenuMusic() - Constructor for class io.github.pixelmk.pixelmkmenu.sounds.music.MenuMusic
 
MODID - Static variable in class io.github.pixelmk.pixelmkmenu.PixelMKMenu
ModID for the mod.
mouseClicked(double, double, int) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel
 

O

offsetY - Variable in class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenButton
Offset on the vertical.
onClientSetup(FMLClientSetupEvent) - Static method in class io.github.pixelmk.pixelmkmenu.PixelMKMenu.ClientModEventsUtil
Client set-up super function.
onPauseScreenOpen(ScreenEvent.Opening) - Static method in class io.github.pixelmk.pixelmkmenu.eventlisteners.ScreenOpenListener
Hijack the Pause Screen when the Pause Screen is opened.
onServerStarting(ServerStartingEvent) - Method in class io.github.pixelmk.pixelmkmenu.PixelMKMenu
Event handler for non-client.
onTitleScreenOpen(ScreenEvent.Opening) - Static method in class io.github.pixelmk.pixelmkmenu.eventlisteners.ScreenOpenListener
Hijack the title screen when title screen is opened.

P

PauseScreen - Class in io.github.pixelmk.pixelmkmenu.gui.screens
Pixel MK Pause Screen.
PauseScreen() - Constructor for class io.github.pixelmk.pixelmkmenu.gui.screens.PauseScreen
 
PauseScreen(boolean) - Constructor for class io.github.pixelmk.pixelmkmenu.gui.screens.PauseScreen
 
PixelMKMenu - Class in io.github.pixelmk.pixelmkmenu
Mod Entrypoint.
PixelMKMenu(IEventBus, ModContainer) - Constructor for class io.github.pixelmk.pixelmkmenu.PixelMKMenu
Mod Constructor, loaded by NeoForged, first thing that executes when mod is loaded.
PixelMKMenu.ClientModEventsUtil - Class in io.github.pixelmk.pixelmkmenu
Client Event class.
PixelMKMenuClient - Class in io.github.pixelmk.pixelmkmenu
Main class for client side operations.
PixelMKRenderType - Class in io.github.pixelmk.pixelmkmenu.gui.renderer
Class containing static rendertypes where needed.
playDownSound(SoundManager) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenButton
Empty method to remove the sound of clicking a button.
pressedButton - Variable in class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel
Previously/currently pressed button in the panel.

R

render(GuiGraphics, int, int, float) - Method in class io.github.pixelmk.pixelmkmenu.gui.screens.PauseScreen
Renders the screen using tweening and the pose stack.
render(GuiGraphics, int, int, float) - Method in class io.github.pixelmk.pixelmkmenu.gui.screens.TitleScreen
Render the screen by first updating buttons in the button panel and then calling the supermethod.
renderWidget(GuiGraphics, int, int, float) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel
Renders the panel and also renders the children of the panel iteratively.
renderWidget(GuiGraphics, int, int, float) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenButton
 
renderWidget(GuiGraphics, int, int, float) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenMuteButton
Render the mute button.
renderWidget(GuiGraphics, int, int, float) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.Tooltip
 
replaceBranding() - Static method in class io.github.pixelmk.pixelmkmenu.PixelMKMenuClient
Saves NeoForge branding and replaces with our own.
rightAlign - Variable in class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenButton
Is this button aligned to the right of the screen.

S

ScreenOpenListener - Class in io.github.pixelmk.pixelmkmenu.eventlisteners
Listener for screen open events to hijack the title screen and pause screen.
setMessage(Component) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.Tooltip
 
setMuted(boolean) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenMuteButton
Provided that the music volume is not zero, set the muted state of the button.
setX(int) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel
 
setY(int) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel
 
SOUND_EVENTS - Static variable in class io.github.pixelmk.pixelmkmenu.sounds.music.MenuMusic
Sound event register.

T

tick() - Method in class io.github.pixelmk.pixelmkmenu.gui.screens.PauseScreen
On every tick increment the updateCounter.
tick() - Method in class io.github.pixelmk.pixelmkmenu.gui.screens.TitleScreen
On every tick update the counter, update server info and tick the music manager.
TitleScreen - Class in io.github.pixelmk.pixelmkmenu.gui.screens
Pixel MK Menu Title Screen.
TitleScreen() - Constructor for class io.github.pixelmk.pixelmkmenu.gui.screens.TitleScreen
Default Constructor.
TitleScreen(boolean) - Constructor for class io.github.pixelmk.pixelmkmenu.gui.screens.TitleScreen
Replaces brandings.
TitleScreenButton - Class in io.github.pixelmk.pixelmkmenu.gui.components
Button that appears on the Pixel MK title screen.
TitleScreenButton(TitleScreenButton.Builder) - Constructor for class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenButton
Takes in a button builder to build a TitleScreenButton.
TitleScreenButton(Button) - Constructor for class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenButton
 
TitleScreenButton.Builder - Class in io.github.pixelmk.pixelmkmenu.gui.components
Button Builder.
TitleScreenMuteButton - Class in io.github.pixelmk.pixelmkmenu.gui.components
Mute button present on the title screen.
TitleScreenMuteButton(int, int) - Constructor for class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenMuteButton
Create a mute button at the supplied co'ordinates.
toggleMute() - Method in class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenMuteButton
Toggle the muted state of the button.
tooltip() - Static method in class io.github.pixelmk.pixelmkmenu.gui.renderer.PixelMKRenderType
Get tooltip RenderType.
Tooltip - Class in io.github.pixelmk.pixelmkmenu.gui.components
Creates a rendered GUI string with a hoverable tooltip.
Tooltip(String, String, int, int, int) - Constructor for class io.github.pixelmk.pixelmkmenu.gui.components.Tooltip
Creates a tooltip using the given parameters.
Tooltip(List<String>, String, int, int, int, int, int) - Constructor for class io.github.pixelmk.pixelmkmenu.gui.components.Tooltip
Constructs a tooltip using the given parameters.
TOP_LEFT - Enum constant in enum class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel.AnchorType
Anchor to top left of screen.
TOP_RIGHT - Enum constant in enum class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel.AnchorType
Anchor to top right of screen.

U

updateButton(int, float, int, int) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.TitleScreenButton
Updates the button's propertys per tick.
updateButtons(int, float, int, int) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel
Update each button in order.
updatePosition(int, int) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel
Updates the position of the panel and then the buttons.
updateWidgetNarration(NarrationElementOutput) - Method in class io.github.pixelmk.pixelmkmenu.gui.components.Tooltip
 

V

valueOf(String) - Static method in enum class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel.AnchorType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel.AnchorType
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D G I L M O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values