Commit Graph

11 Commits

Author SHA1 Message Date
Camotoy 0641800be7
Add Tickable interface (#1790)
* Add Tickable interface

By having a tickable interface, we're only dedicating one thread to ticking entities and running tasks as opposed to several. This will also help with implementing world border support.

* removeEntity already clears tickableEntities for us

* Only tick the entity if it's not being ticked
2021-01-05 18:41:20 -05:00
Camotoy 186d94917a
Update copyright to 2021 (#1772)
* Update copyright to 2021

Free commit!

* These don't need a copyright

* Don't downgrade the mappings
2021-01-01 10:10:36 -05:00
David Choo 8fdaf6a385
Ender dragon Melee Attacks (#1466)
* Create and position Ender Dragon Bounding Box

Currently allows the player to "kill aura" target
the ender dragon.

* Use an entity to handle attacks for each hitbox

* Use the proper flag to make entities invisible

* Clean up and add some comments

* Ender dragon entity metadata improvements

* Add doc to segment functions

* Add changes

Co-authored-by: DoctorMacc <toy.fighter1@gmail.com>
2020-10-29 18:35:46 -04:00
DoctorMacc ea1a9e5427 Bedrock 1.16 updating part 1 2020-06-22 20:11:09 -04:00
Luke 7195d20fae
Implement helper methods for sending packets (#487)
* Implement helper methods for sending packets, fixes an NPE when chatting before connecting to the remote server

* Change method names

* Add a space between doc comment lines

* Add debug messages
2020-05-05 10:51:43 -05:00
DoctorMacc 9e93ea4c8d Add licenses 2020-04-14 21:52:25 -04:00
DoctorMacc 52783804ac Remove debug code 2020-04-14 21:50:43 -04:00
DoctorMacc ee453502e2 Final touches 2020-04-14 21:46:05 -04:00
DoctorMacc d92b83afdb Fix ender dragon; add enderman 2020-04-14 16:58:41 -04:00
DoctorMacc 13bee6ca6a Debug stuff 2020-04-11 13:10:35 -04:00
DoctorMacc fd5333b77b Merge latest master 2020-04-11 13:06:50 -04:00