Logo
MINECRAFTBIBLE
Items
Items

All game items

Blocks
Blocks

Building blocks

Mobs
Mobs

Creatures & monsters

Biomes
Biomes

World biomes

Structures
Structures

Generated structures

Recipes
Recipes

Crafting guides

Advancements
Advancements

Achievements

Loot Tables
Loot Tables

Drop rates

Tags
Tags

Item groupings

All Versions
View all data →
Capes
Cape ArchiveNEW

Browse rare Minecon capes, OptiFine capes, and custom capes from players worldwide

Browse

Player Database
Player DatabasePopular

Search any player

Skin Browser
Skin Browser

Browse & download skins

Cape Gallery
Cape GalleryNEW

Minecon & OptiFine capes

Seed Vault
Seed Vault

Curated seeds

Learn

Guides
GuidesNew

Tutorials & tips

Blog
Blog

News & updates

Community

Community Hub
Community HubHub

Posts, discussions & more

All Versions
View community →
Seed Analyzer
Seed Analyzer

World seed analysis

Loot Explorer
Loot Explorer

Drop rates

Crafting Calculator
Crafting Calculator

Material planning

Enchant Calculator
Enchant Calculator

Probability math

Redstone Lab
Redstone Lab

Signal timing

Trading Profit
Trading Profit

Villager ROI

All Versions
View all tools →
Mods
Mods

Browse all mods

Plugins
Plugins

Server plugins

Resource Packs
Resource Packs

Textures & sounds

Shaders
Shaders

Visual enhancements

Datapacks
Datapacks

World logic

Scanner
Mod Intelligence

Scan & analyze any mod

All Versions
View all mods →
Loading...
IntroductionIntroductionVersion HistoryVersion HistoryGuidesGuidesBlog & NewsBlog & News
ItemsItemsBlocksBlocksMobsMobsRecipesRecipesBiomesBiomesStructuresStructuresAdvancementsAdvancementsLoot TablesLoot TablesTagsTags
ModsModsPluginsPluginsResource PacksResource PacksShadersShadersDatapacksDatapacks

MinecraftBible

The Ultimate Wiki

Logo
MINECRAFTBIBLE

The ultimate Minecraft reference. Every item, block, mob, and recipe documented with precision.

Community

  • Player Database
  • Skin Browser
  • Cape Gallery
  • Community Hub
  • Seed Vault

Database

  • Items
  • Blocks
  • Mobs
  • Recipes
  • Biomes
  • Structures

Tools

  • Seed Analyzer
  • Mod Intelligence
  • Crafting Calculator
  • Enchant Calculator

Mods & Packs

  • Mods
  • Plugins
  • Resource Packs
  • Shaders
  • Datapacks

© 2026 MinecraftBible. Not affiliated with Mojang or Microsoft.

PrivacyTermsContact
Records the Level of Enchantments│記錄附魔的等級
ModMIT

Records the Level of Enchantments│記錄附魔的等級

The Fortune and Looting enchantment levels of the equipment held by the mob are recorded as scoreboard scores to facilitate the definition of loot tables.│生物所持有的裝備的時運和搶奪附魔等級被記錄為記分板分數,以方便定義戰利品表。

453
Downloads
0
Followers
6 months ago
Updated
📦
5
Versions
equipmentlibrarymobsdatapackfabricforgeneoforgequilt
Download Latestv1.0.1+1.21.7View on Modrinth

📖About Records the Level of Enchantments│記錄附魔的等級

To Users│給使用者

If the data pack you are playing requires this data pack as a prerequisite, just add this data pack to the data pack folder.│如果你所遊玩的數據包需要使用該數據包作為前置,那麼只需將此數據包也加進數據包資料夾即可。

To Data Pack Creator│給資料包製作者

  • This data pack stores the looting enchantment level of the item held in the mob's main hand to the scoreboard target looting_level. If the mob's main hand does not hold an item with the Looting enchantment, it will store 0.│此資料包會將生物主手持有的裝備的搶奪附魔等級儲存到記分板目標looting_level,如果主手不持有帶有搶奪附魔的裝備,那麼儲存為0。
  • This data pack stores the Fortune enchantment level of the item held in the mob's main hand to the scoreboard object fortune_level. If the mob's main hand does not hold any item with the Fortune enchantment, it will store 0.│此資料包會將生物主手持有的裝備的時運附魔等級儲存到記分板目標fortune_level,如果主手不持有帶有時運附魔的裝備,那麼儲存為0。

Usage Examples│使用範例

{
  "type": "minecraft:entity",
  "pools": [
    {
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:tag",
          "expand":true,
          "name": "minecraft:bee_loot"
        }
      ],
      "rolls": {
        "type":"minecraft:uniform",
        "min":0,
        "max":2
      }
    },
    {
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:tag",
          "expand":true,
          "name": "minecraft:bee_loot"
        }
      ],
      "rolls": {
        "type":"minecraft:uniform",
        "min":0,
        "max":{
          "type":"score",
          "target":"attacker",
          "score":"looting_level"
        }
      }
    }
  ],
  "random_sequence": "minecraft:entities/bee"
}

The above is the content of one of my data pack. When defining the number of draws for the second draw pool of this loot table, I set it to a min value of 0 and a max value of the attacker's scoreboard looting_level. In this way, the max number of draws can be set to the looting enchantment level of the weapon held by the killer.│上方是我的一個資料包的內容,在定義這個戰利品表的第二個抽獎池的抽獎次數時,將其設定為最小值為0,而最大值為攻擊者記分板looting_level的分數,透過這樣的方式就能將抽獎次數的最大值設為擊殺者持有的武器的搶奪附魔等級。

👥 Team & Contributors

Special_TT
Special_TTOwner

⚙️ Compatibility

Environment
🖥️ Server-side
Loaders
datapackfabricforgeneoforgequilt
Minecraft Versions
1.21.71.21.8

🔗 Links

Modrinth Page