TheMode
c95c8430b6
Force the use of EventListener
2021-06-02 20:56:47 +02:00
TheMode
15ae5fd3c1
Force the use of EventFilter
2021-06-02 20:33:35 +02:00
TheMode
7aee717196
Add EventFilter
2021-06-02 20:23:50 +02:00
TheMode
8fa4c22d1f
Rename EventNode#create methods
2021-06-02 19:44:44 +02:00
TheMode
305aa3e8d9
Add support for listener expiration count
2021-06-02 12:12:14 +02:00
TheMode
12c620df7a
Fix conditional factory not actually having a condition
2021-06-02 11:26:36 +02:00
TheMode
0b6c7b0b0e
Delete EventTrait
2021-06-02 09:06:04 +02:00
TheMode
52547c5bd6
Rename create method
2021-06-02 08:59:46 +02:00
TheMode
2d8474282b
Made Event an interface
2021-06-02 08:17:03 +02:00
TheMode
02fe4c65a2
Use traits for events
2021-06-02 07:09:15 +02:00
TheMode
047d4a92ac
Merge branch 'master' into event-api
2021-06-02 06:41:42 +02:00
TheMode
63bff29838
Compute block properties for arguments
2021-05-31 00:00:23 +02:00
TheMode
41f769b8b2
Rename #getBlockId to #getId
2021-05-28 14:35:55 +02:00
TheMode
47c7e36b1d
Fix remaining errors
2021-05-24 23:39:22 +02:00
Articdive
a95a89932e
Remove CustomBlock and fix some compiler errors.
2021-05-24 22:51:34 +02:00
TheMode
0a9fa31804
Merge pull request #275 from Minestom/respect-client-chat-settings
...
Respect client chat settings
2021-05-17 16:21:08 +02:00
TheMode
36942708bb
Introduce EventGroup
2021-05-13 09:11:02 +02:00
Arne Dalhuisen
29b0f5448d
Moved EquipmentSlot out of equipment packet
2021-05-11 14:10:45 +02:00
TheMode
920a36399f
Merge branch 'master' into event-api
2021-05-11 04:53:03 +02:00
TheMode
8b98472ddf
Ignore case for generated string arguments
2021-05-07 21:55:49 +02:00
Kieran Wallbanks
37f0f797fd
Add ability to mimic messages from a player with the echo command
2021-05-06 16:40:31 +01:00
Kieran Wallbanks
a43c0e1291
Modify OpenToLANConfig method names
2021-05-05 16:18:11 +01:00
Kieran Wallbanks
2968ea2513
Debug cleanup, expose session ID
2021-05-05 16:18:11 +01:00
Kieran Wallbanks
17d584a2e3
Swap to SocketAddress
2021-05-05 16:18:11 +01:00
Kieran Wallbanks
94ecb8de7b
Add Query system
2021-05-05 16:18:11 +01:00
Kieran Wallbanks
01fe452783
Implement OpenToLAN system
2021-05-05 16:18:11 +01:00
Kieran Wallbanks
462397d102
Remove Named and Identified interfaces
2021-05-05 16:18:11 +01:00
Kieran Wallbanks
a15e3aef44
Make legacy server pings use the ServerListPingEvent
2021-05-05 16:18:11 +01:00
Kieran Wallbanks
42e1811b7c
Switch to per-version response data generation and implement NamedAndIdentified in ResponseData
2021-05-05 16:18:11 +01:00
Németh Noel
7494c5ac58
Added default entity type
2021-05-04 02:20:24 +02:00
TheMode
e45c60c225
Initial revamped event listening API
2021-05-04 00:46:18 +02:00
Németh Noel
6ac0bc831a
Added entity class argument
2021-05-01 02:55:46 +02:00
TheMode
c86fafe811
Demo server cleanup
2021-04-30 23:15:34 +02:00
TheMode
2aba4c49f6
Change stresstest to profile per-instance thread
2021-04-20 10:18:48 +02:00
TheMode
e342dd2b70
Merge branch 'master' into acquirable
2021-04-18 15:23:09 +02:00
TheMode
6357eb6329
Use shared instance to do not run out of memory
2021-04-18 10:57:16 +02:00
TheMode
e9f13d0a82
WIP dynamic chunk thread change
2021-04-18 06:29:44 +02:00
TheMode
2e4a443bec
Use multiple instances in the demo server
2021-04-18 02:35:17 +02:00
TheMode
dd88a14b90
Remove unused class
2021-04-18 00:19:57 +02:00
TheMode
8f3ee93191
Use literal as the default argument when generating a syntax
2021-04-16 21:51:33 +02:00
TheMode
b5add32ad6
Added AcquirableCollection + waiting time monitor
2021-04-15 09:51:37 +02:00
TheMode
b066b6029a
Merge pull request #223 from thiccaxe/master
...
Add events for STATUS packets.
2021-04-15 07:10:32 +02:00
TheMode
a55ae4d048
Cache unmodifiable players set, remove print
2021-04-13 21:39:42 +02:00
TheMode
f98bfe702c
Print tick time on header
2021-04-12 04:12:21 +02:00
TheMode
bba9c70586
Fix merge
2021-04-12 00:45:37 +02:00
TheMode
1d5262caf2
Merge branch 'master' into item-api
...
# Conflicts:
# src/test/java/demo/PlayerInit.java
2021-04-12 00:44:47 +02:00
TheMode
8e9d7098e5
Allow custom transaction type, simplify inventory superclasses
2021-04-12 00:33:27 +02:00
TheMode
ecb77fc847
Rename FillOption to TransactionOption
2021-04-12 00:07:38 +02:00
TheMode
1100aa98a5
Annotation & comment
2021-04-12 00:04:40 +02:00
TheMode
d86a733b79
WIP FillOption
2021-04-11 23:43:35 +02:00
thiccaxe
fadbe39494
Getters for fields in HandshakeData
2021-04-11 10:46:09 -07:00
TheMode
c7cd8c332a
Rename meta package to metadata to limit breaking changes
2021-04-11 19:13:50 +02:00
TheMode
792dd9787f
Remove ItemStore API until a stable solution is found
2021-04-11 17:01:05 +02:00
thiccaxe
8a9abff98b
Remove Duplicate Code; unlinking ResponseData & ServerListPingEvent
...
Removed code that would cause maintaining more difficult after an update in ResponseData, and additionally PlayerConnection
Updated demo to reflect changes.
2021-04-10 21:14:36 -07:00
TheMode
e0c2c4b655
Support for canPlace & canDestroy meta
2021-04-11 00:42:09 +02:00
TheMode
5adbc287b3
Added TickMonitor
2021-04-11 00:09:01 +02:00
TheMode
d6e7c9a635
Handle nbt directly inside builders instead of lazily
2021-04-09 23:57:05 +02:00
TheMode
e19af0377c
Merge branch 'master' into item-api
...
# Conflicts:
# src/main/java/net/minestom/server/item/ItemDisplay.java
# src/main/java/net/minestom/server/utils/binary/BinaryReader.java
2021-04-09 23:19:38 +02:00
TheMode
e4a26df2b6
Rename ItemMeta#nbt, remove unnecessary cache
2021-04-09 23:16:57 +02:00
thiccaxe
b086dc82ca
Remove extra code in FakePlayerConnection, add refershServerInformation back
2021-04-08 18:20:23 -07:00
thiccaxe
94c4ec79e1
simplify data storage, fix annotations
...
Removed HandshakeData - too excessive
Added abstract methods in PlayerConnection as replacement
in FakePlayerConnection setters do nothing and Getters return MinecraftServer defaults
2021-04-08 16:51:50 -07:00
thiccaxe
cad128a393
update demo to show example
...
may be cut down later as it is very excessive.
2021-04-08 14:41:22 -07:00
LeoDog896
45cc41c99e
Merge branch 'master' into argument-map
2021-04-08 13:01:50 -04:00
TheMode
4c495f401d
Code cleanup
2021-04-07 18:35:19 +02:00
LeoDog896
0e4168ba45
Add ArgumentMap
2021-04-06 22:07:38 -04:00
thiccaxe
02538f0d31
Update Demo
...
reflect changes new deprecations in demo.
2021-04-04 18:58:05 -07:00
thiccaxe
7c0fcadd4f
Add HandshakeEvent
2021-04-04 16:26:58 -07:00
thiccaxe
4f8e94dcf2
Note about favicon format
2021-04-04 15:57:42 -07:00
thiccaxe
cf4a8756ef
StatusRequestEvent
...
Added basic event
notes:
- minestom will only accept the 1.16.5 protocol version, as of now there is no way to get the protocol version from the event. Assume 1.16.5
- there is also no way to currently get the address the client used to ping the server, as that is sent in another packet and minestom does not currently pass that data through.
- favicon appears to not be working
2021-04-04 15:43:19 -07:00
themode
5a5531723c
Fix original nbt overwriting modified meta
2021-04-04 21:34:48 +02:00
themode
d6b6d41f41
Fix Inventory not using a Component as title
2021-04-04 15:33:53 +02:00
themode
ca41365453
Added some useful store methods
2021-04-03 19:35:03 +02:00
themode
dfa7d712c2
Initial ItemStore support
2021-04-03 19:08:07 +02:00
themode
4741c932a0
Add ItemTag
2021-04-03 15:45:46 +02:00
themode
f52e10c2b2
Added InventoryModifier#replaceItemStack
2021-04-03 15:01:36 +02:00
themode
785e002a50
Improve documentation
2021-04-03 00:21:23 +02:00
themode
4a075da3e0
Ensure that the meta is new when instantiating from NBT
2021-04-02 22:40:24 +02:00
themode
a128d30b6b
WIP Item rework implementation
2021-04-02 18:13:02 +02:00
themode
a70870d261
Added ItemMetaBuilder.Provider
2021-04-02 15:42:58 +02:00
themode
042c7c864b
Added covariant return type + enchantment
2021-04-01 22:52:28 +02:00
themode
066b041bba
Allow to directly pass an ItemMeta
2021-04-01 20:06:10 +02:00
themode
cbfeb4e15b
WIP meta support
2021-04-01 20:02:03 +02:00
themode
0ab66113c8
WIP item meta API
2021-04-01 19:08:21 +02:00
themode
5807da47a6
Update annotations + add example
2021-04-01 00:20:59 +02:00
jglrxavpok
930054385f
More packets, just missing ChunkDataPacket
2021-03-30 19:50:55 +02:00
jglrxavpok
07ab4ac090
Most client packets are writtable, same for server packets and readability
2021-03-30 19:46:20 +02:00
jglrxavpok
43957805fd
Handshake and login packets, even more readable server packets
2021-03-30 19:42:40 +02:00
jglrxavpok
7b8a8e3eb0
Tests to check which packets fail to write then read properly
2021-03-30 19:37:43 +02:00
themode
dedd807ceb
Enabled compression by default, provide .editorconfig file
2021-03-27 19:44:09 +01:00
TheMode
ea3f558d8a
Merge pull request #187 from Kebab11noel/demo-commands
...
Demo commands
2021-03-26 21:50:25 +01:00
Németh Noel
256ed45fab
Added two new commands /summon <entity> <pos> and /remove entities <entities>
2021-03-26 21:32:58 +01:00
Németh Noel
a442603067
Removed deprecated parts, changed conditions and other minor changes
2021-03-26 21:19:53 +01:00
Kieran Wallbanks
b9e35d1cc7
Make Audiences static
2021-03-26 19:28:07 +00:00
themode
6b644d6130
Fix BenchmarkManager not returning a Component
2021-03-26 20:10:42 +01:00
Kieran Wallbanks
c3adf3ff67
Include echo command in demo packages
2021-03-26 17:34:39 +00:00
Kieran Wallbanks
e738efded3
Use Adventure in ArgumentComponent and add demo echo command
2021-03-26 17:34:38 +00:00
Kieran Wallbanks
63aaee698e
Rebase to master and fix complication issues
2021-03-26 17:34:38 +00:00
Kieran Wallbanks
aea8a5f794
fix compilation issues
2021-03-26 17:34:38 +00:00
Kieran Wallbanks
8b82d61c0c
fix demo build
2021-03-26 17:34:38 +00:00
Kieran Wallbanks
35f9161d19
update demos
2021-03-26 17:34:38 +00:00