Class VanillaDeathChest

  • All Implemented Interfaces:
    net.fabricmc.api.ModInitializer

    public final class VanillaDeathChest
    extends Object
    implements net.fabricmc.api.ModInitializer
    The main VanillaDeathChest class.
    • Field Detail

      • logger

        public static final org.apache.logging.log4j.Logger logger
        The VanillaDeathChest logger. This should only be used by VanillaDeathChest.
      • SPAWN_DEATH_CHESTS

        public static final @Nullable net.minecraft.world.GameRules.Key<net.minecraft.world.GameRules.BooleanRule> SPAWN_DEATH_CHESTS
        The game rule that controls whether death chests should be spawned.
    • Constructor Detail

      • VanillaDeathChest

        public VanillaDeathChest()
    • Method Detail

      • onInitialize

        public void onInitialize()
        Specified by:
        onInitialize in interface net.fabricmc.api.ModInitializer
      • config

        public static VDCConfig config()
        Returns the VanillaDeathChest configuration.
        Returns:
        a VDCConfig object.
      • reloadConfig

        public static void reloadConfig()
        Reloads the VanillaDeathChest configuration from disk.