Git Product home page Git Product logo

healthcare's People

Contributors

estecka avatar samolego avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

healthcare's Issues

Players getting disconnected when grouped

So I recently added this mod to my server and its great! But I started to notice my players were crashing whenever grouped together, when there were 3 or more players together they were constantly crashing with this report, The disconnecting stopped after I removed the mod but I'd like to know if there is a fix to this because my server members really prefer this over a different version which only shows the health in the boss bar.

Netty Epoll Server IO #47/ERROR java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]: io.netty.handler.codec.EncoderException: java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:801)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:814)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:794)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:831)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1071)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:300)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at net.minecraft.class_2535.method_10761(class_2535.java:201)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:313)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at java.lang.Thread.run(Thread.java:748)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]: Caused by: java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at java.util.ArrayList.rangeCheck(ArrayList.java:659)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at java.util.ArrayList.get(ArrayList.java:435)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at net.minecraft.class_2945.method_12787(class_2945.java:139)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at net.minecraft.class_2739.method_11052(class_2739.java:37)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at xyz.nucleoid.packettweaker.PacketContext.writeWithContext(PacketContext.java:29)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at net.minecraft.class_2545.redirect$bdj001$writePacket(class_2545.java:533)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at net.minecraft.class_2545.method_10838(class_2545.java:46)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at net.minecraft.class_2545.encode(class_2545.java:15)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
14.06 20:59:05 [Server] Netty Epoll Server IO #47/INFO [STDERR]:     ... 13 more

No mention that Fabric API is required

As of commit af55377 (built from source), the mod requires Fabric API, though that requirement is not mentioned anywhere on the description or README sections in either the GitHub or Modrinth pages.

The following image should be added to highlight this requirement:
image

![image](https://i.imgur.com/Ol1Tcf8.png)

Idea: A "skyblock" `HealthBarStyle`

Basically, the HealthBarStyle.SKYBLOCK style would format the health portion of the mob as follows:

8/20❤

where the "8" (current HP) would be shown in yellow if the mob is at less than or equal to half health or green otherwise, followed by a white slash, followed by the mob's max health in green, followed by a red heart.

Because HP values in vanilla Minecraft rarely ever exceed 1,000 (and most mobs have 100 HP or less), the current HP can be shown to two decimal places, like this:

8.25/20❤

The above example in full form would be:

Zombie 8.25/20❤

A few more examples:

Horse 25/25❤

Iron Golem 85/100❤

Cod 3/3❤

Wither 298/300❤

Why not just use `String.format("%.2f", health)` to format health values?

Instead of using String.valueOf((float) Math.round(health * 100.0F) / 100.0F); to round and display the health values to the nearest hundredth, why not just use String.format("%.2f", health) instead? The latter gives a consistent level of precision (always the nearest hundredth instead of sometimes the nearest tenth or whole number), which provides a consistent full length for the health counter on the mob's name.

With String.valueOf((float) Math.round(health * 100.0F) / 100.0F);, you could get something like the following:

  • "12.34/20❤" would be displayed as "12.34/20❤" as expected.
  • "12.70/20❤" would be displayed as "12.7/20❤", which is rounding further than expected given the first example.
  • "14.00/20❤" would be displayed as "14/20❤". In isolation, this could work, but given the first two examples, there may be some unnecessary further visual precision loss going on here.

With String.format("%.2f", health), all 3 of the above examples would be displayed to 2 decimal places, i.e.

  • "12.34/20❤" remains as "12.34/20❤".
  • "12.70/20❤" remains as "12.70/20❤".
  • "14.00/20❤" remains as "14.00/20❤".

Suggestion - allow for custom icons or datapack to for icons to show.

I use a datapack of BDCraft. Inside it has different hearts. When using this mod the hearts are the original hearts. I would like the ability to either use the same hearts used for player life maybe easier or allowing for a datapack to allow for heart icon and empty icon. I could then just copy them from the datapack I am using. Ultimately supporting both would give ultimate flexibility. The default heart setting would copy what is used for player health or allow for it to be overridden for custom icons.

[Feature Request] RpgDifficulty compat (show mob level prefix in display name)

Hey! I really love the mod!
Is it possible to add a way to display mob levels from RpgDifficulty's system? Kinda like a prefix before the mob's name.
Mob levels are stored in the mob's data (/data get)
image

I don't know if this kind of compatibility is something you can ask for and even if "compatibility" is the right word to describe it.
Servers running server-side mods would really appreciate this feature though.
Thanks!

Crashes with NegativeArraySizeException

---- Minecraft Crash Report ----
// I let you down. Sorry :(

Time: 8/24/21, 11:39 PM
Description: Sending packet

java.lang.NegativeArraySizeException: -1
	at net.minecraft.class_1657.getHealthbarText(org/samo_lego/healthcare/mixin/PlayerEntityMixinCast_Preferences.java [healthcare.mixins.json]:93)
	at net.minecraft.class_3244.handler$ehc000$onPacketSend(org/samo_lego/healthcare/mixin/ServerPlayNetworkHandlerMixin_HealthTag.java [healthcare.mixins.json]:93)
	at net.minecraft.class_3244.method_14369(class_3244.java:1152)
	at net.minecraft.class_3244.method_14364(class_3244.java:1147)
	at net.minecraft.class_3898$class_3208.method_18730(class_3898.java:1175)
	at net.minecraft.class_3231.method_18758(class_3231.java:318)
	at net.minecraft.class_3231.method_14306(class_3231.java:293)
	at net.minecraft.class_3231.method_18756(class_3231.java:183)
	at net.minecraft.class_3898.method_18727(MixinThreadedAnvilChunkStorage.java:1036)
	at net.minecraft.class_3215.method_14161(MixinServerChunkManager.java:385)
	at net.minecraft.class_3215.method_12127(MixinServerChunkManager.java:324)
	at net.minecraft.class_3218.method_18765(MixinServerWorld.java:372)
	at net.minecraft.server.MinecraftServer.redirect$bkg000$ficUpdateSuppressionCrashTick(MixinMinecraftServer.java:4273)
	at net.minecraft.server.MinecraftServer.method_3813(MixinMinecraftServer.java:891)
	at net.minecraft.class_3176.method_3813(MixinMinecraftDedicatedServer.java:335)
	at net.minecraft.server.MinecraftServer.method_3748(MixinMinecraftServer.java:831)
	at net.minecraft.server.MinecraftServer.handler$dml000$modifiedRunLoop(MixinMinecraftServer.java:8390)
	at net.minecraft.server.MinecraftServer.method_29741(MixinMinecraftServer.java:676)
	at net.minecraft.server.MinecraftServer.method_29739(MixinMinecraftServer.java:270)
	at java.base/java.lang.Thread.run(Thread.java:831)


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

-- Head --
Thread: Server thread
Stacktrace:
	at net.minecraft.class_1657.getHealthbarText(org/samo_lego/healthcare/mixin/PlayerEntityMixinCast_Preferences.java [healthcare.mixins.json]:93)
	at net.minecraft.class_3244.handler$ehc000$onPacketSend(org/samo_lego/healthcare/mixin/ServerPlayNetworkHandlerMixin_HealthTag.java [healthcare.mixins.json]:93)
Mixins in Stacktrace:
	net.minecraft.class_1657:
		carpet.mixins.PlayerEntityMixin_portalDelayMixin (carpet.mixins.json)
		com.smushytaco.day_dream.mixin.PlayerEntityCanSleep (day_dream.mixins.json)
		com.unascribed.fabrication.mixin.f_balance.food_always_edible.MixinPlayerEntity (fabrication.mixins.json)
		com.unascribed.fabrication.mixin.d_minor_mechanics.fire_aspect_is_flint_and_steel.MixinPlayerEntity (fabrication.mixins.json)
		carpet.mixins.PlayerEntity_antiCheatDisabled (carpet.mixins.json)
		com.unascribed.fabrication.mixin.g_weird_tweaks.repelling_void.MixinPlayerEntity (fabrication.mixins.json)
		com.unascribed.fabrication.mixin.f_balance.infinity_crossbows.MixinPlayerEntity (fabrication.mixins.json)
		dev.architectury.mixin.fabric.LivingDeathInvoker (architectury.mixins.json)
		com.unascribed.fabrication.mixin.b_utility.canhit.MixinPlayerEntity (fabrication.mixins.json)
		net.profhugo.nodami.mixin.PlayerEntityMixin (nodami.mixins.json)
		com.bb1.sit.mixins.RidingMixin (modid.mixins.json)
		net.kyori.adventure.platform.fabric.impl.mixin.PlayerMixin (adventure-platform-fabric.mixins.json)
		com.unascribed.fabrication.mixin.b_utility.hide_armor.MixinPlayerEntity (fabrication.mixins.json)
		de.rubixdev.rug.mixins.PlayerEntityMixin (rug.mixins.json)
		org.samo_lego.healthcare.mixin.PlayerEntityMixinCast_Preferences (healthcare.mixins.json)
		com.unascribed.fabrication.mixin.z_combined.exp_drop.MixinPlayerEntity (fabrication.mixins.json)
		dev.architectury.mixin.fabric.MixinPlayer (architectury.mixins.json)
		mc.rpgstats.mixin.ApplyDamageMixin (rpgstats.mixins.json)
		com.unascribed.fabrication.mixin.e_mechanics.obsidian_tears.MixinPlayerEntity (fabrication.mixins.json)
		carpettisaddition.mixins.logger.damage.LivingEntityAndPlayerEntityMixins$ApplyDamageMixin (carpet-tis-addition.mixins.json)
		com.github.charlyb01.sihywtcamc.mixin.PlayerAxeMixin (sihywtcamc.mixins.json)
		fourmisain.taxfreelevels.mixin.PlayerEntityMixin (taxfreelevels.mixins.json)
		carpettisaddition.mixins.logger.damage.LivingEntityAndPlayerEntityMixins$DamageMixin (carpet-tis-addition.mixins.json)
		com.unascribed.fabrication.mixin.a_fixes.adventure_tags_in_survival.MixinPlayerEntity (fabrication.mixins.json)
		eu.pb4.styledchat.mixin.PlayerEntityMixin (styledchat.mixins.json)
		net.kyrptonaught.customportalapi.mixin.PlayerMixin (customportalapi.mixins.json)
		com.unascribed.fabrication.mixin.b_utility.despawning_items_blink.MixinPlayerEntity (fabrication.mixins.json)
		mc.rpgstats.mixin.ShieldMixin (rpgstats.mixins.json)
		carpet.mixins.PlayerEntity_parrotMixin (carpet.mixins.json)
		carpet.mixins.PlayerEntity_scarpetEventsMixin (carpet.mixins.json)
		com.unascribed.fabrication.mixin.b_utility.taggable_players.MixinPlayerEntity (fabrication.mixins.json)
		com.jamieswhiteshirt.reachentityattributes.mixin.PlayerEntityMixin (mixins.reach-entity-attributes.json)
		carpettisaddition.mixins.command.lifetime.spawning.PlayerEntityMixin (carpet-tis-addition.mixins.json)
		carpettisaddition.mixins.logger.damage.PlayerEntityMixin (carpet-tis-addition.mixins.json)
		net.ellivers.pettable.mixin.PlayerEntityMixin (pettable.mixins.json)
		com.github.charlyb01.sihywtcamc.mixin.sweep.PlayerSweepAttackMixin (sihywtcamc.mixins.json)
		com.unascribed.fabrication.mixin._general.sync.MixinPlayerEntity (fabrication.mixins.json)
		com.unascribed.fabrication.mixin.d_minor_mechanics.crawling.MixinPlayerEntity (fabrication.mixins.json)
		com.github.charlyb01.sihywtcamc.mixin.PlayerKnockbackMixin (sihywtcamc.mixins.json)
		carpet.mixins.PlayerEntity_creativeNoClipMixin (carpet.mixins.json)
		cursedflames.fasttoolswitching.mixin.MixinPlayerEntity (fasttoolswitching.mixins.json)
		com.github.charlyb01.sihywtcamc.mixin.drink.PlayerEatDrinkMixin (sihywtcamc.mixins.json)
		carpetextra.mixins.PlayerEntityMixin (carpet-extra.mixins.json)
		dev.architectury.mixin.fabric.PlayerAttackInvoker (architectury.mixins.json)
		carpet.mixins.PlayerEntity_fakePlayersMixin (carpet.mixins.json)
		xyz.nucleoid.disguiselib.mixin.accessor.PlayerEntityAccessor (disguiselib.mixins.json)
	net.minecraft.class_3244:
		eu.pb4.sgui.mixin.ServerPlayNetworkHandlerMixin (sgui.mixins.json)
		carpet.mixins.ServerPlayNetworkHandler_tickMixin (carpet.mixins.json)
		carpet.mixins.ServerPlayNetworkHandler_scarpetEventsMixin (carpet.mixins.json)
		de.siphalor.nbtcrafting.mixin.network.MixinServerPlayNetworkHandler (nbtcrafting.mixins.json)
		eu.pb4.styledplayerlist.mixin.ServerPlayNetworkManagerMixin (styledplayerlist.mixins.json)
		eu.pb4.polymer.mixin.other.ServerPlayNetworkHandlerMixin (polymer.mixins.json)
		com.unascribed.fabrication.mixin.d_minor_mechanics.crawling.MixinServerPlayNetworkHandler (fabrication.mixins.json)
		eu.pb4.polymer.mixin.block.ServerPlayNetworkHandlerMixin (polymer.mixins.json)
		eu.pb4.styledchat.mixin.ServerPlayNetworkManagerMixin (styledchat.mixins.json)
		eu.pb4.holograms.mixin.ServerPlayNetworkHandlerMixin (hologramapi.mixins.json)
		essentialaddons.mixins.core.ServerPlayNetworkHandlerMixin (essentialaddons.mixins.json)
		carpet.mixins.ServerPlayNetworkHandler_interactionUpdatesMixin (carpet.mixins.json)
		xyz.nucleoid.disguiselib.mixin.ServerPlayNetworkHandlerMixin_Disguiser (disguiselib.mixins.json)
		carpet.mixins.ServerPlayNetworkHandler_antiCheatDisabledMixin (carpet.mixins.json)
		mc.defibrillator.mixin.ChatEntryGrabber (defibrillator.mixins.json)
		us.potatoboy.timeoutout.mixin.ServerPlayNetworkHandlerKeepAliveMixin (timeoutout.mixins.json)
		carpettisaddition.mixins.logger.microtiming.tickstages.ServerPlayNetworkHandlerMixin (carpet-tis-addition.mixins.json)
		eu.pb4.polymer.mixin.item.ServerPlayNetworkHandlerMixin (polymer.mixins.json)
		dev.architectury.mixin.fabric.MixinServerGamePacketListenerImpl (architectury.mixins.json)
		draylar.cu.mixin.ServerPlayNetworkHandlerMixin (colorunchained.mixins.json)
		com.unascribed.fabrication.mixin.a_fixes.sync_attacker_yaw.MixinServerPlayNetworkHandler (fabrication.mixins.json)
		net.fabricmc.fabric.mixin.networking.ServerPlayNetworkHandlerMixin (fabric-networking-api-v1.mixins.json)
		org.samo_lego.healthcare.mixin.ServerPlayNetworkHandlerMixin_HealthTag (healthcare.mixins.json)
		carpet.mixins.ServerPlayNetworkHandler_coreMixin (carpet.mixins.json)
		carpettisaddition.mixins.rule.antiSpamDisabled.ServerPlayNetworkHandlerMixin (carpet-tis-addition.mixins.json)
		carpet.mixins.ServerPlayNetworkHandlerMixin (carpet.mixins.json)
		com.unascribed.fabrication.mixin._general.sync.MixinServerPlayNetworkHandler (fabrication.mixins.json)
		com.unascribed.fabrication.mixin.b_utility.despawning_items_blink.MixinServerPlayNetworkHandler (fabrication.mixins.json)
		com.jamieswhiteshirt.reachentityattributes.mixin.ServerPlayNetworkHandlerMixin (mixins.reach-entity-attributes.json)

-- Packet being sent --
Details:
	Packet class: net.minecraft.class_2739
Stacktrace:
	at Not Enough Crashes deobfuscated stack trace.(1.17.1+build.14)
	at java.lang.Thread.getStackTrace(Thread.java:1596)
	at net.minecraft.util.crash.CrashReportSection.trimStackTraceEnd(CrashReportSection:523)
	at net.minecraft.util.crash.CrashReport.addElement(CrashReport:198)
	at net.minecraft.world.World.addDetailsToCrashReport(World:845)
	at net.minecraft.server.MinecraftServer.tickWorlds(MinecraftServer:894)
	at net.minecraft.server.dedicated.MinecraftDedicatedServer.tickWorlds(MinecraftDedicatedServer:335)
	at net.minecraft.server.MinecraftServer.tick(MinecraftServer:831)
	at net.minecraft.server.MinecraftServer.handler$dml000$modifiedRunLoop(MinecraftServer:8390)
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer:676)
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer:270)
	at java.lang.Thread.run(Thread.java:831)
Mixins in Stacktrace:
	net.minecraft.server.MinecraftServer:
		carpetextra.mixins.MinecraftServer_updateSuppressionCrashFixMixin (carpet-extra.mixins.json)
		carpet.mixins.MinecraftServer_pingPlayerSampleLimit (carpet.mixins.json)
		net.flytre.flytre_lib.mixin.MinecraftServerMixin (flytre_lib.mixins.json)
		net.fabricmc.fabric.mixin.resource.loader.MinecraftServerMixin (fabric-resource-loader-v0.mixins.json)
		carpet.mixins.MinecraftServer_scarpetMixin (carpet.mixins.json)
		essentialaddons.mixins.core.MinecraftServer_onSaveMixin (essentialaddons.mixins.json)
		carpet.mixins.MinecraftServer_tickspeedMixin (carpet.mixins.json)
		com.ishland.c2me.mixin.chunkscheduling.mid_tick_chunk_tasks.MixinMinecraftServer (c2me.mixins.json)
		carpettisaddition.mixins.logger.microtiming.tickstages.MinecraftServerMixin (carpet-tis-addition.mixins.json)
		xyz.nucleoid.fantasy.mixin.MinecraftServerAccess (fantasy.mixins.json)
		com.sk89q.worldedit.fabric.mixin.MixinMinecraftServer (worldedit.mixins.json)
		carpet.mixins.MinecraftServer_coreMixin (carpet.mixins.json)
		com.yungnickyoung.minecraft.paxi.mixin.MixinMinecraftServer (paxi.mixins.json)
		nl.dyonb.chathistory.mixin.MinecraftServerMixin (chathistory.mixins.json)
		carpettisaddition.mixins.logger.microtiming.messageflush.MinecraftServerMixin (carpet-tis-addition.mixins.json)
		carpettisaddition.mixins.carpet.events.onServerLoadedWorlds.MinecraftServerMixin (carpet-tis-addition.mixins.json)
		net.kyori.adventure.platform.fabric.impl.mixin.MinecraftServerMixin (adventure-platform-fabric.mixins.json)
		essentialaddons.mixins.lagSpike.MinecraftServer_autoSaveMixin (essentialaddons.mixins.json)
		net.fabricmc.fabric.mixin.event.lifecycle.MinecraftServerMixin (fabric-lifecycle-events-v1.mixins.json)
		com.ishland.c2me.mixin.metrics.MixinMinecraftServer (c2me.mixins.json)

-- Affected level --
Details:
	All players: 4 total; [class_3222['Ykzl196'/2128709, l='ServerLevel[world]', x=-41.72, y=64.00, z=-161.40], class_3222['JingF'/2311502, l='ServerLevel[world]', x=-41.47, y=63.69, z=-164.43], class_3222['Neubulae'/2311608, l='ServerLevel[world]', x=11.24, y=65.80, z=-164.16], class_3222['Eltaf'/2312058, l='ServerLevel[world]', x=-59.14, y=64.00, z=-171.65]]
	Chunk stats: 3612
	Level dimension: minecraft:overworld
	Level spawn location: World: (144,72,-256), Section: (at 0,8,0 in 9,4,-16; chunk contains blocks 144,-64,-256 to 159,319,-241), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1)
	Level time: 14942636 game time, 20305241 day time
	Level name: world
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
	Level weather: Rain time: 49896 (now: false), thunder time: 45016 (now: false)
	Known server brands: fabric
	Level was modded: true
	Level storage version: 0x04ABD - Anvil
Stacktrace:
	at net.minecraft.server.MinecraftServer.method_3813(MixinMinecraftServer.java:891)
	at net.minecraft.class_3176.method_3813(MixinMinecraftDedicatedServer.java:335)
	at net.minecraft.server.MinecraftServer.method_3748(MixinMinecraftServer.java:831)
	at net.minecraft.server.MinecraftServer.handler$dml000$modifiedRunLoop(MixinMinecraftServer.java:8390)
	at net.minecraft.server.MinecraftServer.method_29741(MixinMinecraftServer.java:676)
	at net.minecraft.server.MinecraftServer.method_29739(MixinMinecraftServer.java:270)
	at java.base/java.lang.Thread.run(Thread.java:831)
