Git Product home page Git Product logo

Comments (5)

Seeloewen avatar Seeloewen commented on June 20, 2024

Actually, Github has a feature to transfer issues to another repo, I will transfer this to the Random Item Giver Repo myself.

from random-item-giver-datapack.

Seeloewen avatar Seeloewen commented on June 20, 2024

You could execute the command /loot give {player} loot randomitemgiver:1item/main which gives the player a random item from the main loot table. There are also other loot tables, I can give you a list of them if you want.

from random-item-giver-datapack.

dotnetian avatar dotnetian commented on June 20, 2024

Hello again. Thanks. But what are loot tables?

from random-item-giver-datapack.

Seeloewen avatar Seeloewen commented on June 20, 2024

Loot Tables are files, which contain information about what items you can get. For example, there's a loot table in my datapack which contains all vanilla items, one which contains potions etc.

There are also other uses of loot tables in Minecraft besides Datapacks. You know how you get different items when fishing? Well, fishing gives you items based on a loot table. You could modify that loot table and get different items when fishing, same goes for chests and so on.

If you use the /loot command above, you will only get one of the items listed in that loot table.

So to make it short, loot tables are files which contain a list of items.

from random-item-giver-datapack.

dotnetian avatar dotnetian commented on June 20, 2024

Thanks

from random-item-giver-datapack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.