promotional bannermobile promotional banner

JAVA PVP CORE 2.1

Java PvP Core v1.0(by YTAUN) brings Minecraft Java combat mechanics (cooldowns, sweep attacks, crits) to Bedrock 1.21+. It auto-detects vanilla weapons and provides an API for custom addons.
1000161152.png

1000161152.png

Description

Update v2.1

Redraw the cooldown bar

JavaPvP Core — Update v2.0

Add more tag:

๐Ÿ”ฅ Fire Sweep (jpvp:sweep:fire)

Add this tag to any item with minecraft:is_sword. When a fully-charged sweep attack lands, the sweep visual will display a flame-colored orange-red particle instead of the default gray slash, and all mobs caught in the sweep will be set on fire for 3 seconds. Pairs well with fire-themed weapons or custom flame boss gear.

โš”๏ธ Weapon-Shaped Cooldown Icons

Three new tags let you customize the cooldown icon displayed on the action bar to match the weapon type:

jpvp:tcd:sword — A diagonal pixel-art sword icon. Charges from hilt to tip, shifting from gray to a golden gleam when a target is in range.

jpvp:tcd:axe — A broad-headed axe with a long handle. Charges from bottom to top, turning icy blue when an enemy is detected nearby.

jpvp:tcd:reddagger — A wide-bladed dao in deep red tones. Charges from handle to edge, flaring bright red when a target enters your crosshair

 

 

โš” Java PvP Core v1.0

Java Edition combat mechanics — rebuilt for Bedrock

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Java PvP Core brings the full Java Edition combat system to Bedrock — attack cooldown, damage scaling based on charge percentage, sweep attack, armor toughness, and more. Built as a core addon so other addons can integrate directly without rewriting combat logic from scratch.

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

FEATURES

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

- Attack Cooldown — Custom glyph texture cooldown bar (16 frames). Automatically changes color when an enemy is in range.

- Damage Scaling — Damage scales with cooldown percentage. Attacking before fully charged deals reduced damage, just like Java.

- Armor Toughness — Accurate Java Edition damage reduction formula, including diamond and netherite toughness.

- Sweep Attack — Java-accurate sword sweep AoE. Only triggers when standing still, not sprinting, and fully charged.

- Enchantment Support — Sharpness, Smite, Bane of Arthropods, Strength, and Weakness are all factored into damage.

- Critical Hit — Attacking while falling deals 1.5x damage with particle effects.

- Saturation Heal — Health regeneration from saturation following Java Edition mechanics.

- Totem of Undying — Works correctly with the addon's damage override system.

- Shield Block — Detects active shield blocking and negates damage accordingly.

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

TAGGING CUSTOM WEAPONS

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Add 2 tags to your item JSON — no scripting required:

  "jpvp:weapon"

  "jpvp:dmg:7" → damage dealt

  "jpvp:cd:16" → cooldown t (tick)

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

VANILLA WEAPONS — BUILT-IN SUPPORT

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

No tags needed — the addon auto-detects vanilla weapons and applies correct Java Edition values:

Netherite Sword 8 dmg | 13 ticks (0.65s)

Diamond Sword 7 dmg | 13 ticks (0.65s)

Iron Sword 6 dmg | 13 ticks (0.65s)

Netherite Axe 10 dmg | 20 ticks (1.0s)

Diamond Axe 9 dmg | 20 ticks (1.0s)

Iron Axe 9 dmg | 22 ticks (1.1s)

Trident 9 dmg | 18 ticks (0.9s)

Mace 6 dmg | 26 ticks (1.3s)

Diamond Pickaxe 5 dmg | 17 ticks (0.85s)

Diamond Shovel 5 dmg | 20 ticks (1.0s)

Diamond Hoe 1 dmg | 5 ticks (0.25s)

(+ all remaining tiers: wooden, stone, golden, copper)

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

INTEGRATION API FOR OTHER ADDONS

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Method 1 — Script event (cross-addon, no import needed):

  scriptevent jpvp:override

  payload JSON: { playerId, damage, cooldownTicks }

Method 2 — Direct import (same behavior pack):

  import { setWeaponData, clearWeaponOverride } from "./main.js";

  setWeaponData(player, 9, 12);

  clearWeaponOverride(player);

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

REQUIREMENTS

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

- Minecraft Bedrock Edition 1.21+

- Script API @minecraft/server 1.16+

- Multiplayer compatible

 

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

AUTHOR & CONTACT

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

 

Author : YTAUN

Zalo : 0394798144

Gmail : letu157751157@gmail.com

 

The JAVA PVP CORE 2.1 Team

profile avatar
Owner
  • 9
    Followers
  • 16
    Projects
  • 156.5K
    Downloads

More from YTAUNView all

  • WEAPONS-YAMATO KATANA project image

    WEAPONS-YAMATO KATANA

    • 1.9K
    • Addons

    Wield Vergil's legendary Yamato from DMC3! Passive barrier, Judgment Cut, Doppelganger & Devil Trigger โ€” all powered by Script API. For Bedrock 1.26+. By YTAUN.

    • 1.9K
    • June 16, 2026
    • Addons
  • ADDON-ENCHANT DESCRIPTION  project image

    ADDON-ENCHANT DESCRIPTION

    • 552
    • Addons

    Remember the first time you picked up a Smite V book and had no idea what it actually did?.The addon automatically writes a description of each enchantment into the item's lore โ€” just long-press to read.

    • 552
    • June 15, 2026
    • Addons
  • WEAPONS-KATANA OF THE VOID 2.0 project image

    WEAPONS-KATANA OF THE VOID 2.0

    • 11.9K
    • Addons

    A void-forged katana with 6 combo skills. Hold 15s, crouch 4s, then jump or crouch to trigger unique abilities โ€” slash, vanish, teleport, or devastate. Bedrock ยท Beta APIs required.

    • 11.9K
    • June 15, 2026
    • Addons
  • WEAPONS-DEMONIC SWORD project image

    WEAPONS-DEMONIC SWORD

    • 10.0K
    • Addons

    A Nether-forged blade that sweeps with fire and devours its wielder's hunger. Powerful, cursed, and crafted from the darkest materials the underworld has to offer.

    • 10.0K
    • June 15, 2026
    • Addons
    • +1
  • WEAPONS-YAMATO KATANA project image

    WEAPONS-YAMATO KATANA

    • 1.9K
    • Addons

    Wield Vergil's legendary Yamato from DMC3! Passive barrier, Judgment Cut, Doppelganger & Devil Trigger โ€” all powered by Script API. For Bedrock 1.26+. By YTAUN.

    • 1.9K
    • June 16, 2026
    • Addons
  • ADDON-ENCHANT DESCRIPTION  project image

    ADDON-ENCHANT DESCRIPTION

    • 552
    • Addons

    Remember the first time you picked up a Smite V book and had no idea what it actually did?.The addon automatically writes a description of each enchantment into the item's lore โ€” just long-press to read.

    • 552
    • June 15, 2026
    • Addons
  • WEAPONS-KATANA OF THE VOID 2.0 project image

    WEAPONS-KATANA OF THE VOID 2.0

    • 11.9K
    • Addons

    A void-forged katana with 6 combo skills. Hold 15s, crouch 4s, then jump or crouch to trigger unique abilities โ€” slash, vanish, teleport, or devastate. Bedrock ยท Beta APIs required.

    • 11.9K
    • June 15, 2026
    • Addons
  • WEAPONS-DEMONIC SWORD project image

    WEAPONS-DEMONIC SWORD

    • 10.0K
    • Addons

    A Nether-forged blade that sweeps with fire and devours its wielder's hunger. Powerful, cursed, and crafted from the darkest materials the underworld has to offer.

    • 10.0K
    • June 15, 2026
    • Addons
    • +1