Package bunyan.config

Source Code of bunyan.config.ConfigureItems

/**
* Copyright (c) Scott Killen, 2012
*
* This mod is distributed under the terms of the Minecraft Mod Public
* License 1.0, or MMPL. Please check the contents of the license
* located in /MMPL-1.0.txt
*/

package bunyan.config;

import net.minecraft.src.forge.Configuration;
import bunyan.Proxy;
import bunyan.items.BunyanItem;
import bunyan.items.LogTurner;

public class ConfigureItems {

  public static void addNames() {
    Proxy.addName(BunyanItem.logTurner, "Log Turner");
  }

  public static void initialize() {
    final int turnerID = Config.getOrCreateIntProperty(
        "logturner.id", Configuration.CATEGORY_ITEM, 7858);
    BunyanItem.logTurner = new LogTurner(turnerID)
        .setItemName("log.turner");
  }

}
TOP

Related Classes of bunyan.config.ConfigureItems

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.