Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event Suggestions #10

Closed
3 of 5 tasks
BrockWS opened this issue Jan 15, 2019 · 3 comments
Closed
3 of 5 tasks

Event Suggestions #10

BrockWS opened this issue Jan 15, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@BrockWS
Copy link
Member

BrockWS commented Jan 15, 2019

Add some events for the debug hud (f3) such as:

  • [Left/Right]DebugText (before DebugHud#getLeftText and DebugHud#getRightText is returned) Allows adding/editing/clearing the list of strings for the debug screen. Left and Right are done separately
  • RenderDebugHud (after DebugHud#draw) Probably not needed if a general HUD based event is added

GuiEvents

  • GuiDraw (Gui#draw, InGameHud#draw and other gui classes) When we want to draw extra things to a gui
  • TooltipBuild (ItemStack#getTooltipText when a items tooltip is being built) Allows adding/editing/clearing an ItemStacks tooltip
  • TooltipDraw (ContainerGui#drawTooltip when a tooltip is actually being drawn) Allows drawing extra stuff that isn't a string
@abused abused mentioned this issue Jan 15, 2019
@UpcraftLP
Copy link
Member

is this issue still relevant or can it be closed now?

@BrockWS
Copy link
Member Author

BrockWS commented Jan 18, 2019

Only GuiDrawEvent and TooltipBuildEvent have been implemented. We still need to discuss/implement the others

@UpcraftLP UpcraftLP added the enhancement New feature or request label Feb 23, 2019
@UpcraftLP
Copy link
Member

merged into #1 to better keep track of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants