Unofficial Port | AppleSkin Add-On

Unofficial Port | AppleSkin Add-On

Unofficial Bedrock port of AppleSkin: see saturation, exhaustion and the hunger and health any food will restore right on your HUD.

ModUpdated 1 months ago
Lilium StudioLilium Studio6 items

Screenshots

Unofficial Port | AppleSkin Add-On — screenshot 1
Unofficial Port | AppleSkin Add-On — screenshot 2
Unofficial Port | AppleSkin Add-On — screenshot 3
Unofficial Port | AppleSkin Add-On — screenshot 4
Unofficial Port | AppleSkin Add-On — screenshot 5
Unofficial Port | AppleSkin Add-On — screenshot 6
Unofficial Port | AppleSkin Add-On — screenshot 7

Description

AppleSkin - Bedrock Edition

AppleSkin is a vanilla-friendly mod originally created for Java Edition. This project is an unofficial Bedrock Edition port that brings AppleSkin's food HUD improvements to Bedrock: see your saturation, exhaustion and exactly how much hunger, saturation and health any food will restore before you eat it.

📜 Credits & Original Project

This addon is an unofficial port. It is not made, endorsed or supported by the original author. All credit for the original idea, design and mechanics goes to squeek502.

Please report bugs of this port to Lilium Studio, not to the original AppleSkin author.

⚖️ License

The original AppleSkin is released under The Unlicense (public domain), which allows anyone to use, modify, port and redistribute it, with no restrictions. This port follows that license:

  • The only asset taken from the original mod is its saturation overlay icon sheet (icons.png), which is covered by the same public-domain license.

  • All the code is new: nothing from the Java source was copied; the mechanics were rewritten in JavaScript for Bedrock.

  • The hunger and heart icons used in the HUD are Bedrock's own vanilla textures.

🔄 How This Port Differs From the Original

AppleSkin is a Java Edition mod (Forge/Fabric/NeoForge). This is a Bedrock Edition addon written from scratch, so it works very differently under the hood and has some differences in behavior:

