Commit Graph

3338 Commits

Author SHA1 Message Date
TheMode
8f6f63b2c8
Merge pull request #373 from MrGazdag/patch-3
Modify /gamemode to behave more like vanilla
2021-07-20 22:29:52 +02:00
TheMode
40ae462d89 Fix NPE 2021-07-20 22:18:24 +02:00
TheMode
7944977cd5
Merge pull request #374 from Project-Cepi/vanillaStackingRuleEquals
Add #equals method to VanillaStackingRule
2021-07-20 20:09:15 +02:00
LeoDog896
8a7d13c8ad Make the constant static? 2021-07-20 14:07:16 -04:00
LeoDog896
8e849ad947 Add constant in ItemStack for VanillaStackingRule 2021-07-20 14:03:55 -04:00
LeoDog896
7d55d6db87 Add #equals method 2021-07-20 13:58:40 -04:00
MrGazdag
4348ce50cf
further polish 2021-07-20 17:01:30 +02:00
MrGazdag
471838a77f
capitalize a single N
i missed that lmao
2021-07-20 13:52:04 +02:00
MrGazdag
037dfc2003
Format and comment code
makes the code look nicer
2021-07-20 13:46:57 +02:00
MrGazdag
ed97de417e
remove pattern matching 2021-07-20 04:15:43 +02:00
MrGazdag
ecdd0181e0
Modify /gamemode to function more like vanilla
Modifies the /gamemode command in the demo, to function like the vanilla /gamemode command, with the syntax `/gamemode <gamemode> [target]`. It also utilizes translation components for players, and allows the console to run the command as well as players.
2021-07-20 03:56:48 +02:00
TheMode
4e93e52333 New command fix attempt 2021-07-18 17:19:48 +02:00
TheMode
a07177fbf0 Prevent IOB 2021-07-18 02:13:20 +02:00
TheMode
97104df793 Potentially fix command node creation 2021-07-18 01:09:59 +02:00
TheMode
93fa65f90b Temporary command node fix 2021-07-17 23:21:31 +02:00
TheMode
2ee1470470 Cleanup ArrayUtils 2021-07-17 21:38:32 +02:00
TheMode
f4d280a240
Merge pull request #372 from MrGazdag/patch-1
Fix ArrayUtils#sameStart
2021-07-17 21:21:43 +02:00
MrGazdag
0724b8639b
Fix ArrayUtils#sameStart
Fixes #370, which was a weird occurrence of this bug lmao
2021-07-17 21:20:10 +02:00
TheMode
b9864a1a28
Merge pull request #360 from djytw/master
Fix extension resource load in Windows
2021-07-09 15:44:08 +02:00
TheMode
b546a873e3 Remove unnecessary cast 2021-07-09 11:23:18 +02:00
TheMode
37ab206cb1 ThreadProvider cleanup 2021-07-09 11:20:49 +02:00
djytw
8f771bb867 more 2021-07-08 20:25:10 +02:00
djytw
694d05e78a Fix resource load in Windows 2021-07-08 18:42:38 +02:00
TheMode
dc89b180fb Support dynamic tick rate & prevent call from being delayed 2021-07-08 15:40:27 +02:00
TheMode
f33a09fc24
Merge pull request #353 from Project-Cepi/fix-broken-tests
Fix broken tests and fix github workflow
2021-07-06 16:17:52 +02:00
LeoDog896
88ebddbb10 Use java 16 for data generator 2021-07-06 10:07:58 -04:00
LeoDog896
abace56778 Correct packet reading/writing 2021-07-06 09:54:26 -04:00
TheMode
30f3fdd99a
Merge pull request #348 from MrGazdag/patch-1
Fix Vector rotation
2021-07-04 17:20:36 +02:00
MrGazdag
6cba2cb7c7
Fix Vector rotation
The Vector class' rotateAround methods were modifying the used variables during the rotation, which should not be the case. Bukkit's similar Vector class manages to do this correctly.
2021-07-04 17:18:17 +02:00
TheMode
fe1bfaee93
Merge pull request #346 from Kebab11noel/fix/issue-258
Deprecate `UpdateOption`
2021-07-04 13:37:15 +02:00
TheMode
677ec61f74
Merge pull request #338 from Moulberry/master
Changes to Hologram API
2021-07-04 08:12:07 +02:00
BuildTools
323fcbe114 Remove MarkerHologram class, add parameter to Hologram constructor 2021-07-04 14:04:55 +08:00
BuildTools
6a2846a9c6 Check whether entityMeta is an instanceof ArmorStandMeta, instead of checking entity type 2021-07-04 13:58:57 +08:00
jglrxavpok
18771386c0 Slightly less restrictive package protection in MinestomRootClassLoader.
Should fix issue with Configurate not loading.
2021-07-03 18:52:21 +02:00
Németh Noel
cd65085df2 Use Duration 2021-07-03 15:29:28 +02:00
Németh Noel
b012ffbff3 Use Duration 2021-07-03 15:27:23 +02:00
Németh Noel
67860d5afb Use Duration 2021-07-03 15:25:41 +02:00
Németh Noel
6a27a9d932 Update javadoc 2021-07-03 15:05:14 +02:00
Németh Noel
1e390d5efb Add alternative to GLFWCapableBuffer#setupRenderLoop that takes Duration instead of amount and unit 2021-07-03 15:02:43 +02:00
Németh Noel
34d2d5892e Remove unnecessary util method 2021-07-03 14:57:45 +02:00
Németh Noel
39dd5bfbf9 Removed duplicated code 2021-07-03 14:56:22 +02:00
Németh Noel
663e53c875 Add alternative to LivingEntity#setFireDamagePeriod that takes Duration 2021-07-03 14:52:51 +02:00
Németh Noel
efb450ce50 Simplify conversion logic and only use java.time 2021-07-03 14:45:31 +02:00
Németh Noel
3f1c433c94 Removed unnecessary deprecations 2021-07-03 14:41:57 +02:00
TheMode
75ee08821f
Merge pull request #347 from GreenpixDev/master
Fix automatic component translation
2021-07-03 02:43:43 +02:00
Németh Noel
3e0486cfd3 Added #setFireForDuration(Duration) 2021-07-02 19:58:59 +02:00
Németh Noel
cda5860440 Use a more logical way to convert to milliseconds 2021-07-02 19:47:15 +02:00
Németh Noel
075dab79c9 Use ChronoUnit instead of TimeUnit 2021-07-02 19:35:19 +02:00
Németh Noel
a5f2705118 Fix hasUpdate check 2021-07-01 15:16:10 +02:00
Németh Noel
157eb6357a Deprecated net.minestom.server.entity.ItemEntity.setPickupDelay(long, java.time.temporal.TemporalUnit) 2021-07-01 15:08:31 +02:00