Commit Graph

1764 Commits

Author SHA1 Message Date
themode ea8b8ea41e Fix getChunkAt 2021-01-13 00:56:53 +01:00
TheMode 1b1d74ceee
Merge pull request #101 from LeoDog896/master
Check for removed entity before targeting
2021-01-12 21:18:24 +01:00
LeoDog896 37d528c5a2 Check for removed entity before targeting 2021-01-12 15:16:24 -05:00
themode fcc5bc4381 Improve bootstrap warning 2021-01-12 04:22:24 +01:00
themode 29c8f924fa Added missing metadata types 2021-01-11 21:21:19 +01:00
themode c5d56ae820 Small velocity code cleanup 2021-01-11 08:44:38 +01:00
themode fc694f4b49 Override JsonMessage#toString 2021-01-11 04:42:50 +01:00
themode 14d0149276 Fix boolean argument 2021-01-11 02:57:18 +01:00
themode d7fec0297f Fix argument callback with 0 correct argument 2021-01-11 01:54:59 +01:00
KrystilizeNevaDies 23e70208a8
Fix EntityDamageEvent not being cancellable 2021-01-10 14:18:16 +10:00
themode 1859f513e5 Added convenient EntityFinder#findFirstPlayer 2021-01-10 02:39:05 +01:00
themode b1db46f575 Allow null instance for entity query 2021-01-10 02:30:57 +01:00
R0bbyYT 71ca9414e4 Makes the HologramEntity accessible and adds documentation. 2021-01-09 22:20:08 +01:00
themode 2cf9e55f7b Trim argument name 2021-01-09 06:53:55 +01:00
themode 85390662b7 Merge remote-tracking branch 'origin/master' 2021-01-09 03:42:14 +01:00
themode 4a0302892e Added static parser for ArgumentEntity 2021-01-09 03:40:53 +01:00
Matt Worzala ef35a39388
Add Player#openBook (#99) 2021-01-09 12:40:22 +10:00
themode 9aaecceb01 Added support for player name only 2021-01-09 03:31:24 +01:00
themode d0bf6d9f0d Improve ArgumentString parsing + add apache commons-text dependency 2021-01-09 03:14:10 +01:00
themode 8871cf16c0 Don't default the permission level 2021-01-09 02:38:26 +01:00
themode a6e5dbc60e Fix permission level to use the target selector 2021-01-09 02:20:55 +01:00
themode ac1fa4cb9e Fix selector variables list and use a switch 2021-01-09 01:13:44 +01:00
themode 8f99753235 WIP entity selector argument 2021-01-09 00:59:03 +01:00
themode 2c2a691af7 Registries#getEntityType should return null if invalid 2021-01-09 00:58:06 +01:00
themode ef1afb9cd9 WIP EntityFinder 2021-01-08 23:47:31 +01:00
themode 8fef648221 Fix chunk packets from being wrongly sent when switching instance 2021-01-08 17:17:36 +01:00
themode 90006ac48d Prevent compression from blocking the thread too much 2021-01-08 16:20:04 +01:00
TheMode 57166b2d23
Merge pull request #98 from DerTyan/change-inventory-access-modifiers
Made some field in PlayerInventory protected for allowing usage in child classes
2021-01-08 14:49:27 +01:00
Tyan c702e94937 Made some field in PlayerInventory protected for allowing usage in child classes 2021-01-08 12:29:59 +01:00
themode 066b3dc417 Cleanup 2021-01-08 08:32:33 +01:00
themode 35973c227e Attempt to prevent exception during first connection 2021-01-08 03:16:59 +01:00
themode 1c65b36087 Rework of ArgumentCallback to be more robust, allowing to simplify all argument types in order to be used out of the command framework for general parsing.
Also removed magic space string, replaced with constant from commons apache library
2021-01-08 03:07:37 +01:00
themode d0e94f0ee5 Small demo update 2021-01-07 20:28:07 +01:00
themode e4e564ab07 Add info in chunk comment about safe access 2021-01-07 16:51:10 +01:00
themode d4f61eb152 Improve thread safety in Instance 2021-01-07 16:49:43 +01:00
themode 7c5bb7126a Added PlayerBlockPlaceEvent#setBlockData 2021-01-07 16:12:56 +01:00
themode 349364e15d Provide the proper dimensiontype in the JoinGamePacket 2021-01-07 04:21:34 +01:00
themode 0fa82aff1f Fix default dimension 2021-01-07 03:49:55 +01:00
themode 706a36b30a Fix dimension not being sent for the first instance & force dimensions to be registered in the manager 2021-01-07 03:46:58 +01:00
themode cfe6178e46 Added "effects" support for DimensionType 2021-01-07 03:11:51 +01:00
themode 596b9eedb9 Don't ignore entity yaw in EntityCreature#addViewer 2021-01-07 02:30:46 +01:00
themode 709cc064e5 Added FIXME comment for future bugfix 2021-01-06 21:34:59 +01:00
themode 8d1dda74d0 Increase bpe to 15 as a temporary fix 2021-01-06 21:33:38 +01:00
themode 4107c768a3 Fix test 2021-01-06 21:19:09 +01:00
themode 84fd568c0c Fix attributes not being fully sent for the first player login 2021-01-06 21:09:27 +01:00
themode 459e65da72 Fix build 2021-01-06 20:49:31 +01:00
themode f5d550cda9 Fix attributes not being refreshed client side 2021-01-06 20:45:40 +01:00
themode d6a3b18f04 Fix bits per entry value during palette resize 2021-01-06 20:33:01 +01:00
themode 97a29c6ccf Player#setInstance cleanup 2021-01-06 19:06:37 +01:00
themode 6b39cb1e32 Execute the async login event before sending the login success packet 2021-01-06 19:02:35 +01:00