Minecraft loot tables download






















This allows you to randomize the block state of the resulting item. For instance, the following example code can drop stone 0 , granite 1 , polished granite 2 , diorite 3 , polished diorite 4 , or andesite 5. The following example will result in a randomly-colored dye. You can also inherit the entity ID of the entity that's associated with that loot table i.

This function only works on banners and currently only supports a banner type of 1. A banner type of 1 results in an illager banner. You can also use rawtext to localize the content of the book. Sets the quantity of items returned by setting the count value. It could either be an exact number like this example:. Sets the percentage of durability remaining for items that have durability by setting the damage value. Sets the data value of a block or item to an exact id. The following example will result in a polished diorite block.

An in-game example would be a pink sheep dropping pink wool on death. This function allows you to set the lore of an item. Each line within the lore object represents a single line of text. They can either change existing loot tables or create new ones. This is the file structure:. The JSON files go in this folder. Vanilla loot tables are grouped into 4 categories: gameplay fishing , entities , blocks , and chests , with some tables being in subfolders of those. This makes every zombie in that world use the datapack's loot table rather than the default zombie loot table.

Loot tables are namespaced. To create a custom loot table, first create a new folder for the custom namespace, and then create loot tables within following a similar structure. Then, summon the mob with the data tag DeathLootTable set to the name of the directory and file without the. Issues relating to "Loot table" are maintained on the bug tracker.

Report issues there. Minecraft Wiki. Minecraft Wiki Explore. Main Page All Pages. Minecraft Minecraft Earth Minecraft Dungeons. Useful pages. Minecraft links. Gamepedia support Report a bad ad Help Wiki Contact us. Explore Wikis Community Central. Register Don't have an account? Loot table. History Talk LootTable : Loot table to be used to fill the container when it is next opened, or the items are otherwise interacted with.

When the container is a chest that is part of a double chest, only the half corresponding to the tagged single-chest is affected. LootTableSeed : Seed for generating the loot table. Works similarly to the seeds for worlds. The root tag.

There are plenty of other functions that can modify the selected item. The next tutorial will go over them. Loot and Trade Table Functions. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Please rate your experience Yes No. Any additional feedback? How to use JSON to define a loot table.

How to apply functions to entries to modify the selected item. How to use conditions to further restrict when a pool or entry is selected. Enchantement Table XP point to send to the enchantment table to enchant this item. Enchantement Manual Choose one or more enchantment that can be apply.

Data Data value for this item Min: Max: Add a condition to this option. Looting Enchantement Item number to add for each looting enchantment level. Smelt Virtualy smelt item Add a condition to this option. This option allow you to add custom condition for the item Add a condition to this option.



0コメント

  • 1000 / 1000