Updated schematic registration
This commit is contained in:
parent
f848a8e7b8
commit
2383da4684
2 changed files with 9 additions and 10 deletions
|
@ -25,12 +25,12 @@ import resonant.api.IElectromagnet
|
||||||
import resonant.api.event.PlasmaEvent
|
import resonant.api.event.PlasmaEvent
|
||||||
import resonant.api.recipe.QuantumAssemblerRecipes
|
import resonant.api.recipe.QuantumAssemblerRecipes
|
||||||
import resonant.content.loader.{ContentHolder, ExplicitContentName}
|
import resonant.content.loader.{ContentHolder, ExplicitContentName}
|
||||||
import resonant.engine.content.debug.TileCreativeBuilder
|
|
||||||
import resonant.engine.grid.thermal.EventThermal
|
import resonant.engine.grid.thermal.EventThermal
|
||||||
import resonant.lib.network.discriminator.PacketAnnotationManager
|
import resonant.lib.network.discriminator.PacketAnnotationManager
|
||||||
import resonant.lib.ore.OreGenerator
|
import resonant.lib.ore.OreGenerator
|
||||||
import resonant.lib.recipe.UniversalRecipe
|
import resonant.lib.recipe.UniversalRecipe
|
||||||
import resonant.lib.render.RenderUtility
|
import resonant.lib.render.RenderUtility
|
||||||
|
import resonant.lib.schematic.SchematicRegistry
|
||||||
import resonantinduction.atomic.blocks._
|
import resonantinduction.atomic.blocks._
|
||||||
import resonantinduction.atomic.items._
|
import resonantinduction.atomic.items._
|
||||||
import resonantinduction.atomic.machine.TileFunnel
|
import resonantinduction.atomic.machine.TileFunnel
|
||||||
|
@ -142,10 +142,10 @@ object AtomicContent extends ContentHolder
|
||||||
itemBucketToxic = manager.newItem("bucketToxicWaste", new ItemBucket(AtomicContent.blockPlasma)).setCreativeTab(ResonantTab.tab).setContainerItem(Items.bucket).setTextureName(Reference.prefix + "bucketToxicWaste")
|
itemBucketToxic = manager.newItem("bucketToxicWaste", new ItemBucket(AtomicContent.blockPlasma)).setCreativeTab(ResonantTab.tab).setContainerItem(Items.bucket).setTextureName(Reference.prefix + "bucketToxicWaste")
|
||||||
|
|
||||||
//Schematics
|
//Schematics
|
||||||
TileCreativeBuilder.register(new SchematicAccelerator)
|
SchematicRegistry.register("resonantInduction.atomic.accelerator", new SchematicAccelerator)
|
||||||
TileCreativeBuilder.register(new SchematicBreedingReactor)
|
SchematicRegistry.register("resonantInduction.atomic.breedingReactor",new SchematicBreedingReactor)
|
||||||
TileCreativeBuilder.register(new SchematicFissionReactor)
|
SchematicRegistry.register("resonantInduction.atomic.fissionReactor",new SchematicFissionReactor)
|
||||||
TileCreativeBuilder.register(new SchematicFusionReactor)
|
SchematicRegistry.register("resonantInduction.atomic.fusionReactor",new SchematicFusionReactor)
|
||||||
|
|
||||||
//Fluid Containers
|
//Fluid Containers
|
||||||
AtomicContent.FLUID_PLASMA.setBlock(AtomicContent.blockPlasma)
|
AtomicContent.FLUID_PLASMA.setBlock(AtomicContent.blockPlasma)
|
||||||
|
|
|
@ -4,10 +4,9 @@ import net.minecraft.block.Block
|
||||||
import net.minecraft.init.{Blocks, Items}
|
import net.minecraft.init.{Blocks, Items}
|
||||||
import net.minecraft.item.{Item, ItemStack}
|
import net.minecraft.item.{Item, ItemStack}
|
||||||
import resonant.content.loader.ContentHolder
|
import resonant.content.loader.ContentHolder
|
||||||
import resonant.engine.content.debug.TileCreativeBuilder
|
|
||||||
import resonant.lib.network.discriminator.PacketAnnotationManager
|
import resonant.lib.network.discriminator.PacketAnnotationManager
|
||||||
import resonant.lib.recipe.UniversalRecipe
|
import resonant.lib.recipe.UniversalRecipe
|
||||||
import resonant.lib.schematic.SchematicPlate
|
import resonant.lib.schematic.{SchematicPlate, SchematicRegistry}
|
||||||
import resonantinduction.core.interfaces.IMechanicalNode
|
import resonantinduction.core.interfaces.IMechanicalNode
|
||||||
import resonantinduction.core.{Reference, ResonantPartFactory, ResonantTab}
|
import resonantinduction.core.{Reference, ResonantPartFactory, ResonantTab}
|
||||||
import resonantinduction.mechanical.fluid.pipe.{ItemPipe, PartPipe, PipeMaterials}
|
import resonantinduction.mechanical.fluid.pipe.{ItemPipe, PartPipe, PipeMaterials}
|
||||||
|
@ -68,9 +67,9 @@ object MechanicalContent extends ContentHolder
|
||||||
blockTileBreaker = manager.newBlock(classOf[TileBreaker])
|
blockTileBreaker = manager.newBlock(classOf[TileBreaker])
|
||||||
blockTilePlacer = manager.newBlock(classOf[TilePlacer])
|
blockTilePlacer = manager.newBlock(classOf[TilePlacer])
|
||||||
|
|
||||||
TileCreativeBuilder.register(new SchematicPlate("schematic.waterTurbine.name", MechanicalContent.blockWaterTurbine))
|
SchematicRegistry.register("resonantinduction.mechanical.waterTurbine",new SchematicPlate("schematic.waterTurbine.name", MechanicalContent.blockWaterTurbine))
|
||||||
TileCreativeBuilder.register(new SchematicPlate("schematic.windTurbine.name", MechanicalContent.blockWindTurbine))
|
SchematicRegistry.register("resonantinduction.mechanical.windTurbine",new SchematicPlate("schematic.windTurbine.name", MechanicalContent.blockWindTurbine))
|
||||||
TileCreativeBuilder.register(new SchematicPlate("schematic.electricTurbine.name", MechanicalContent.blockElectricTurbine))
|
SchematicRegistry.register("resonantinduction.mechanical.electricalTurbine",new SchematicPlate("schematic.electricTurbine.name", MechanicalContent.blockElectricTurbine))
|
||||||
|
|
||||||
NodeRegistry.register(classOf[IMechanicalNode], classOf[MechanicalNode])
|
NodeRegistry.register(classOf[IMechanicalNode], classOf[MechanicalNode])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue