Commit Graph

4526 Commits

Author SHA1 Message Date
Steank
f774cc3b0f
Fix entities falling through tall blocks (#1047) 2022-05-11 21:30:48 +02:00
Articdive
e4de03ab1a
Automatically generate dye colors. (#1051) 2022-05-10 20:03:23 +02:00
TheMode
e4c1c9fe8d Cleanup Messenger, fix uuid
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-10 10:17:06 +02:00
TheMode
7d930ee28d Replace PlayerConnection#sendPacket when possible
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-10 10:07:55 +02:00
TheMode
abeda20646 Misc inventory style
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-10 07:42:18 +02:00
Moulberry
ad0440711f
Some tweaks to AbstractInventory/PlayerInventory, as well as various Tests (#1049) 2022-05-10 07:33:05 +02:00
TheMode
dfd8c94f5f More style
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-10 06:42:53 +02:00
TheMode
27c4c99949 Misc style
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-10 04:10:57 +02:00
TheMode
37ba3c7893 Simplify tag list
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-09 20:56:06 +02:00
TheMode
64de8f87c0 Add EquipmentSlot.armors
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-07 17:19:51 +02:00
TheMode
cb01b08b04 Add experimental tag update methods
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-07 16:26:39 +02:00
TheMode
2720d9ada2 Use checkIndex
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-07 10:58:19 +02:00
Kiip
35ae8bc07a
Only predict projectile higher if there is gravity (#1016) 2022-05-06 20:55:31 +02:00
iam
cef824bc16
Fix expanded bounding box (#1020) 2022-05-05 13:42:07 +02:00
themode
c009ef0505 Avoid slow synchronized path during reference building 2022-05-04 18:24:15 +02:00
TheMode
fdd3e2c53c Seal snapshot interfaces
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-04 13:25:24 +02:00
TogAr2
23d7df7cbb
Entity pose fixes (#487) 2022-05-03 22:29:38 +02:00
TheMode
0dc7f52a50 Use an identity map to store Snapshotable
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-03 18:55:41 +02:00
TheMode
1384bc0c18 ItemStack.Builder should only be TagWritable
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-02 21:51:33 +02:00
TheMode
d8a1003368 Allow path on view tags
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-02 21:30:22 +02:00
TheMode
68fc705cd3 More doc to TagHandler
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-02 13:34:05 +02:00
Cody
ef53559349
Fix #1009: Make canPlaceOn and canDestroy use Material instead of Block (#1010) 2022-05-01 10:44:33 +02:00
TheMode
8a876a4a59 Entry must use NBTType
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-29 18:24:55 +02:00
Weiiswurst
afddb6f549
hasVelocity is now false if the entity just has gravity (#975) 2022-04-28 16:06:53 +02:00
CryptForge
4b0f10d448
Prevent invisible item when consumeBlock is false (#1001) 2022-04-28 14:50:39 +02:00
emortal
a78309a2b2
Fix block break packet using resultant block (#996) 2022-04-27 16:14:54 +02:00
TheMode
12543acf5e Simplify path recursive removal
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-27 04:46:30 +02:00
Weiiswurst
9ce5a79cc8
Ignore arrows and spectators (#986) 2022-04-26 13:01:47 +02:00
TheMode
42c6e75906 Fix handler invalidation
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-26 06:37:26 +02:00
TheMode
a74b6ce220 Temporary tag fix
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-25 07:26:26 +02:00
TheMode
49a69d353e More preparation for CAS tag write
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-25 05:45:22 +02:00
GreatWyrm
d17c95b826
Rename outdated LivingEntityMeta methods (#960) 2022-04-24 23:42:34 +02:00
TheMode
765d6057da Avoid entity field lookup
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-24 05:37:47 +02:00
TheMode
0f2be00291 Make Metadata.Entry sealed
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-24 05:09:39 +02:00
TheMode
4b7f8213aa Entity metadata cleanup
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-24 05:00:28 +02:00
Bloepiloepi
d87a8f72c7
Fix Entity#takeKnockback and gravity (#943) 2022-04-23 21:37:27 +02:00
DasLixou
e2dac1c46e
Made EatEvents ItemEvents (#965) 2022-04-23 19:26:22 +02:00
Weiiswurst
c32153d221
Fix #942 (#962) 2022-04-22 19:03:28 +02:00
TheMode
057109c94e Add experimental TagSerializer.COMPOUND
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-22 04:32:44 +02:00
TheMode
3f98bde82e No need to return a new meta
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-21 18:43:42 +02:00
TheMode
3c0abb0409 Make ItemStack.Builder extends Taggable
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-20 23:14:37 +02:00
TheMode
917302cbbb Avoid potential stacktrace generation
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-20 17:19:45 +02:00
TheMode
a4adbb49fe Add a new Pos#sameView
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-19 21:09:02 +02:00
Zak Shearman
64f617c81c
Add Pos#withLookAt (#945) 2022-04-19 20:31:05 +02:00
Weiiswurst
21e6ed4918
Check for adventure mode when finishing to break a block (#948) (#949) 2022-04-19 16:52:56 +02:00
Bloepiloepi
f0fa81b712
Use smaller position offset when placing blocks (#940) 2022-04-18 01:15:38 +02:00
iam
bb236b34b6
Stop update from being sent to the player when the player places a block on themselves (#939) 2022-04-17 22:02:24 +02:00
Bloepiloepi
e57e3ff305
Fix enchantment reading (#938) 2022-04-17 21:51:16 +02:00
Bloepiloepi
ff7098a083
Item metadata fixes (#935) 2022-04-17 20:52:29 +02:00
iam
0d93faf0db
Fix worldborder size on resize + test (#937) 2022-04-17 19:54:41 +02:00