Mixins in Stacktrace:
	net.minecraft.server.MinecraftServer:
		carpetextra.mixins.MinecraftServer_updateSuppressionCrashFixMixin (carpet-extra.mixins.json)
		carpet.mixins.MinecraftServer_pingPlayerSampleLimit (carpet.mixins.json)
		net.flytre.flytre_lib.mixin.MinecraftServerMixin (flytre_lib.mixins.json)
		net.fabricmc.fabric.mixin.resource.loader.MinecraftServerMixin (fabric-resource-loader-v0.mixins.json)
		carpet.mixins.MinecraftServer_scarpetMixin (carpet.mixins.json)
		essentialaddons.mixins.core.MinecraftServer_onSaveMixin (essentialaddons.mixins.json)
		carpet.mixins.MinecraftServer_tickspeedMixin (carpet.mixins.json)
		com.ishland.c2me.mixin.chunkscheduling.mid_tick_chunk_tasks.MixinMinecraftServer (c2me.mixins.json)
		carpettisaddition.mixins.logger.microtiming.tickstages.MinecraftServerMixin (carpet-tis-addition.mixins.json)
		xyz.nucleoid.fantasy.mixin.MinecraftServerAccess (fantasy.mixins.json)
		com.sk89q.worldedit.fabric.mixin.MixinMinecraftServer (worldedit.mixins.json)
		carpet.mixins.MinecraftServer_coreMixin (carpet.mixins.json)
		com.yungnickyoung.minecraft.paxi.mixin.MixinMinecraftServer (paxi.mixins.json)
		nl.dyonb.chathistory.mixin.MinecraftServerMixin (chathistory.mixins.json)
		carpettisaddition.mixins.logger.microtiming.messageflush.MinecraftServerMixin (carpet-tis-addition.mixins.json)
		carpettisaddition.mixins.carpet.events.onServerLoadedWorlds.MinecraftServerMixin (carpet-tis-addition.mixins.json)
		net.kyori.adventure.platform.fabric.impl.mixin.MinecraftServerMixin (adventure-platform-fabric.mixins.json)
		essentialaddons.mixins.lagSpike.MinecraftServer_autoSaveMixin (essentialaddons.mixins.json)
		net.fabricmc.fabric.mixin.event.lifecycle.MinecraftServerMixin (fabric-lifecycle-events-v1.mixins.json)
		com.ishland.c2me.mixin.metrics.MixinMinecraftServer (c2me.mixins.json)
	net.minecraft.class_3176:
		org.geysermc.platform.fabric.mixin.server.MinecraftDedicatedServerMixin (geyser-fabric.mixins.json)
		carpettisaddition.mixins.logger.microtiming.tickstages.MinecraftDedicatedServerMixin (carpet-tis-addition.mixins.json)
		dev.architectury.mixin.fabric.MixinDedicatedServer (architectury.mixins.json)
		com.ishland.c2me.mixin.util.log4j2shutdownhookisnomore.MixinMinecraftDedicatedServer (c2me.mixins.json)
		org.chrisoft.jline4mcdsrv.mixin.DServerInject (jline4mcdsrv.mixins.json)

