Advertisement
nyapoleon_legionary

RTMRail.Class

Nov 18th, 2024
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.22 KB | None | 0 0
  1. package jp.ngt.rtm;
  2.  
  3. import jp.ngt.ngtlib.util.NGTRegHandler;
  4. import jp.ngt.rtm.rail.BlockLargeRailBase;
  5. import jp.ngt.rtm.rail.BlockLargeRailCore;
  6. import jp.ngt.rtm.rail.BlockLargeRailSwitchBase;
  7. import jp.ngt.rtm.rail.BlockLargeRailSwitchCore;
  8. import jp.ngt.rtm.rail.BlockTurntableCore;
  9. import jp.ngt.rtm.rail.TileEntityLargeRailBase;
  10. import jp.ngt.rtm.rail.TileEntityLargeRailNormalCore;
  11. import jp.ngt.rtm.rail.TileEntityLargeRailSwitchBase;
  12. import jp.ngt.rtm.rail.TileEntityLargeRailSwitchCore;
  13. import jp.ngt.rtm.rail.TileEntityMarker;
  14. import jp.ngt.rtm.rail.TileEntityTurnTableCore;
  15. import net.minecraft.block.Block;
  16. import net.minecraft.creativetab.CreativeTabs;
  17. import net.minecraftforge.fml.common.registry.GameRegistry;
  18.  
  19. public final class RTMRail {
  20.    public static Block largeRailBase;
  21.    public static Block largeRailCore;
  22.    public static Block largeRailSwitchBase;
  23.    public static Block largeRailSwitchCore;
  24.    public static Block TURNTABLE_CORE;
  25.  
  26.    public static void init() {
  27.       largeRailBase = NGTRegHandler.register(new BlockLargeRailBase(), "large_rail_base", "rtm:LRBase", (CreativeTabs)null, "rtm");
  28.       largeRailCore = NGTRegHandler.register(new BlockLargeRailCore(), "large_rail_core", "rtm:LRCore", (CreativeTabs)null, "rtm");
  29.       largeRailSwitchBase = NGTRegHandler.register(new BlockLargeRailSwitchBase(), "large_rail_switch_base", "rtm:LRSBase", (CreativeTabs)null, "rtm");
  30.       largeRailSwitchCore = NGTRegHandler.register(new BlockLargeRailSwitchCore(), "large_rail_switch_core", "rtm:LRSCore", (CreativeTabs)null, "rtm");
  31.       TURNTABLE_CORE = NGTRegHandler.register(new BlockTurntableCore(), "turntable_core", "rtm:turntable_core", (CreativeTabs)null, "rtm");
  32.       GameRegistry.registerTileEntity(TileEntityLargeRailBase.class, "TERailBase");
  33.       GameRegistry.registerTileEntity(TileEntityLargeRailNormalCore.class, "TERailCore");
  34.       GameRegistry.registerTileEntity(TileEntityLargeRailSwitchBase.class, "TERailSwitchBase");
  35.       GameRegistry.registerTileEntity(TileEntityLargeRailSwitchCore.class, "TERailSwitchCore");
  36.       GameRegistry.registerTileEntity(TileEntityTurnTableCore.class, "TETurntableCore");
  37.       GameRegistry.registerTileEntity(TileEntityMarker.class, "TEMarker");
  38.    }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement