Uses of Class
net.minecraftforge.common.loot.LootModifier
Packages that use LootModifier
-
Uses of LootModifier in net.minecraftforge.common.loot
Methods in net.minecraftforge.common.loot with type parameters of type LootModifierModifier and TypeMethodDescriptionprotected static <T extends LootModifier>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>,LootItemCondition[]> LootModifier.codecStart
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> instance) Simplifies codec creation, especially if no other fields are added: -
Uses of LootModifier in net.minecraftforge.debug.gameplay.loot
Subclasses of LootModifier in net.minecraftforge.debug.gameplay.lootModifier and TypeClassDescriptionprivate static class
private static class
When harvesting blocks with bamboo, this modifier is invoked, via the silk_touch_bamboo loot_modifier jsonprivate static class
The smelting enchantment causes this modifier to be invoked, via the smelting loot_modifier jsonprivate static class
When harvesting wheat with shears, this modifier is invoked via the wheat_harvest loot_modifier json
This modifier checks how many seeds were harvested and turns X seeds into Y wheat (3:1)