Class GlobalLootModifiersTest.DungeonLootEnhancerModifier
java.lang.Object
net.minecraftforge.common.loot.LootModifier
net.minecraftforge.debug.gameplay.loot.GlobalLootModifiersTest.DungeonLootEnhancerModifier
- All Implemented Interfaces:
IGlobalLootModifier
- Enclosing class:
- GlobalLootModifiersTest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class -
Field Summary
FieldsFields inherited from class net.minecraftforge.common.loot.LootModifier
conditions -
Constructor Summary
ConstructorsConstructorDescriptionDungeonLootEnhancerModifier(ILootCondition[] conditionsIn) DungeonLootEnhancerModifier(ILootCondition[] conditionsIn, int multiplicationFactor) -
Method Summary
Methods inherited from class net.minecraftforge.common.loot.LootModifier
apply
-
Field Details
-
multiplicationFactor
private final int multiplicationFactor
-
-
Constructor Details
-
DungeonLootEnhancerModifier
-
DungeonLootEnhancerModifier
-
-
Method Details
-
doApply
Description copied from class:LootModifierApplies the modifier to the generated loot (all loot conditions have already been checked and have returned true).- Specified by:
doApplyin classLootModifier- Parameters:
generatedLoot- the list of ItemStacks that will be dropped, generated by loot tablescontext- the LootContext, identical to what is passed to loot tables- Returns:
- modified loot drops
-