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

Planned Events #1

Open
19 of 25 tasks
abused opened this issue Jan 12, 2019 · 0 comments
Open
19 of 25 tasks

Planned Events #1

abused opened this issue Jan 12, 2019 · 0 comments
Labels
enhancement New feature or request WIP We are working on it

Comments

@abused
Copy link
Member

abused commented Jan 12, 2019

This is the list of events we have planned to do.

Block Events

  • BreakBlockEvent - When a block is broken
  • BlockDropsEvent - When a block drops it's drops
  • BlockPlaceEvent - When a block is placed
  • PortalCreationEvent - When a portal is created

Player/Entity Events

  • PlayerInteractEvent - When a player right clicks an entity
  • PlayerLeftClickEvent - When the player left clicks, called on client only
  • EntitySpawnedEvent - When an entity is spawned in the world
  • PlayerCraftEvent - When a player crafts an item
  • PlayerRespawnEvent - When a player respawns
    PlayerDimensionEvent - When a player teleports to another dimension
  • PlayerAttackEvent - When a player attacks an entity
  • EntityDamagedEvent - When an entity takes damage
  • EntityHealingEvent - When an entity begins regenerating hearts
  • PlayerJoinEvent - When a player joins a world
  • PlayerDeathEvent - When a player dies
  • EntityDeathEvent - When an entity dies, is this really needed? Could even replace the PlayerDeathEvent

Tick Events

  • ServerTickEvent - When the server ticks
  • ClientTickEvent - When the client ticks
  • EntityTickEvent - When an entity ticks
  • WorldTickEvent - When the world ticks
    RenderTickEvent - When rendering ticks

Render Events

  • RenderWorldEvent - When the world is rendered
  • [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

Gui Events

  • 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 added the WIP We are working on it label Jan 12, 2019
@abused abused pinned this issue Jan 12, 2019
@UpcraftLP UpcraftLP added the enhancement New feature or request label Feb 23, 2019
@UpcraftLP UpcraftLP changed the title Planned Events Event List Mar 12, 2019
@UpcraftLP UpcraftLP changed the title Event List Planned Events Mar 12, 2019
@UpcraftLP UpcraftLP mentioned this issue Mar 12, 2019
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request WIP We are working on it
Projects
None yet
Development

No branches or pull requests

2 participants