Class GlobalLootModifiersTest
- java.lang.Object
-
- net.minecraftforge.debug.gameplay.loot.GlobalLootModifiersTest
-
public class GlobalLootModifiersTest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
GlobalLootModifiersTest.DataProvider
private static class
GlobalLootModifiersTest.DungeonLootEnhancerModifier
static class
GlobalLootModifiersTest.EventHandlers
private static class
GlobalLootModifiersTest.SilkTouchTestModifier
When harvesting blocks with bamboo, this modifier is invoked, via the silk_touch_bamboo loot_modifier jsonprivate static class
GlobalLootModifiersTest.SmelterEnchantment
private static class
GlobalLootModifiersTest.SmeltingEnchantmentModifier
The smelting enchantment causes this modifier to be invoked, via the smelting loot_modifier jsonprivate static class
GlobalLootModifiersTest.WheatSeedsConverterModifier
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)
-
Field Summary
Fields Modifier and Type Field Description private static RegistryObject<GlobalLootModifiersTest.DungeonLootEnhancerModifier.Serializer>
DUNGEON_LOOT
static boolean
ENABLE
private static DeferredRegister<Enchantment>
ENCHANTS
private static DeferredRegister<GlobalLootModifierSerializer<?>>
GLM
static java.lang.String
MODID
private static RegistryObject<GlobalLootModifiersTest.SilkTouchTestModifier.Serializer>
SILKTOUCH
private static RegistryObject<Enchantment>
SMELT
private static RegistryObject<GlobalLootModifiersTest.SmeltingEnchantmentModifier.Serializer>
SMELTING
private static RegistryObject<GlobalLootModifiersTest.WheatSeedsConverterModifier.Serializer>
WHEATSEEDS
-
Constructor Summary
Constructors Constructor Description GlobalLootModifiersTest()
-
-
-
Field Detail
-
MODID
public static final java.lang.String MODID
- See Also:
- Constant Field Values
-
ENABLE
public static final boolean ENABLE
- See Also:
- Constant Field Values
-
GLM
private static final DeferredRegister<GlobalLootModifierSerializer<?>> GLM
-
ENCHANTS
private static final DeferredRegister<Enchantment> ENCHANTS
-
DUNGEON_LOOT
private static final RegistryObject<GlobalLootModifiersTest.DungeonLootEnhancerModifier.Serializer> DUNGEON_LOOT
-
SMELTING
private static final RegistryObject<GlobalLootModifiersTest.SmeltingEnchantmentModifier.Serializer> SMELTING
-
WHEATSEEDS
private static final RegistryObject<GlobalLootModifiersTest.WheatSeedsConverterModifier.Serializer> WHEATSEEDS
-
SILKTOUCH
private static final RegistryObject<GlobalLootModifiersTest.SilkTouchTestModifier.Serializer> SILKTOUCH
-
SMELT
private static final RegistryObject<Enchantment> SMELT
-
-