MCREATOR TUTORIAL: Loot Tables Procedures | 2021.3
Channel: NorthWestTrees MCreator
Date: 2022-01-28

Today we will be covering how to use custom loot tables in 

► COMMAND
loot spawn ~ ~ ~ loot namespace:loot_table_registry

Minecraft Namespace Example
loot spawn ~ ~ ~ loot minecraft:blocks/dirt_loot

Mod Namespace Example
loot spawn ~ ~ ~ loot nodes_plus:blocks/dirt_loot

Forge Namespace Example
loot spawn ~ ~ ~ loot forge:blocks/dirt_loot

► HOW TO GET WEIGHT VALUE FROM LOOT TABLES
SUM = the total weight in the pool
WEIGHT = the weight of the value you want to know about.
VALUE = the value from the first part of the calculation.
CHANCE = the chance of the item to drop.
/ = division

SUM / WEIGHT = VALUE
100 / VALUE = CHANCE

EXAMPLE
Calculate sticks chances we can use the math above.

Apple ( Weight 100 )
Sticks ( Weight 40 )
Total weight 140 ( = SUM )

140 / 40 = 3.5 
100 / 3.5 = 28.571%

The total odds of the stick dropping out of 100 is 28.57% of the time.
Apples have a 71.43% chance each time the loot table is run.

►TUTORIAL REQUESTS
Got a tutorial suggestion? Share it with me on GitHub and it may be made in the future! https://github.com/MCreator-Examples/Feedback/issues

► SERIES
In this series, I create community suggestions from scratch using the MCreator program then make tutorials on how to set up the project for your own mods. Some projects are more complex than others but I aim to make them easy for everyone to follow along. These videos are also a collaboration with Pylo the development company that makes MCreator.

► OFFICIAL SITES
    ● NWTG Website
        https://www.northwesttreesgaming.com
    ● Discord Server Page
        https://www.northwesttreesgaming.com/discord

► TAGS
#NorthWestTreesGaming
#MCreator
#MinecraftMods
#MinecraftForge