Original AppleSkin (Java) This port (Bedrock)
Platform Java Edition mod, needs a mod loader Bedrock Edition addon (behavior resource pack), no mod loader or experiments
Implementation Java code that hooks into the game's rendering Rewritten from scratch with the Script API (@minecraft/server) and JSON UI
Health estimate Uses Java's regeneration rules Recalculated for Bedrock's regeneration rules (1 saturation point per half heart)
Settings Client config file / config screen Per-player commands (/lsas:appleskin, /lsas:flashalpha, /lsas:appleskinreset), saved per player
Icon shake animation Overlays shake together with vanilla icons Overlays stay static (Bedrock doesn't expose the shake to addons)

See Bedrock Limitations below for the full list of things that can't work exactly like the original.

✅ Features

  • Saturation Overlay: Shows your current saturation level as a golden outline over the hunger bar.

  • Exhaustion Underlay: Displays your food exhaustion as a progress bar behind the hunger bar, so you know when your next hunger or saturation point will drain.

  • Hunger & Saturation Preview: While holding food, the hunger and saturation it would restore flash on your HUD.

  • Estimated Health Restored: While holding food, the hearts you would regenerate flash on the health bar, calculated with Bedrock's regeneration rules (1 saturation point per half heart), including golden apple regeneration.

  • Food Values in Tooltips: Hunger and saturation icons are added to the lore of food items.

  • Rotten Food Indicator: Foods with harmful effects (rotten flesh, spider eye, raw chicken, etc.) show green hunger icons.

  • Custom Food Support: Any addon item using the minecraft:food component is detected automatically.

  • Per-Player Settings: Every player can configure their own HUD with commands, just like AppleSkin's client config:

    • /lsas:appleskin \[setting\] \[true|false\]: list or toggle any overlay.

    • /lsas:flashalpha \[0.0-1.0\]: max opacity of the flashing icons.

    • /lsas:appleskinreset: restore default settings.

    • /lsas:foodstats: show your exact hunger, saturation and exhaustion values.

🖼️ Feature Showcase

🛠️ Addon Specifications (Bedrock)

This port has been optimized for the best possible compatibility and performance:

  • No Experiments: Does not require any experimental toggles; it only uses the stable @minecraft/server 2.9.0 Script API.

  • Compatible Version: Works on version 1.26.0 and above.

  • Maximum Compatibility: Does not modify player.json or any vanilla entity. The HUD is added through JSON UI modifications without replacing vanilla elements.

  • Multiple UI Profiles: Works with both the Classic and Pocket (mobile) UI profiles.

  • Scripting & Translations: Settings are saved per player, and all messages are translatable (English and Spanish included).

🎨 Compatibility

⚠️ Bedrock Limitations

  • Tooltips: Bedrock doesn't allow adding custom tooltip elements, so food values are shown as item lore. Food with lore may not stack with a freshly picked-up item until the lore is applied (a fraction of a second).

  • Icon Animations: Vanilla shakes the heart and hunger icons randomly on the client, which addons can't read, so the overlays stay static instead of shaking with them.

  • Health Estimate: Only shown on the first row of hearts (up to 20 max health).

  • Flash Opacity: /lsas:flashalpha is rounded to the nearest of 5 levels (0.25, 0.45, 0.65, 0.85, 1.0).

Unofficial AppleSkin Bedrock Edition port by Lilium Studio | Original AppleSkin by squeek502

Changelog

Changelog - AppleSkin (Port)

[1.0.2]

Added

  • Lore Cleanup Command: /lsas:clearlore removes the addon's lore lines from the chest, barrel or other container the player is looking at (up to 6 blocks away, also entity inventories such as chest minecarts), so stored food stacks again with lore-free items like farm output, and nothing is left behind before uninstalling. Lore from other addons is kept (BP/scripts/modules/tooltip.js, texts lsas.clearlore.\*).

  • Hardcore Hearts: In hardcore worlds (world.isHardcore), the estimated health overlay uses Bedrock's hardcore heart.

Changed

  • Event-Driven Food Lore: TooltipSystem no longer reads every inventory slot every 10 ticks. New stacks are handled by world.afterEvents.playerInventoryItemChange (with ignoreQuantityChange, so eating doesn't trigger it), sneaking by world.afterEvents.playerButtonInput (InputButton.Sneak), and the whole inventory is only rewritten on join, respawn, settings changes or when the tooltip visibility changes. The 10-tick interval now only checks the visibility and the off-hand.

  • Native Title API for the HUD Channel: HudChannel sends the payload with player.onScreenDisplay.setTitle(text, { fadeInDuration: 0, stayDuration: 0, fadeOutDuration: 0 }) instead of running titleraw commands.

  • Minimum Engine Version: min\_engine\_version raised from 1.26.0 to 1.26.50 in both manifests.

  • Food Stats Format: /lsas:foodstats uses AppleSkin's number formats (saturation \#.\#\#, exhaustion 0.00, maximum \#.\#\#), so it shows 0.00/4 instead of 0.00/4.00, as in DebugInfoHudEntry.

  • Lore Glyph Parity: The rotten hunger icons (U+F302, U+F303) now sit on the normal empty background, and the empty saturation icon (U+F314) is drawn at 50% opacity.

  • No Lore Without Hunger Bars: Foods that restore no hunger no longer get a saturation-only lore line, matching.

Fixed

  • Inventory Fragmentation: Food picked up or crafted couldn't join stacks that already had lore, so every pick-up took a new slot. After its lore is written, the new stack is now merged into matching stacks with ItemStack.isStackableWith(), like a vanilla pick-up.

  • HUD Payload Shown on Screen: The title times were set only once per player, so /title reset or another pack changing them made the raw LSAS… payload appear as a title until respawning. The zero times are now sent with every update.

  • Eating Interrupted by Lore Updates: Writes to the held stack (toggling sneak in sneak mode, or new food merging into it) are now deferred while the player is eating, from itemStartUse until itemCompleteUse, itemStopUse or itemReleaseUse, with a 100-tick safety limit.

  • One Failing Slot Stopped the Update: Errors are now caught per slot, and the food lore is skipped when it would go over the 20 lines allowed by setLore(), instead of throwing and logging a warning every 10 ticks.

  • Translated Lore From Other Addons: Lore is now read with getRawLore(), so translate/rawtext lines from other addons survive the rewrite; plain text lines are written back as strings.

  • Translations: The es\_ES command hint no longer uses voseo ("Usá" → "Usa"), and the unused lsas.config.players\_only key was removed.

Known Limitations

  • Lore in Containers: Food stored in chests keeps its lore and won't stack with lore-free items until /lsas:clearlore is used on the container.

Download Files

AppleSkin (Port) V1.0.258 KB.mcaddon
Source: MCPEDL · by Lilium Studio · CurseForge