TheMode
|
6c093ff6c8
|
WIP shift tests
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-06-29 20:36:03 +02:00 |
TheMode
|
7da0aba66e
|
Proper inventory in drag clicks
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-06-29 19:48:14 +02:00 |
TheMode
|
fb58253423
|
Slot -999 for end drag
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-06-29 19:38:17 +02:00 |
TheMode
|
f89244944f
|
Test external left drag
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-06-29 19:21:38 +02:00 |
themode
|
e8cbe387eb
|
Inventory rework
|
2022-06-29 18:53:46 +02:00 |
Cody
|
3821d204cf
|
Allow for 'F' to be pressed in inventories (Fixes #585) (#1164)
|
2022-06-14 07:38:44 +02:00 |
TheMode
|
7d930ee28d
|
Replace PlayerConnection#sendPacket when possible
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-05-10 10:07:55 +02:00 |
TheMode
|
abeda20646
|
Misc inventory style
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-05-10 07:42:18 +02:00 |
Moulberry
|
ad0440711f
|
Some tweaks to AbstractInventory/PlayerInventory, as well as various Tests (#1049)
|
2022-05-10 07:33:05 +02:00 |
themode
|
f0cf2d946c
|
Force volatile read for inventory contents
|
2022-01-10 16:51:21 +01:00 |
TheMode
|
05de99f45f
|
immutable packets (record) (#528)
|
2022-01-10 16:51:21 +01:00 |
TheMode
|
b308ce5baa
|
Update to Java 17 (#462)
|
2021-10-22 01:55:55 +02:00 |
Шандуренко Константин Владимирович
|
e990283c40
|
Resolving inventory- events and condition issues
|
2021-09-10 18:38:27 +03:00 |
Шандуренко Константин Владимирович
|
8f277cdb17
|
Removed unused imports
|
2021-09-06 20:24:20 +03:00 |
Шандуренко Константин Владимирович
|
5db56312f7
|
Code review
|
2021-09-06 20:23:37 +03:00 |
Шандуренко Константин Владимирович
|
8a04d7eed9
|
InventoryItemChangeEvent
|
2021-09-06 19:59:55 +03:00 |
TheMode
|
a75910fe3f
|
Fix drag clicks
|
2021-08-29 00:07:58 +02:00 |
TheMode
|
b505613810
|
Re-make the `player` field protected
|
2021-08-14 18:39:45 +02:00 |
TheMode
|
11d8c16bf4
|
Reduce magic values usage for packet slot conversion
|
2021-08-14 18:27:31 +02:00 |
TheMode
|
8cf58fa397
|
Fix double click `clickedItem` always being air
|
2021-08-14 18:21:01 +02:00 |
TheMode
|
1775de52e4
|
Remove debug line
|
2021-08-13 21:11:38 +02:00 |
TheMode
|
7f0f35b060
|
Fix double/drag prediction in player inventory
|
2021-08-13 21:05:56 +02:00 |
TheMode
|
1bdc50f4a0
|
Trust client's inventory prediction when possible
|
2021-08-13 20:41:59 +02:00 |
TheMode
|
c17f07e1d0
|
More inventory cleanup
|
2021-08-12 18:06:23 +02:00 |
TheMode
|
aa1fc186f0
|
Use cursor item in windows packet (thanks mojang)
|
2021-07-31 18:16:19 +02:00 |
TheMode
|
ff9ca60a58
|
Add some inline packet constructors
|
2021-07-22 09:54:34 +02:00 |
TheMode
|
edaec0cb6d
|
Fix double click inside player inventory
|
2021-06-27 05:44:24 +02:00 |
TheMode
|
911c983957
|
Merge branch 'master' into event-api
# Conflicts:
# src/main/java/net/minestom/server/entity/Player.java
# src/main/java/net/minestom/server/event/player/UpdateTagListEvent.java
# src/main/java/net/minestom/server/instance/Chunk.java
|
2021-06-14 00:11:41 +02:00 |
TheMode
|
56eead948a
|
Fix inventory click
|
2021-06-06 01:50:28 +02:00 |
TheMode
|
8b255651ab
|
Call events using EventDispatcher
|
2021-06-04 03:48:51 +02:00 |
Arne Dalhuisen
|
00278881ee
|
Revert "Made EntityEquipEvent cancellable"
This reverts commit d72fb72e
|
2021-05-11 20:11:56 +02:00 |
Arne Dalhuisen
|
d72fb72e74
|
Made EntityEquipEvent cancellable
|
2021-05-11 17:05:16 +02:00 |
Arne Dalhuisen
|
ed010ff110
|
Renamed armorItem to equippedItem in EntityEquipEvent
|
2021-05-11 14:48:52 +02:00 |
Arne Dalhuisen
|
77ef5f7d42
|
Made EntityEquipEvent, replacing ArmorEquipEvent
|
2021-05-11 14:45:14 +02:00 |
Arne Dalhuisen
|
29b0f5448d
|
Moved EquipmentSlot out of equipment packet
|
2021-05-11 14:10:45 +02:00 |
TheMode
|
52732ed4cd
|
Fix wrong slot being used in left/right click inside the player inventory
|
2021-05-07 06:48:13 +02:00 |
TheMode
|
5390cd14f0
|
Simplify double click handling
|
2021-04-20 07:29:01 +02:00 |
TheMode
|
e9b5779b24
|
Simplify shift click handling, fix click processor ignoring non-air slot
|
2021-04-20 06:41:55 +02:00 |
TheMode
|
bd90de0df2
|
Remove unnecessary string concat
|
2021-04-12 04:27:36 +02:00 |
TheMode
|
7e3035709f
|
Annotation, fix cursor item not being cleared
|
2021-04-12 00:42:32 +02:00 |
TheMode
|
8e9d7098e5
|
Allow custom transaction type, simplify inventory superclasses
|
2021-04-12 00:33:27 +02:00 |
TheMode
|
6218d2a78e
|
All inventories should implement InventoryClickHandler
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-04-04 03:37:57 +02:00 |
TheMode
|
51d290cae9
|
Share more data between PlayerInventory & Inventory
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-04-04 03:36:31 +02:00 |
Konstantin Shandurenko
|
fdfd20e255
|
InventoryModifier to AbstractInventory and additional methods for inventories
|
2021-04-04 03:56:44 +03:00 |
themode
|
f52e10c2b2
|
Added InventoryModifier#replaceItemStack
|
2021-04-03 15:01:36 +02:00 |
themode
|
0478b696f4
|
Inventory code cleanup
|
2021-04-03 03:43:13 +02:00 |
themode
|
9abbef35ae
|
Reduce code duplication
|
2021-04-03 00:03:36 +02:00 |
themode
|
56bba41f68
|
Cleanup
|
2021-04-02 22:50:20 +02:00 |
themode
|
a128d30b6b
|
WIP Item rework implementation
|
2021-04-02 18:13:02 +02:00 |
themode
|
d91fcde798
|
Fix properties & equipments changes not being properly sent to viewers & self
|
2021-03-12 01:38:52 +01:00 |