Commit Graph

3658 Commits

Author SHA1 Message Date
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
TheMode
1915722d02 Fix generator, use namespace instead of mojang field name 2021-07-14 03:06:49 +02:00
TheMode
2dceab7743 Improve #getBlock performance
Signed-off-by: TheMode <themode@outlook.fr>
2021-07-13 21:27:58 +02:00
TheMode
404852b0b1 Make ArgumentSyntaxException a RuntimeException 2021-07-13 19:21:29 +02:00
TheMode
eea0c7e1eb Add block face to PlayerBlockPlaceEvent 2021-07-13 18:27:45 +02:00
TheMode
520c85fcdb Fix passenger position refresh 2021-07-13 18:21:32 +02:00
TheMode
86376d431e Remove unused method 2021-07-13 18:12:46 +02:00
TheMode
2ad0263101 Inline ChunkUtils#retrieve to avoid computing chunk coordinate twice 2021-07-13 18:10:34 +02:00
TheMode
a7b0b2685b Only synchronize position if entity has been affected by its velocity 2021-07-13 17:51:29 +02:00
TheMode
86472003f8 Reuse fields 2021-07-13 15:16:18 +02:00
TheMode
fe28ba6f04 Fast exit in CollisionUtils 2021-07-13 02:32:44 +02:00
TheMode
66bac1b532 Small math improvement 2021-07-13 02:26:30 +02:00
TheMode
c643ecaeb1 Add Argument#parse 2021-07-13 01:07:02 +02:00
TheMode
838472b6c5 Added toString for Vec 2021-07-12 23:26:09 +02:00
TheMode
690b5bff57 Nitpicking 2021-07-12 21:30:32 +02:00
TheMode
722b04cbce Inline chunk getter 2021-07-11 22:01:21 +02:00
TheMode
b3f78b4706 Fix chunk refresh being broken in unloaded chunk 2021-07-11 21:57:04 +02:00
TheMode
3031895ea8 Fix return types 2021-07-11 21:30:36 +02:00
TheMode
8597d93e22 Optimize block collision check 2021-07-11 20:44:37 +02:00
TheMode
9e8d0c9ce0 Micro collision optimization + style 2021-07-11 20:20:01 +02:00
TheMode
96c7fc9147 Add Vec#fromPoint 2021-07-11 19:56:15 +02:00