Netherite Anvils 图标

Netherite Anvils

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/netherite-anvils
资源信息

Minecraft 版本: 1.21.11

平台: paper

标签: game-mechanics

资源介绍

Netherite Anvil

NOTE:
This is my first plugin, hence the limited version support. Feel free to submit any issues on the GitHub issues page

Minecraft Version: 1.21.11
API: Paper 1.21.11-R0.1-SNAPSHOT
Dependencies: PacketEvents

Netherite Anvil is a Paper Minecraft plugin that introduces a new, unbreakable Netherite Anvil with enhanced features, replacing the standard anvil mechanics.


Features

  • Unlimited Repair Cost:
    Removes the vanilla anvil level cap (39) and bypasses the "Too Expensive" message for items crafted with Netherite Anvils. We utlize some packet magic to allow vanilla clients to correctly render the levels above 39. If the repair cost exceeds the players level or the configured max repair cost, we fall back to vanilla behavior and display the "Too Expensive" message.

  • Unbreakable Anvils:
    Netherite Anvils never crack, chip, or break from usage, falling, or explosions.

  • Custom Crafting Recipe:
    Crafted using Netherite Blocks and Netherite Ingots instead of Iron. The recipe is fully configurable.

  • XP Cost Enforcement:
    Configurable max repair cost. Items above this threshold will display the standard "Too Expensive" message.

  • Permissions Support:
    Optional per-player permission checks for crafting and using Netherite Anvils. Can be toggled via config.

  • Admin Commands:

    • /netheriteanvil max — Display the current max repair level.
    • /netheriteanvil setmax <level> — Set a new max repair level (1–32767).
    • /netheriteanvil togglecrafting — Enable/disable permission checks for crafting.
    • /netheriteanvil toggleusing — Enable/disable permission checks for using anvils.
  • Persistent Tracking:
    All placed Netherite Anvils are tracked to maintain functionality across server restarts, even if moved or destroyed.

  • PacketEvents Integration:
    Utilizes PacketEvents to handle client-side XP level display correctly, bypassing the vanilla level cap while keeping XP tracking accurate.


Configuration (config.yml)

max-repair-cost: 500
permissions:
  check-crafting: true
  check-using: true

TO-DO's

  • Custom Anvil Name:
    The anvil GUI displays the title "Netherite Anvil" instead of the vanilla "Repair and Rename."
  • Custom Anvil Texture (Optional)
  • Configurable Crafting Recipe:
    Allow the crafting recipe to be configured. Currently the plugin just uses netherite blocks and ingot.
    
    crafting-recipe:
    enabled: true
    shape:
      - "BBB"
      - " N "
      - "NNN"
    ingredients:
      N: NETHERITE_INGOT
      B: NETHERITE_BLOCK
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Remove Pumpkin Blur

价格:0 墨喵币
下载量:0

查看详情
Sharpness Lore

价格:0 墨喵币
下载量:0

查看详情
Solar Horizon

价格:0 墨喵币
下载量:0

查看详情
Colonization MC

价格:0 墨喵币
下载量:0

查看详情