themode
|
de817e5e52
|
Use acquire/release for node updating
|
2022-01-10 16:51:21 +01:00 |
Mrln
|
78076e9bc8
|
Make PlayerUseItemOnBlockEvent.getBlockFace() return a BlockFace (#555)
|
2022-01-10 16:51:21 +01:00 |
Bloepiloepi
|
1a7fece34e
|
Add sound and animation to damage event (#506)
|
2022-01-10 16:51:21 +01:00 |
themode
|
68f19e3dae
|
Add test for node mapping
|
2022-01-10 16:51:21 +01:00 |
themode
|
f1a4f002c3
|
Reuse local booleans for readability
|
2022-01-10 16:51:21 +01:00 |
KrystilizeNevaDies
|
6cc0ade409
|
Fix naming issue
|
2021-12-23 04:18:52 +10:00 |
TheMode
|
08f9b065de
|
Cache handle for PlayerChunkUnloadEvent
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-11-02 01:54:48 +01:00 |
TheMode
|
faa289a097
|
Entity tracking rework (#486)
|
2021-11-01 18:04:00 +01:00 |
TheMode
|
b308ce5baa
|
Update to Java 17 (#462)
|
2021-10-22 01:55:55 +02:00 |
TheMode
|
45071cebd8
|
Add EntityInstanceEvent (#480)
|
2021-10-06 20:40:17 +02:00 |
Шандуренко Константин Владимирович
|
6c4eda3bb7
|
Chunk-related improvements
|
2021-09-07 19:24:24 +03:00 |
Шандуренко Константин Владимирович
|
2634042f7d
|
InventoryItemChangeEvent is now recursive and not it's PlayerInventory-based child
|
2021-09-06 20:27:11 +03:00 |
Шандуренко Константин Владимирович
|
5db56312f7
|
Code review
|
2021-09-06 20:23:37 +03:00 |
Шандуренко Константин Владимирович
|
8a04d7eed9
|
InventoryItemChangeEvent
|
2021-09-06 19:59:55 +03:00 |
TheMode
|
8cbd6460f4
|
Cleanup...
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-05 03:40:30 +02:00 |
TheMode
|
ae04ca5574
|
More comments for ListenerHandle
|
2021-08-30 12:33:09 +02:00 |
TheMode
|
a92ac203f7
|
Style cleanup
|
2021-08-29 17:11:10 +02:00 |
TheMode
|
61d19243f7
|
Fix event expiration
|
2021-08-29 12:50:44 +02:00 |
TheMode
|
8b61ead08e
|
Fix parent filtering
|
2021-08-29 12:25:57 +02:00 |
TheMode
|
0a3ad69e58
|
Ensure listeners being up to date
|
2021-08-29 01:03:09 +02:00 |
TheMode
|
4680dbd64e
|
Reuse call method for mapped nodes
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-08-27 09:55:10 +02:00 |
TheMode
|
5c9c57439a
|
Prevent node update from being called multiple times
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-08-27 09:51:36 +02:00 |
TheMode
|
66681c5caf
|
Use an array for filtering
|
2021-08-26 14:25:13 +02:00 |
TheMode
|
d56479d316
|
Ensure that child also invalidate events
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-08-26 13:24:16 +02:00 |
TheMode
|
5ddd97cee2
|
Move optimized event calling inside ListenerHandle
|
2021-08-24 15:35:09 +02:00 |
TheMode
|
aed441123e
|
Marks some methods as experimental
|
2021-08-24 15:25:11 +02:00 |
TheMode
|
93cbd52313
|
Use arrays instead of lists for loops
|
2021-08-24 15:12:39 +02:00 |
TheMode
|
5e27399815
|
Fix event propagation on self
|
2021-08-24 11:49:57 +02:00 |
TheMode
|
7740c45982
|
Fix node child removal
|
2021-08-23 18:43:20 +02:00 |
TheMode
|
f1c9268897
|
Catch Throwable instead of Exception
|
2021-08-22 18:35:19 +02:00 |
TheMode
|
129a39fc3d
|
Proper place for global event ListenerHandles
|
2021-08-22 13:56:12 +02:00 |
TheMode
|
898252dad0
|
Fast exit if the player didn't move
|
2021-08-22 08:13:28 +02:00 |
TheMode
|
18b0e21f21
|
Start using ListenerHandle
|
2021-08-22 07:47:06 +02:00 |
TheMode
|
9ce420838a
|
Make RecursiveEvent experimental
|
2021-08-22 05:49:42 +02:00 |
TheMode
|
7bafdde57f
|
Fix javadoc build
|
2021-08-22 05:08:46 +02:00 |
TheMode
|
234d26dce9
|
Add some comments
|
2021-08-22 05:02:44 +02:00 |
TheMode
|
ab91c08a66
|
Typo
|
2021-08-22 04:39:53 +02:00 |
TheMode
|
d4f8aa6fcb
|
Simplify & inline mapped listeners
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-08-22 04:17:42 +02:00 |
TheMode
|
9c7c409fae
|
Reduce listener count
|
2021-08-22 03:08:37 +02:00 |
TheMode
|
6f88abf987
|
Warn about EventNode#map performance
|
2021-08-22 00:41:30 +02:00 |
TheMode
|
d9c000f80a
|
Cache listener handles for mapped nodes
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-08-21 10:02:57 +02:00 |
TheMode
|
f9c67d9b2b
|
Improve mapped node listening
|
2021-08-21 07:01:48 +02:00 |
TheMode
|
a58e149918
|
Remove unnecessary generic declaration
|
2021-08-21 04:21:03 +02:00 |
TheMode
|
c6cc96a5f9
|
Less change propagation/volatile read
|
2021-08-21 04:15:47 +02:00 |
TheMode
|
cfbd655027
|
Cleanup
|
2021-08-21 02:08:25 +02:00 |
TheMode
|
0ad763a813
|
Performance improvement
|
2021-08-21 02:00:30 +02:00 |
TheMode
|
429d12c7e3
|
Add some comments
|
2021-08-21 01:35:47 +02:00 |
TheMode
|
7dfa477500
|
Initial mapped node support
|
2021-08-21 01:24:30 +02:00 |
TheMode
|
6a2b48aee2
|
Merge branch 'master' into zero_cost_event
|
2021-08-20 23:55:30 +02:00 |
TheMode
|
8297089ca8
|
Fix recursive class selection
|
2021-08-20 10:27:22 +02:00 |