Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Compatibility Issue] Custom mobs from MythicMobs and ModelEngine #14

Open
TheFaik opened this issue Jul 12, 2024 · 4 comments
Open

[Compatibility Issue] Custom mobs from MythicMobs and ModelEngine #14

TheFaik opened this issue Jul 12, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@TheFaik
Copy link

TheFaik commented Jul 12, 2024

This happens when PacketEvents and AntiHealthIndicator are set. The player simply gets into the boat and gets kicked, and I also noticed that the player gets kicked because of mobs from MythicMobs and ModelEngine.
At the same time, there are no errors in the server logs, but there are errors on the client side. Here:
`---- Minecraft Network Protocol Error Report ----
// Are you sure you are not moving wrongly?

Time: 2024-07-13 00:20:31
Description: Packet handling error

java.lang.IllegalStateException: Invalid entity data item type for field 9 on entity class_1690['Дубовая лодка'/206, l='ClientLevel', x=-99.76, y=73.00, z=-2.49]: old=1(class java.lang.Integer), new=0.5(class java.lang.Float)
at net.minecraft.class_2945.method_12785(class_2945.java:126)
at net.minecraft.class_2945.method_12779(class_2945.java:117)
at net.minecraft.class_634.method_11093(class_634.java:553)
at net.minecraft.class_2739.method_11808(class_2739.java:54)
at net.minecraft.class_2739.method_11054(class_2739.java:12)
at net.minecraft.class_2600.method_11072(class_2600.java:27)
at net.minecraft.class_1255.method_18859(class_1255.java:162)
at net.minecraft.class_4093.method_18859(class_4093.java:23)
at net.minecraft.class_1255.method_16075(class_1255.java:136)
at net.minecraft.class_1255.method_5383(class_1255.java:121)
at net.minecraft.class_310.method_1523(class_310.java:1240)
at net.minecraft.class_310.method_1514(class_310.java:882)
at net.minecraft.client.main.Main.main(Main.java:256)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Render thread
Stacktrace:
at net.minecraft.class_2945.method_12785(class_2945.java:126)
at net.minecraft.class_2945.method_12779(class_2945.java:117)
Mixins in Stacktrace: None found

-- Incoming Packet --
Details:
Type: clientbound/minecraft:set_entity_data
Is Terminal: false
Is Skippable: false
Stacktrace:
at net.minecraft.class_2600.method_59803(class_2600.java:56)
at net.minecraft.class_8673.method_60882(class_8673.java:136)
at net.minecraft.class_8673.method_59807(class_8673.java:113)
at net.minecraft.class_2600.method_11072(class_2600.java:32)
at net.minecraft.class_1255.method_18859(class_1255.java:162)
at net.minecraft.class_4093.method_18859(class_4093.java:23)
at net.minecraft.class_1255.method_16075(class_1255.java:136)
at net.minecraft.class_1255.method_5383(class_1255.java:121)
at net.minecraft.class_310.method_1523(class_310.java:1240)
at net.minecraft.class_310.method_1514(class_310.java:882)
at net.minecraft.client.main.Main.main(Main.java:256)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)`

@TheFaik
Copy link
Author

TheFaik commented Jul 12, 2024

Server version: Leaf 1.21
Picture from the client's side:
изображение

@Bram1903 Bram1903 self-assigned this Jul 12, 2024
@Bram1903 Bram1903 added the bug Something isn't working label Jul 12, 2024
@Bram1903
Copy link
Owner

Hey there,

Thanks for your bug report. I will look into this over the weekend!

Kind regards,
Bram

@Bram1903
Copy link
Owner

Hey @TheFaik,

This has been fixed in the latest release: https://github.com/Bram1903/AntiHealthIndicator/releases/tag/v2.2.4

PS. I am not sure how to add compatibility with MythicMobs and ModelEngine, but I will look into that later, however, I am currently flooded with work and will go on vacation for 3 weeks in a few days.

Kind regards,
Bram

@Bram1903 Bram1903 changed the title A bug where when a player gets into a boat, he gets kicked from the server. [Compatibility Issue] Custom mobs from MythicMobs and ModelEngine Jul 13, 2024
@TheFaik
Copy link
Author

TheFaik commented Jul 13, 2024

Привет @TheFaik,

Это исправлено в последней версии: https://github.com/Bram1903/AntiHealthIndicator/releases/tag/v2.2.4.

ПС. Я не уверен, как добавить совместимость с MythicMobs и ModelEngine, но я рассмотрю это позже, однако в настоящее время я завален работой и через несколько дней уйду в отпуск на 3 недели.

С уважением, Брэм

Thank you. I'll check a little later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants