Class GlobalLootModifiersTest
java.lang.Object
net.minecraftforge.debug.gameplay.loot.GlobalLootModifiersTest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
static class
private static class
When harvesting blocks with bamboo, this modifier is invoked, via the silk_touch_bamboo loot_modifier jsonprivate static class
private 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) -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final RegistryObject<com.mojang.serialization.Codec<GlobalLootModifiersTest.DungeonLootEnhancerModifier>>
static final boolean
private static final DeferredRegister<Enchantment>
private static final DeferredRegister<com.mojang.serialization.Codec<? extends IGlobalLootModifier>>
static final String
private static final RegistryObject<com.mojang.serialization.Codec<GlobalLootModifiersTest.SilkTouchTestModifier>>
private static final RegistryObject<Enchantment>
private static final RegistryObject<com.mojang.serialization.Codec<GlobalLootModifiersTest.SmeltingEnchantmentModifier>>
private static final RegistryObject<com.mojang.serialization.Codec<GlobalLootModifiersTest.WheatSeedsConverterModifier>>
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MODID
- See Also:
-
ENABLE
public static final boolean ENABLE- See Also:
-
GLM
private static final DeferredRegister<com.mojang.serialization.Codec<? extends IGlobalLootModifier>> GLM -
ENCHANTS
-
DUNGEON_LOOT
private static final RegistryObject<com.mojang.serialization.Codec<GlobalLootModifiersTest.DungeonLootEnhancerModifier>> DUNGEON_LOOT -
SMELTING
private static final RegistryObject<com.mojang.serialization.Codec<GlobalLootModifiersTest.SmeltingEnchantmentModifier>> SMELTING -
WHEATSEEDS
private static final RegistryObject<com.mojang.serialization.Codec<GlobalLootModifiersTest.WheatSeedsConverterModifier>> WHEATSEEDS -
SILKTOUCH
private static final RegistryObject<com.mojang.serialization.Codec<GlobalLootModifiersTest.SilkTouchTestModifier>> SILKTOUCH -
SMELT
-
-
Constructor Details
-
GlobalLootModifiersTest
public GlobalLootModifiersTest()
-