Commit Graph

33 Commits

Author SHA1 Message Date
mworzala
721f70a28e
feat: joinable server 2024-04-25 08:45:31 -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
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
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
iam
6891a530f5
Block Collision Physics (#730) 2022-03-09 19:08:42 +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
16e4b61eb7 Fix unused imports 2021-07-29 00:02:43 +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
Matt Worzala
d5987f91b5
update code generators, add axolotl (needs some more detail) 2021-06-07 01:24:39 -04:00
Matt Worzala
6cd0cf6bcc
add 1.17 entity meta 2021-06-07 00:53:48 -04:00
Matt Worzala
1850efb3fc
update existing metadata to 1.17, using new system 2021-06-06 22:45:22 -04:00
TheMode
41f769b8b2 Rename #getBlockId to #getId 2021-05-28 14:35:55 +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
themode
a128d30b6b WIP Item rework implementation 2021-04-02 18:13:02 +02:00
Konstantin Shandurenko
de15c4b6c5 Rewriting projectiles 2021-03-01 12:59:16 +03:00
Konstantin Shandurenko
7db7dab4b9 EntitySpawnType initial commit 2021-02-25 08:59:55 +03:00
Konstantin Shandurenko
60fcd43f18 Removed ParticleWrapper 2021-02-23 19:30:26 +03:00
Konstantin Shandurenko
c9f7ee5546 Renamed ParticleType back to Particle 2021-02-23 19:29:21 +03:00
Konstantin Shandurenko
6e950ab170 BaseEntityMeta is now an EntityMeta 2021-02-23 19:18:53 +03:00
Konstantin Shandurenko
bbe143520e A bit more changes to EntityMeta 2021-02-23 18:37:00 +03:00
Konstantin Shandurenko
eb274ce95e Added default meta constructor to EntityTypes 2021-02-23 18:07:57 +03:00
Konstantin Shandurenko
0915858df3 Meta wrappers for all the entities 2021-02-23 15:11:10 +03:00