Class GlobalLootModifiersTest
java.lang.Object
net.minecraftforge.debug.gameplay.loot.GlobalLootModifiersTest
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private 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
Modifier and TypeFieldDescriptionstatic 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
static final RegistryObject<com.mojang.serialization.Codec<GlobalLootModifiersTest.SilkTouchTestModifier>>
static final RegistryObject<Enchantment>
static final RegistryObject<com.mojang.serialization.Codec<GlobalLootModifiersTest.SmeltingEnchantmentModifier>>
static final RegistryObject<com.mojang.serialization.Codec<GlobalLootModifiersTest.WheatSeedsConverterModifier>>
-
Constructor Summary
-
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
public static final RegistryObject<com.mojang.serialization.Codec<GlobalLootModifiersTest.DungeonLootEnhancerModifier>> DUNGEON_LOOT -
SMELTING
public static final RegistryObject<com.mojang.serialization.Codec<GlobalLootModifiersTest.SmeltingEnchantmentModifier>> SMELTING -
WHEATSEEDS
public static final RegistryObject<com.mojang.serialization.Codec<GlobalLootModifiersTest.WheatSeedsConverterModifier>> WHEATSEEDS -
SILKTOUCH
public static final RegistryObject<com.mojang.serialization.Codec<GlobalLootModifiersTest.SilkTouchTestModifier>> SILKTOUCH -
SMELT
-
-
Constructor Details
-
GlobalLootModifiersTest
public GlobalLootModifiersTest()
-
-
Method Details
-
runData
-
onCreativeModeTabBuildContents
-