promotional bannermobile promotional banner

JAVA PVP CORE(Achievements Friendly)

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

1000197983.png

1000197983.png

Description

 

It is recommended to DOWLOAD this addon

LINK HERE to support addons from other developers. 

UPDATE 4.1.3

Fix bug cooldown when break block

Fix bug dame 

UPDATE V4.1.0

fix bug the mace

Update v4.1.0

(Achievements Friendly)

Java PvP Core — Update v4.0.0

📦 Want it to work with weapons from other addons, no tags needed? → Install PvP Weapon Support — automatically detects weapons from any other addon.

What's New

This release focuses on API compatibility fixes and opens up integration with other addons — combat formulas are unchanged.

Critical fix (was crashing the entire addon)

  • Removed the CommandPermissionLevel import — this export doesn't exist in some resolved @minecraft/server versions when playing alongside other addons, which caused main.js to crash on the very first line, running nothing at all (losing all damage/cooldown/sweep). Now uses a raw numeric permission level instead, no longer dependent on that export.
  • Bumped the @minecraft/server dependency from 1.15.0 to 2.1.0 — the old version was missing the beforeEvents.entityHurt API in some world configurations, preventing the core from cancelling vanilla damage to compute Java-style combat. The new version ensures it resolves to a build with the required API.
  • All critical event/command registration blocks are now wrapped in try/catch — if any single API is missing in the world's resolved version, only that one feature is lost, instead of crashing the entire addon.

Third-party addon integration support

  • Added the jpvp:clear scriptevent — lets other addons (e.g. the PvP Weapon Support extension) actively release their override when a weapon no longer needs special handling, preventing stale data from getting stuck.
  • The jpvp:override scriptevent payload now accepts an optional isSword field — lets external addons explicitly declare whether a weapon counts as a sword (sweep attack) instead of relying solely on the minecraft:is_sword tag, which many custom weapons don't have.

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(Achievements Friendly) Team

Forgeborn tier frameprofile avatar
Owner
Forgeborn tier icon
  • 20
    Followers
  • 26
    Projects
  • 399.4K
    Downloads

More from YTAUNView all

  • WEAPONS-The Dragon Sword project image

    WEAPONS-The Dragon Sword

    Wield the fury of the Ender Dragon! 4 explosive skills - Roar, Fury, Breath, and the meteor-raining Wrath ultimate - plus fire passives. Packed with dense particles and a custom transform animation.

    • 577
    • August 7, 2026
  • CRYING OBSIDIAN PACK project image

    CRYING OBSIDIAN PACK

    Crying Obsidian Pack (MCPE 1.21.120+) adds high-durability armor (32 pts) & heavy weapons (swords, axes with slowness). Craft/upgrade via stonecutter/smithing table. Beta APIs required.

    • 2.1K
    • July 27, 2026
  • Foxay shader project image

    Foxay shader

    Transform your MCPE world with Foxay Shader! Experience breathtaking aurora night skies, vibrant glowing ores, and stunning lighting effects. Download now to upgrade your Minecraft graphics and explore a truly immersive universe!

    • 31.6K
    • July 26, 2026
  • BOSS-Yeti project image

    BOSS-Yeti

    The YTAUN Yeti Frozen Addon introduces a 3-phase evolving Yeti boss fight with unique ice skills, craftable Frozen armor and gear, and tameable pet companions to fight by your side.

    • 4.6K
    • July 26, 2026
  • WEAPONS-The Dragon Sword project image

    WEAPONS-The Dragon Sword

    Wield the fury of the Ender Dragon! 4 explosive skills - Roar, Fury, Breath, and the meteor-raining Wrath ultimate - plus fire passives. Packed with dense particles and a custom transform animation.

    • 577
    • August 7, 2026
  • CRYING OBSIDIAN PACK project image

    CRYING OBSIDIAN PACK

    Crying Obsidian Pack (MCPE 1.21.120+) adds high-durability armor (32 pts) & heavy weapons (swords, axes with slowness). Craft/upgrade via stonecutter/smithing table. Beta APIs required.

    • 2.1K
    • July 27, 2026
  • Foxay shader project image

    Foxay shader

    Transform your MCPE world with Foxay Shader! Experience breathtaking aurora night skies, vibrant glowing ores, and stunning lighting effects. Download now to upgrade your Minecraft graphics and explore a truly immersive universe!

    • 31.6K
    • July 26, 2026
  • BOSS-Yeti project image

    BOSS-Yeti

    The YTAUN Yeti Frozen Addon introduces a 3-phase evolving Yeti boss fight with unique ice skills, craftable Frozen armor and gear, and tameable pet companions to fight by your side.

    • 4.6K
    • July 26, 2026