Commit Graph

2964 Commits

Author SHA1 Message Date
TheMode
5474116e7a Add EventNode#addChild 2021-06-02 09:50:18 +02:00
TheMode
80b2dd2747 Make InventoryEvent an interface 2021-06-02 09:25:08 +02:00
TheMode
096e1de9b5 Delete EventGroup.java, make InstanceEvent an interface 2021-06-02 09:21:13 +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
f88a2f3883 Dont allow every event 2021-06-02 08:24:02 +02:00
TheMode
77f74bb7dc Introduce EventNode 2021-06-02 08:17:21 +02:00
TheMode
2d8474282b Made Event an interface 2021-06-02 08:17:03 +02:00
TheMode
9c87b4d54f Add EventTrait interface 2021-06-02 07:15:28 +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
c105fcc339 Wait 20 ticks before removing player from the tablist 2021-05-31 21:01:28 +02:00
TheMode
6764d040c3 Fix FakePlayer not being removed from the tablist 2021-05-31 20:49:33 +02:00
TheMode
52d0ef7f53 Send trade packet for every new viewer 2021-05-30 16:39:09 +02:00
TheMode
c080750a88 Fix trade index in VillagerInventory 2021-05-30 16:33:02 +02:00
TheMode
ffca5eea00 Added ItemStack#withTag 2021-05-28 17:05:14 +02:00
TheMode
d4fc6a094a Make ItemStack TagReadable 2021-05-28 17:00:48 +02:00
TheMode
9a1062b028 Simplify Tag#defaultValue 2021-05-28 16:21:54 +02:00
TheMode
60c1b2c4e9 Change Tag#Custom to only affect an external compound, allow tag mapping 2021-05-28 16:19:58 +02:00
Matt Worzala
a749f07a3f
Inline nullable and nonnull annotations 2021-05-21 08:56:30 -04:00
Matt Worzala
51409705e1
Stop using reflection, update to latest 2021-05-20 22:26:35 -04:00
TheMode
d871cb2c9c
Merge pull request #299 from Uraxys/chunk-block-count
Send the real amount of blocks in a chunk section.
2021-05-20 19:19:08 +02:00
Anders
ef51a3765b
Use the block value to find the current block 2021-05-19 13:42:57 +02:00
TheMode
d7b37c7c70
Update javadoc-publish-clear 2021-05-19 12:28:42 +02:00
TheMode
521583cc75
Merge pull request #297 from JesFot/patch-1
Update github workflow to decide which files to clear
2021-05-19 11:29:48 +02:00
TheMode
d4e1101ee0
Merge pull request #300 from JesFot/upgrade_gradle
Upgrade gradle version to 7.0.2
2021-05-19 11:28:14 +02:00
JësFot
7ed83e7b75 Upgrade checkstyle version to match gradle 2021-05-18 21:40:49 +02:00
JësFot
b49fb9cacf Upgrade gradle version to 7.0.2 2021-05-18 21:34:25 +02:00
JesFot
25a8f5a0cb Add old javadoc removal selector 2021-05-18 20:14:18 +02:00
JesFot
8a2845b91d Update github workflow to decide which files to clear 2021-05-18 20:14:17 +02:00
Cp1987
ca25cc0470 Merge branch 'Minestom:master' into chunk-block-count 2021-05-18 17:31:11 +02:00
TheMode
cc97062dfa Remove soft values 2021-05-18 16:18:51 +02:00
Cp1987
c9d0dc62f6
Make isCurrentAir final. 2021-05-18 15:12:48 +02:00
Anders
67494255b5
Count non air blocks in a section. 2021-05-18 15:09:03 +02:00
TheMode
5ddda986a7
Merge pull request #293 from Minestom/tag-api
Tag API
2021-05-17 21:13:51 +02:00
TheMode
1f30e2af77 TagHandler in beta until a proper name is decided 2021-05-17 21:11:52 +02:00
TheMode
0c71030221 Do not crash the server when receiving an invalid packet 2021-05-17 20:58:36 +02:00
TheMode
d5521ac5ea
Merge pull request #294 from BurgerbudeORG/fix/command-pattern-syntax
Fix a tab completion bug/crash
2021-05-17 20:43:15 +02:00
R0bbyYT
17ce859bdd Use Pattern#quote instead of \\ 2021-05-17 20:40:29 +02:00
R0bbyYT
107e1e3e19 Avoid server crash if the character is a metacharacter 2021-05-17 19:15:34 +02:00
TheMode
7e5940d1a5 Rename TagReadable & TagWritable 2021-05-17 18:26:38 +02:00
TheMode
418fc8b4be Deprecate old tag getters in ItemMeta 2021-05-17 17:50:05 +02:00
TheMode
354b4e3bc3 Replace ItemTag 2021-05-17 17:46:56 +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
Kieran Wallbanks
931806d40a Send rejection message on incorrect command execution 2021-05-17 14:48:44 +01:00
Kieran Wallbanks
cdedcd89d6 Simplify Messenger implementation 2021-05-17 14:46:25 +01:00
TheMode
9255adb7ec No need to expose tag default value 2021-05-17 15:17:53 +02:00
TheMode
429a14e220 Add tag comments 2021-05-17 15:14:16 +02:00
TheMode
1ec631fa5b Create TagReader/Writer from compound 2021-05-17 14:05:03 +02:00
TheMode
d3b4b2ac56 Added TagSerializer 2021-05-17 14:02:14 +02:00