Skip to content

Custom Items

TDHunterrr edited this page Oct 12, 2026 · 3 revisions

📦 Custom Items Guide

Farlands Lifesteal implements custom items utilizing vanilla-compatible player_head items with custom NBT tags and baked Base64 textures. No custom resource pack is required on client computers.


❤️ Heart

The Heart is a physical, tradable commodity representing +1 maximum heart.

Visual Appearance

  • Renders as a custom 3D Hardcore Heart Skull.
  • Text: "Heart" in bold red with gold lore "Right-click to gain +1 Heart".

Consumption & Behavior

  • How to Consume: Right-click in the air or against any block.
  • Effect:
    • Grants +1 heart (+2.0 max health).
    • Instantly heals the player by 2.0 health points.
    • Decreases the held item stack by 1 (creative mode bypasses item removal).
    • Sends feedback: You gained 1 heart! (Green).
  • Restrictions:
    • If the player already has 20 hearts (40.0 max health), consumption is blocked.
    • Sends feedback: You already have the maximum amount of hearts! (Red).

🎟️ Revive Token

The Revive Token is a player-bound artifact dropped upon a player's elimination.

Visual Appearance

  • Renders as a skull bound to the eliminated player.
  • Text: "Revive Token: <PlayerName>" in bold gold.
  • Lore: "Right-click a block to revive this player at that location".

Revival Ritual & Behavior

  1. Hold the Revive Token.
  2. Right-click on any solid block.
  3. The block location directly above the clicked surface (targetPos.above()) is recorded as the spawn point.
  4. The server unbans the target player from banned-players.json.
  5. The player's health upon joining is set to the default 10 hearts (20.0 HP).
  6. The token is consumed from the user's hand (survival mode).
  7. When the revived player reconnects:
    • They are automatically teleported to the designated block coordinates.
    • They receive Resistance V spawn protection for 10 seconds (cancelled on movement).

Crafted with ❤️ by TD_Hunterrr

Clone this wiki locally