-- System Details --
Details:
	Minecraft Version: 1.17.1
	Minecraft Version ID: 1.17.1
	Operating System: Linux (amd64) version 4.18.0-301.1.el8.x86_64
	Java Version: 16.0.1, Red Hat, Inc.
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Red Hat, Inc.
	Memory: 1899580560 bytes (1811 MiB) / 4294967296 bytes (4096 MiB) up to 4294967296 bytes (4096 MiB)
	CPUs: 10
	Processor Vendor: AuthenticAMD
	Processor Name: AMD Ryzen 9 3900X 12-Core Processor
	Identifier: AuthenticAMD Family 23 Model 113 Stepping 0
	Microarchitecture: Zen 2
	Frequency (GHz): 3.62
	Number of physical packages: 10
	Number of physical CPUs: 10
	Number of logical CPUs: 10
	Graphics card #0 name: SVGA II Adapter
	Graphics card #0 vendor: VMware (0x15ad)
	Graphics card #0 VRAM (MB): 128.00
	Graphics card #0 deviceId: 0x0405
	Graphics card #0 versionInfo: unknown
	Memory slot #0 capacity (MB): 16384.00
	Memory slot #0 clockSpeed (GHz): -0.00
	Memory slot #0 type: DRAM
	Virtual memory max (MB): 11998.70
	Virtual memory used (MB): 17114.53
	Swap memory total (MB): 4096.00
	Swap memory used (MB): 4043.09
	JVM Flags: 2 total; -Xmx4G -XX:+UseG1GC
	Fabric Mods: 
		adventure-platform-fabric: adventure-platform-fabric 4.1.0-SNAPSHOT
		aegis: Aegis 3.0.0
		allstackable: All Stackable 1.4.1-1.17
		anvil_crushing_recipes: Anvil Crushing Recipes 1.1.2+MC1.17-1.17.1
		appleskin: AppleSkin mc1.17-2.0.0
		architectury: Architectury 2.0.16
		attributefix: Attribute Fix {FABRIC} 1.0.1
		autoconfig1u: Auto Config v1 Updated 3.3.1
		axesareweapons: Axes Are Weapons 1.3-1.17
		bettersafebed: BetterSafeBed fabric-1.17-1.4
		betterthanmending: BetterThanMending 1.3.0
		blastproof_netherite: Blastproof Netherite 2.0.0+mc1.17
		bundles_of_unstackables: Bundles'O'Unstackables 0.1.0
		c2me: Concurrent Chunk Management Engine 0.2.0+alpha.3.0
		cardinal-components-base: Cardinal Components API (base) 3.0.1
		cardinal-components-entity: Cardinal Components API (entities) 3.0.1
		carpet: Carpet Mod 1.4.45
		carpet-autocraftingtable: Carpet-AutoCraftingTable 1.4.35
		carpet-extra: Carpet Extra 1.4.40
		carpet-tis-addition: Carpet TIS Addition 1.21.0+build.642
		cauldronfix: Cauldron Fix 1.0.0c
		ccgen: Caves & Cliffs Part Two Mod 2.0.3
		chathistory: Chathistory 2.0.0
		cloth-basic-math: Cloth Basic Math 0.5.1
		cloth-config2: Cloth Config v4 5.0.34
		cloud: Cloud 1.5.0-SNAPSHOT
		cloud_commandframework_cloud-brigadier_: cloud-brigadier 1.5.0-SNAPSHOT
		cloud_commandframework_cloud-core_: cloud-core 1.5.0-SNAPSHOT
		cloud_commandframework_cloud-services_: cloud-services 1.5.0-SNAPSHOT
		colorunchained: Color Unchained 1.1.1-1.16.4
		com_electronwill_night-config_core: core 3.6.3
		com_electronwill_night-config_toml: toml 3.6.3
		com_fasterxml_jackson_core_jackson-annotations: jackson-annotations 2.12.4
		com_fasterxml_jackson_core_jackson-core: jackson-core 2.12.4
		com_fasterxml_jackson_core_jackson-databind: jackson-databind 2.12.4
		com_fasterxml_jackson_dataformat_jackson-dataformat-yaml: jackson-dataformat-yaml 2.12.4
		com_velocitypowered_velocity-native: velocity-native 1.1.0-SNAPSHOT
		commandaliases: Command Aliases 0.4.2
		couplings: Couplings 1.5.0+1.17
		crossbowpower: Crossbow Power 1.0.0
		crowdin-translate: CrowdinTranslate 1.3+1.17
		crowmap: Crowmap 1.0.1
		customportalapi: Custom Portal Api 0.0.1-beta40-1.17
		day_dream: Day Dream 1.0.2
		defibrillator: Defibrillator 1.5.1
		disguiselib: Disguise Library 1.0.5
		dual_riders: DualRiders 1.0.5
		easy_painter: Easy Painter 1.0.2
		editsign: EditSign 2.2.1
		essentialaddons: Essential Addons 1.17.1-1.0.3
		fabric: Fabric API 0.36.1+1.17
		fabric-api-base: Fabric API Base 0.3.0+a02b446313
		fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.2.0+2b5c62d013
		fabric-biome-api-v1: Fabric Biome API (v1) 3.1.11+c345aea813
		fabric-command-api-v1: Fabric Command API (v1) 1.1.2+6cefd57713
		fabric-commands-v0: Fabric Commands (v0) 0.2.2+92519afa13
		fabric-containers-v0: Fabric Containers (v0) 0.1.12+a02b446313
		fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.2+a02b446313
		fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.5+be9da31013
		fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.11+6cefd57713
		fabric-entity-events-v1: Fabric Entity Events (v1) 1.1.0+a02b446313
		fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.9+a722d8c013
		fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+92519afa13
		fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.7+6cefd57713
		fabric-item-api-v1: Fabric Item API (v1) 1.2.4+a02b446313
		fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.10+b7ab612113
		fabric-language-kotlin: Fabric Language Kotlin 1.6.2+kotlin.1.5.20
		fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.4+a02b4463d5
		fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.4+a02b446313
		fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+92519afa13
		fabric-networking-api-v1: Fabric Networking API (v1) 1.0.13+2e8bd82f18
		fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.11+a02b446313
		fabric-networking-v0: Fabric Networking (v0) 0.3.2+92519afa13
		fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.10.9+b7ab612113
		fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.3+a02b446313
		fabric-particles-v1: Fabric Particles (v1) 0.2.4+a02b446313
		fabric-permissions-api-v0: fabric-permissions-api 0.1-SNAPSHOT
		fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.10+e2961fee13
		fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+a02b446313
		fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.7+b7ab612113
		fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.8+a02b446313
		fabric-structure-api-v1: Fabric Structure API (v1) 1.1.12+6cefd57713
		fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.4+a02b446313
		fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.12+b7ab612113
		fabrication: Fabrication 2.0.0-pre3
		fabriccrossdimtpfix: FabricCrossDimTPFix 0.2.0
		fabricloader: Fabric Loader 0.11.6
		fabricsit: FabricSit 1.5.0
		fantasy: Fantasy 0.4.1+1.17
		fastdecay: FastDecay 1.0.0
		fasttoolswitching: Fast Tool Switching 1.0.0
		fenceplayerupper: Fence Player Upper 1.1.3+1.17.pre1
		floodgate: Floodgate-Fabric 2.0-SNAPSHOT
		flytre_lib: FlytreLib 0.2.21
		gameadapter: GameAdapter 2.0.0
		geyser-fabric: Geyser-Fabric 1.4.0-SNAPSHOT
		grindenchantments: Grind Enchantments 1.2.1+1.17
		healthcare: Health Care 1.0.7
		hoe-power: hoe-power 1.0.0
		hologram-api: Hologram API 0.2.1+1.17.1
		horsestonks: Horse Stonks 1.0.0
		ibeeditor: IBE Editor 2.0.0
		image2map: Image2Map 0.2.1
		infinity-on-trident: infinity-on-trident 2.0.2
		interdimensional: Interdimensional 1.0.0
		invisframes: Invisible Frames 2.1.0
		invview: InvView 1.4.5-1.17.1+
		io_leangen_geantyref_geantyref: geantyref 1.3.11
		jankson: Jankson 3.0.1+j1.2.0
		java: OpenJDK 64-Bit Server VM 16
		jline4mcdsrv: JLine for Minecraft Dedicated Server 0.2.0
		krypton: Krypton 0.1.5-SNAPSHOT
		kubejs: KubeJS 1605.3.10-build.9999
		lapisreserve: Lapis Reserve 1.0.8
		lazydfu: LazyDFU 0.1.2
		leafmealone: Leaf Me Alone 2.1
		ledger: Ledger 1.0.2
		libgui: LibGui 4.1.4+1.17.1
		libninepatch: LibNinePatch 1.1.0
		lithium: Lithium 0.7.3-SNAPSHOT
		lootingsilk: lootingsilk 1.0.0
		microconfig: Microconfig 2.0.1
		minecraft: Minecraft 1.17.1
		minimotd-fabric: MiniMOTD 2.0.4
		mixintrace: MixinTrace 1.1.0+1.17
		monsters_in_the_closet: Monsters in the Closet 1.0.2+1.17
		more_codecs: More Codecs 0.2.0
		mutuality: Mutuality 1.0.0
		nbtcrafting: NBT Crafting 2.0.20+mc1.17.1
		ne-v-seti: Ne v seti 0.1.6-1.17
		net_kyori_adventure-api: adventure-api 4.8.1
		net_kyori_adventure-key: adventure-key 4.8.1
		net_kyori_adventure-platform-api: adventure-platform-api 4.0.0-SNAPSHOT
		net_kyori_adventure-text-feature-pagination: adventure-text-feature-pagination 4.0.0-SNAPSHOT
		net_kyori_adventure-text-minimessage: adventure-text-minimessage 4.2.0-SNAPSHOT
		net_kyori_adventure-text-serializer-gson: adventure-text-serializer-gson 4.8.1
		net_kyori_adventure-text-serializer-plain: adventure-text-serializer-plain 4.8.1
		net_kyori_examination-api: examination-api 1.1.0
		net_kyori_examination-string: examination-string 1.1.0
		nodami: No Damage Immunity (NoDamI) 1.17-0.2-fabric
		not-that-cc: Crafty Crashes 1.0
		notenoughcrashes: Not Enough Crashes 3.3.1+1.17
		omega-config: OmegaConfig 1.0.8
		org_fusesource_jansi_jansi: jansi 1.18
		org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.5.20
		org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.5.20
		org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.5.20
		org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.5.20
		org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.5.0
		org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.5.0
		org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.2.1
		org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.2.1
		org_jline_jline: jline 3.15.0
		org_jline_jline-terminal-jansi: jline-terminal-jansi 3.15.0
		org_yaml_snakeyaml: snakeyaml 1.29
		overpoweredmending: OverpoweredMending 2.2.3
		packet_tweaker: Packet Tweaker 0.2.0-1.17-pre1
		paradoxslabs: ParadoxSlabs 0.1.1
		paxi: Paxi 1.17-1.2.2
		perfectaccuracy: Perfect Accuracy 1.1
		perplayerspawns: Example Mod 1.17-2.0.0
		pettable: Pettable 1.1.0
		pingspam: Pingspam 1.2.2-1.17
		placeholder-api: Placeholder API 1.1.0+1.17.1
		playerabilitylib: Pal 1.3.0-nightly.1.17-rc1
		playerpronouns: Player Pronouns 1.2.0
		polymer: Polymer 0.1.0-rc.4+1.17.1
		pride: Pride Lib 1.0.0+21w03a
		quecee: Quecee ${version}
		reach-entity-attributes: Reach Entity Attributes 2.1.1
		recipecache: recipecache 0.2.0-1.17.1
		repurposed_structures: Repurposed Structures 2.3.1+1.17.1
		rhino: Rhino 1605.1.1-build.23
		roughlyenoughitems: Roughly Enough Items 6.0.262-alpha
		rpgstats: RPGStats 4.1.8+1.17.1
		rug: Rug 1.17.1-1.1.11
		server_translations_api: Server Translations API 1.4.5+1.17
		servercpa: CustomPortalApi-serverSideOnly 0.0.1-beta0-1.17
		sgui: SGui 1.0.0-rc4+1.17.1
		sihywtcamc: sihywtcamc 1.4+1.17.1
		spark: spark ${pluginVersion}
		speed-carts: Speed Carts 1.2.1
		starlight: Starlight 1.0.0-RC3+fabric.2b7d7ae
		styledchat: Styled Chat 1.1.0
		styledplayerlist: Styled Player List 2.1.0
		taxfreelevels: Tax Free Levels 1.2
		timeoutout: TimeOut Out 1.0.0
		totos-carpet-tweaks: Toto's Carpet Tweaks 1.17.1-0.2.2
		trade: Trade 1.2.1
		universal-graves: Universal Graves 1.0.8+1.17.1
		viabackwards: ViaBackwards 4.0.1
		viafabric: ViaFabric 0.4.2+202-main
		viafabric-mc117: ViaFabric for 1.17 0.4.2+202-main
		viaversion: ViaVersion 4.0.1
		wdmnf: Why Did My Netty Fail 1.0.0+mc.1.17
		weirdaddons: Weird Addons 1.17-1.3.0
		worldedit: WorldEdit 7.2.6-beta-01+1415e6f
		yungsapi: YUNG's API 1.17-Fabric-15
	Loaded Scarpet Apps: 
		horse_stats
	Player Count: 5 / 20; [EntityPlayerMPFake['PigLin'/327296, l='ServerLevel[world]', x=122.50, y=245.00, z=2.50], class_3222['Ykzl196'/2128709, l='ServerLevel[world]', x=-41.72, y=64.00, z=-161.40], class_3222['JingF'/2311502, l='ServerLevel[world]', x=-41.47, y=63.69, z=-164.43], class_3222['Neubulae'/2311608, l='ServerLevel[world]', x=11.24, y=65.80, z=-164.16], class_3222['Eltaf'/2312058, l='ServerLevel[world]', x=-59.14, y=64.00, z=-171.65]]
	Data Packs: vanilla (incompatible), Fabric Mods, file/RugData (incompatible)
	Is Modded: Definitely; Server brand changed to 'fabric'
	Type: Dedicated Server (map_server.txt)
	Suspected Mods: Unknown```

Conflict with Immersive Portals mod: no errors, but HealthCare UI is not shown

Cannot get it to work.

I put healthcare-1.2.1.jar to my mods folder, launch MC in single player, looking at mobs and don't see any health bars over mobs.

I tried to change any settings using commands but with no luck

If I launch Minecraft with these mods:

Immersive Portals will work, but HealthCare is not.

No errors, no crashes.

MC 1.19.3

Certain mobs report incorrect health and max health values until damaged

When spawning in the following mobs, that mob is likely to report an incorrect health and max health value of 53 HP instead of the expected 15-30 HP:

  • Horse
  • Donkey
  • Mule
  • Llama
  • Trader Llama

The above mobs all have different max health depending on random factors. Spawning them in with /summon [mob] ~ ~ ~ {} gives them 53 HP and 53 max HP, as expected. Spawning them in without NBT will cause them to show up as having 53 out of 53 HP until these mobs are damaged, in which case the mob will remain at full health but its max health will change to its true value (15 to 30 HP). This means that what would normally be a 2-hit kill (Netherite Sword crits) on a horse now takes 3 hits to kill due to the absorption.

This report was made using HealthCare 1.0.2, however an edit was made to the mod's source code to improve precision on the health display which would have incremented the version to 1.0.3. However, the same issue occurs in vanilla Minecraft 1.16.5, see MC-178383 and MC-203414.

Mod configuration

Hello, I'm using 1.19.4 version. I would like to know how do I configure it on multiplayer server. I have this mod installed as client-side. I tried use command, but they are unknown, can't use them. I tried to find config using Mod Menu or just in key bindings but I couldn't find anything.
Where is all of it? :(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.