Commit Graph

68 Commits

Author SHA1 Message Date
mworzala
90d18c2a95
feat: partial anvil writing, update tests (still many broken) 2024-04-25 08:45:36 -04:00
mworzala
58367bb6de
fix: oops, health is before potion still 2024-04-25 08:45:33 -04:00
mworzala
721f70a28e
feat: joinable server 2024-04-25 08:45:31 -04:00
mworzala
5188c15245
feat: initial conversion to adventure nbt. no tests, no anvil 2024-04-25 08:45:11 -04:00
DeidaraMC
e28adbca3e
fix: arrow meta shooter id set correctly (#2105) 2024-04-23 22:47:35 -04:00
GreatWyrm
f95d73eca8
Name magic values, respect client view distance setting (#2051)
* Name some magic values, replace getChunkViewDistance with ServerFlag.CHUNK_VIEW_DISTANCE, and respect client view distance settings (by using effective view distance when sending chunks)

* Attempt to fix test

* Preload chunks in test

* Fix OOM error for tests

* Rename constants and skin parts method

* Rename method
2024-03-27 22:08:36 -04:00
mworzala
dcbdad9a1b
fix: painting variant read entry, forgot to follow my own comment 2024-03-12 20:05:41 -04:00
mworzala
58fd95879a
fix: correct painting metadata 2024-03-12 15:22:15 -04:00
iam
5162a00b1e
Add particle data types (#2004)
* Add particle data types

* misc

* misc

* remove spaces

* defaults, tests, change what mattw said to

* RGBLike

* RGBLike

* RGBLike

* add back changes

* tests

* refactor

* annotations

* more fixes

* another test

* more tests + fix

* logging + checks consistency

* review changes

* review changes
2024-02-28 21:54:24 +00:00
Matt Worzala
58b550c5ff Fix testing (v2) (#99)
* Fix Minecraft changes since 1.19 (Block.GRASS, recipe packet, DamageType.VOID)

* Add packets in play state

* Fix some tests via TestConnectionImpl and API changes

* fix: add some missing entity metas, group projectiles

---------

Co-authored-by: GoldenStack <goldenfire64yt@gmail.com>
(cherry picked from commit 89a665fdf5)
2024-02-09 14:27:43 -05:00
mworzala
1b286979c5 chore: minor cleanup
(cherry picked from commit ac4c54731c)
2024-02-09 14:27:43 -05:00
MelonHell
787c56126e Fix shulker meta (#80)
(cherry picked from commit d798a8128e)
2024-02-09 14:27:43 -05:00
mworzala
1ffb46c3b2 fix: correct display pos/rot interpolation metadata index, minor cleanup
(cherry picked from commit ccdc5535e3)
2024-02-09 14:27:43 -05:00
mworzala
e2d6439037 fix: add new display entity metadata for position/rotation interpolation
(cherry picked from commit 0665f17c33)
2024-02-09 14:27:43 -05:00
David Mayr
9bb412c34f hollow-cube/entity-metadata-patches (#35)
* feat: add more boat types

* feat: goat horn api

* feat: pillager crossbow meta

* feat: use boat metadata for chestboat

* feat: add warden meta

* fix: incorrect dolphin meta

* feat: allow to set null values for tounge target

* feat: nullable tounge target

* fix: update max offset in goat

(cherry picked from commit 34558e75ee)
2024-02-09 14:27:43 -05:00
mworzala
3408df73f8 fix 1.19.4 text display text opacity type
(cherry picked from commit e142a55f51)
2024-02-09 14:27:43 -05:00
Matt Worzala
8f1f7e127d 1.19.4 (#11)
* first join

* add new entities

* fix type on interpolation duration

* switch long to var long

* switch long to var long, round 2

* add flags to TextDisplay

* 1.19.4

* setView in Entity#teleport

* do not trigger touchTick if entity physics are disabled

* Add new 1.19.4 packets

* constant expr

* no localhost on github actions

* yoinked changes from 1.19.3 main

* update to forked changes

* remove potion command

* remove potion command

---------

Co-authored-by: GreatWyrm <alecmusante@gmail.com>

(cherry picked from commit 7f3144337d)
2024-02-09 14:27:43 -05:00
Zak Shearman
e160cbdecd
Fixes cat color (variant) metadata, adds frog meta (#1833)
* Add frog & cat meta types

* Rename Color -> Variant in CatMeta, use DyeColor
2023-05-13 22:39:33 +10:00
Zak Shearman
85febebd09
Fix nullability for Player shoulder entity data (#1834) 2023-05-01 16:06:48 +03:00
Jesse
809d9516b2
Fix incorrect arrow no clip mask bit (#1574) 2022-12-14 10:51:51 +01:00
GreatWyrm
d17c95b826
Rename outdated LivingEntityMeta methods (#960) 2022-04-24 23:42:34 +02:00
Bloepiloepi
81b4c3158d
Guardian target fix (#791) 2022-03-20 22:07:30 +01:00
Moulberry
84871ea93e
Fix typo in EntityMeta 2022-03-18 23:10:10 +08:00
iam
6891a530f5
Block Collision Physics (#730) 2022-03-09 19:08:42 +01:00
EpicPlayerA10
2e73f00331
Fix axolotl meta (#738) 2022-03-06 15:16:55 +01:00
Moulberry
54af9a7c96
Make Entity nullable in Metadata (#596) 2022-01-23 09:34:30 +01:00
Christian
0cdc017c68 Fix wrong metadata method calls 2021-12-22 23:00:50 +01:00
TheMode
5030664ff9 Use more enhanced switches
Signed-off-by: TheMode <themode@outlook.fr>
2021-10-22 02:14:12 +02:00
TheMode
16e4b61eb7 Fix unused imports 2021-07-29 00:02:43 +02:00
TheMode
5285665939 Remove longly deprecated chat package 2021-07-27 06:55:08 +02:00
TheMode
87e4d84e4a Fix falling block meta 2021-07-26 10:34:18 +02:00
TheMode
29b4fefb1a Remove Vector usage 2021-07-08 18:59:40 +02:00
TheMode
45d7420397 Remove most Position/BlockPosition usage 2021-07-08 18:56:40 +02:00
TheMode
106125319a Remove get prefixes for protocol objects to be more record-friendly 2021-06-19 21:01:54 +02:00
TheMode
457ef9df17 Merge branch 'master' into new-block-api
# Conflicts:
#	src/autogenerated/java/net/minestom/server/instance/block/Block.java
#	src/main/java/net/minestom/server/MinecraftServer.java
#	src/main/java/net/minestom/server/entity/Player.java
#	src/main/java/net/minestom/server/entity/pathfinding/PFBlockDescription.java
#	src/main/java/net/minestom/server/entity/pathfinding/PFBlockObject.java
#	src/main/java/net/minestom/server/instance/Chunk.java
#	src/main/java/net/minestom/server/instance/palette/PaletteStorage.java
#	src/main/java/net/minestom/server/network/packet/server/play/ChunkDataPacket.java
#	src/main/java/net/minestom/server/network/packet/server/play/TagsPacket.java
2021-06-11 16:31:01 +02:00
Articdive
29bac6fe24
Use enum for AxolotlMeta 2021-06-10 09:18:17 +02:00
Matt Worzala
d5987f91b5
update code generators, add axolotl (needs some more detail) 2021-06-07 01:24:39 -04:00
Matt Worzala
8ed49906fa
change generated EntityType to use metas 2021-06-07 00:55:41 -04:00
Matt Worzala
6cd0cf6bcc
add 1.17 entity meta 2021-06-07 00:53:48 -04:00
TheMode
5f1db3084d Add review work - update generated code 2021-06-07 05:27:42 +02:00
Matt Worzala
1850efb3fc
update existing metadata to 1.17, using new system 2021-06-06 22:45:22 -04:00
TheMode
98ccde56fb Add tickFrozen entity metadata 2021-05-31 18:05:01 +02:00
TheMode
41f769b8b2 Rename #getBlockId to #getId 2021-05-28 14:35:55 +02:00
TheMode
3bd389fb57
Merge pull request #149 from Minestom/authlib-removal
Stop using authlib
2021-05-15 07:53:35 +02:00
TheMode
e19af0377c Merge branch 'master' into item-api
# Conflicts:
#	src/main/java/net/minestom/server/item/ItemDisplay.java
#	src/main/java/net/minestom/server/utils/binary/BinaryReader.java
2021-04-09 23:19:38 +02:00
TheMode
4c495f401d Code cleanup 2021-04-07 18:35:19 +02:00
Felix Cravic
e3867c659b Merge branch 'master' into item-api
# Conflicts:
#	src/main/java/net/minestom/server/item/ItemStack.java
2021-04-06 05:10:58 +02:00
themode
008b7fb223 Fix FishingHookMeta NPE 2021-04-05 20:55:51 +02:00
KrystilizeNevaDies
7a6fb4d601 Format FishingHookMeta + make owner not null 2021-04-06 04:43:19 +10:00
KrystilizeNevaDies
b1cfa3d9b2 make FishingHookMeta implement ObjectDataProvider 2021-04-06 04:39:47 +10:00