MCPcopy Create free account
hub / github.com/BuildCraft/BuildCraft / preInit

Method preInit

common/buildcraft/core/BCCoreBlocks.java:28–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 public static BlockMarkerPath markerPath;
27
28 public static void preInit() {
29 spring = BlockBCBase_Neptune.register(new BlockSpring("block.spring"), ItemBlockSpring::new);
30 markerVolume = BlockBCBase_Neptune.register(new BlockMarkerVolume(Material.CIRCUITS, "block.marker.volume"));
31 markerPath = BlockBCBase_Neptune.register(new BlockMarkerPath(Material.CIRCUITS, "block.marker.path"));
32 decorated = BlockBCBase_Neptune.register(new BlockDecoration("block.decorated"), ItemBlockDecorated::new);
33
34 engine = BlockBCBase_Neptune.register(new BlockEngine_BC8(Material.IRON, "block.engine.bc"), ItemEngine_BC8<EnumEngineType>::new);
35 engine.registerEngine(EnumEngineType.WOOD, TileEngineRedstone_BC8::new);
36
37 TileBC_Neptune.registerTile(TileMarkerVolume.class, "tile.marker.volume");
38 TileBC_Neptune.registerTile(TileMarkerPath.class, "tile.marker.path");
39 TileBC_Neptune.registerTile(TileEngineRedstone_BC8.class, "tile.engine.wood");
40 }
41}

Callers 1

preInitMethod · 0.95

Calls 3

registerMethod · 0.95
registerTileMethod · 0.95
registerEngineMethod · 0.80

Tested by

no test coverage detected