Commit Graph

2980 Commits

Author SHA1 Message Date
stefvanschie
ddbd621535
Change dragging events
Now fires a start dragging, then a dragging for each slot and then an end dragging.
2021-06-08 19:55:11 +02:00
stefvanschie
cd319b047c Merge branch 'Minestom:master' into master 2021-06-08 19:52:50 +02:00
TheMode
73abe7a4d7
Merge pull request #313 from Minestom/fix-potion-ids
Fix potion effect IDs.
2021-06-07 19:37:06 +02:00
Articdive
b0a991773a
Make sure we stay in the potion ID range. 2021-06-07 17:36:29 +02:00
Articdive
a24c08ead9
Fix potion effect IDs. 2021-06-07 17:23:31 +02:00
TheMode
1aa9343dfc
Merge pull request #311 from Minestom/fix-data
Remove git submodule and gradle copy task.
2021-06-06 15:08:16 +02:00
Articdive
b52752653b
Fix jitpack build (hopefully) 2021-06-06 14:54:01 +02:00
Articdive
9165e19c30
Remove git submodule and gradle copy task. 2021-06-06 14:22:32 +02:00
TheMode
3e73ec5646 Properly unescape displayname & lore 2021-06-06 14:21:25 +02:00
TheMode
aee429add3
Merge pull request #309 from Minestom/new-data-preperation-1.17
Use minestom-data to generate our enums.
2021-06-06 10:44:59 +02:00
Articdive
d000684963
Merge remote-tracking branch 'upstream/new-data-preperation-1.17' into new-data-1.17 2021-06-06 08:26:45 +02:00
Articdive
d66240d7f3
Add a small failsafe for entity metadata. 2021-06-06 08:26:16 +02:00
TheMode
cec08fae1f Replace target string only once 2021-06-06 06:35:19 +02:00
TheMode
641ca02120 Formatting 2021-06-06 04:48:43 +02:00
TheMode
5085f8fa58 Fix build 2021-06-06 04:26:45 +02:00
TheMode
5d8ed5041f Use AtomicReferenceFieldUpdater to update the tick context 2021-06-04 22:30:35 +02:00
Articdive
3cefbc2627
Copy data from submodule into resources. 2021-06-04 15:19:01 +02:00
Articdive
4dda011c1f
Replace prismarine-data submodule with minestom-data submodule 2021-06-04 15:13:29 +02:00
Articdive
8445898663
Remove jang lang import. 2021-06-04 08:51:40 +02:00
Articdive
c2fd4ace93
Attempt to reduce diff in states. 2021-06-04 08:49:01 +02:00
Articdive
be649146ed
Remove states that only had 1 state. 2021-06-04 08:36:22 +02:00
TheMode
03ff75f685
Merge pull request #304 from Bloepiloepi/food-fix
Food animation fix
2021-06-03 19:17:49 +02:00
Articdive
993fc231b2
Use correct folder in .gitignore 2021-06-03 12:17:58 +02:00
Articdive
105f2fdc7e
Use minestom-data to generate our enums. 2021-06-03 12:11:42 +02:00
TheMode
da7bed78ae
Merge pull request #308 from Project-Cepi/update-option-scheduling
Convenience toMilliseconds, add UpdateOption methods to TaskBuilder
2021-06-02 11:31:05 +02:00
LeoDog896
f68054d564 Convenience toMilliseconds, add UpdateOption methods 2021-06-01 11:29:40 -04: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
Stef van Schie
cb4ce09d85 Remove deprecated click types 2021-05-28 20:24: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
stefvanschie
2122685d5f
Split dragging into separate left and right drags 2021-05-23 21:42:16 +02:00
Arne Dalhuisen
1da372eb3b Deprecation notice for callItemUpdateStateEvent(allowFood, hand) 2021-05-23 20:36:51 +02:00
Arne Dalhuisen
e3c41a254d Added callItemUpdateStateEvent(allowFood, hand) overload, getEatingHand is now @Nullable 2021-05-23 20:19:46 +02:00
Arne Dalhuisen
ca96ed3420 Also cancel food animation when PlayerPreEatEvent is cancelled 2021-05-23 16:56:48 +02:00
Arne Dalhuisen
8b79945992 Fixed eating particles when eating was cancelled by client 2021-05-23 16:46:29 +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