TheMode
efc135f48a
Handle empty list case, let the try-catch handle NPE
2021-07-20 23:48:13 +02:00
TheMode
bad206d504
Improve anvil block loading performance
2021-07-20 23:40:23 +02:00
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
cb21b0baf5
Merge branch 'master' into new-block-api
2021-07-20 22:18:43 +02:00
TheMode
40ae462d89
Fix NPE
2021-07-20 22:18:24 +02:00
TheMode
6079f87b38
Merge branch 'master' into new-block-api
2021-07-20 22:16:00 +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
TheMode
a074117ea5
Simplify optionalLoadAll
2021-07-20 19:10:53 +02: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
TheMode
1dc80d6b87
Simplify movement processing
2021-07-20 07:05:08 +02:00
TheMode
bca3324b56
Limit chunk map lookup while moving
2021-07-20 06:17:13 +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
12e430db69
Inline position packets
2021-07-20 03:06:27 +02:00
TheMode
1ff4b7cb74
Do not call the move event when moving at the same position
2021-07-20 02:33:02 +02:00
TheMode
4d2b925edd
Improve block#withProperty/ies performance
2021-07-19 23:59:40 +02:00
TheMode
14e42f7907
Micro optimize block placement
2021-07-19 23:41:28 +02:00
TheMode
111d5b9b66
Reduce ItemMeta allocation
2021-07-19 04:34:42 +02:00
TheMode
a61ff53189
Remove deprecated ItemTag
2021-07-19 04:27:44 +02:00
TheMode
d4398bda5b
Merge branch 'master' into new-block-api
2021-07-18 17:20:22 +02:00
TheMode
4e93e52333
New command fix attempt
2021-07-18 17:19:48 +02:00
TheMode
cc1719c3c1
Remove unused method
2021-07-18 16:36:09 +02:00
TheMode
22ac1c4998
Merge branch 'master' into new-block-api
...
# Conflicts:
# src/main/java/net/minestom/server/utils/ArrayUtils.java
2021-07-18 16:20:08 +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
ac3cbce278
Fix BlockHandler#onInteract return, simplify block placement code
2021-07-17 21:28:00 +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
518aab3a44
Add Block#values
2021-07-16 19:39:56 +02:00
TheMode
b07e912063
Fix build
2021-07-15 22:14:57 +02:00
TheMode
55fa083adf
Remove longly deprecated player initialization callback
2021-07-15 22:12:11 +02:00
TheMode
ba6e83b6d1
Fix build
2021-07-15 22:01:46 +02:00
TheMode
1c7cd269ab
Remove DataContainer from more classes
2021-07-15 21:58:29 +02:00
TheMode
91a01a23b6
Use for-each instead of lambda
2021-07-15 20:09:13 +02:00
TheMode
ebd17fdf81
Inline EffectPacket
2021-07-15 18:31:10 +02:00
TheMode
d3d809f714
Inline EffectPacket
2021-07-15 18:26:02 +02:00
TheMode
0a84b1c542
Fix test
2021-07-15 05:27:56 +02:00
TheMode
28b034103e
Remove deprecated interfaces impl
2021-07-15 05:23:33 +02:00
TheMode
2e4975eb9a
Fix ClientEditBookPacket
2021-07-14 16:51:22 +02:00
TheMode
a565ee77aa
Fix build
2021-07-14 16:30:48 +02:00
TheMode
ea231bf52e
Add 1.17.1 support
2021-07-14 16:26:32 +02:00
TheMode
a828a02499
Update dependencies
2021-07-14 03:13:03 +02:00
TheMode
e76d7486b3
Fix build
2021-07-14 03:12:20 +02:00