Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.spacemex.anotherhammermod;
- import net.minecraftforge.common.ForgeConfigSpec;
- import net.minecraftforge.eventbus.api.SubscribeEvent;
- import net.minecraftforge.fml.common.Mod;
- import net.minecraftforge.fml.event.config.ModConfigEvent;
- import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
- import net.minecraftforge.fml.loading.FMLConfig;
- import java.util.List;
- @Mod.EventBusSubscriber(modid = AnotherHammerMod.MODID, bus = Mod.EventBusSubscriber.Bus.MOD)
- public class Config
- {
- private static final String EXPLAIN = "Example 3x1 3 Being The Radius And 1 Being The Depth\n" +
- "So It Would Mine A 3x3 Radius And Only Go One Block Deep";
- private static final ForgeConfigSpec.Builder BUILDER = new ForgeConfigSpec.Builder();
- public static final ForgeConfigSpec.ConfigValue<String> WOODEN_HAMMER_STATS = BUILDER
- .comment("The Stats For The Wooden Hammer Default Is 3x1")
- .comment(EXPLAIN)
- .define("modHammerStats", "3x1")
- ;
- static final ForgeConfigSpec SPEC = BUILDER.build();
- @SubscribeEvent
- static void onLoad(final ModConfigEvent event)
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement