Records the Level of Enchantments│記錄附魔的等級
No reviews yet
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.│生物所持有的裝備的時運和搶奪附魔等級被記錄為記分板分數,以方便定義戰利品表。
Provides a framework or library for other mods to use.
Data Packs were introduced to vanilla Minecraft in version 1.13 and allow the server to modify data about the game, or run commands. Data Packs are compatible with all mod loaders.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Quilt is a fork of the Fabric mod loader. Many Fabric mods are compatible with Quilt and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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的分數,透過這樣的方式就能將抽獎次數的最大值設為擊殺者持有的武器的搶奪附魔等級。
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers