Refactor ModVersion into Mod and ModVersion

* Remove V1 of the mod version parser and shift V2 up to be V1
* Add a parser for mod.cg files, and refactor the the mod-version.cg
  files to push the appropriate content up to the mod.cg
* Remove the concept of "silent" from BaseModel along with logging
  each event as they are fired (which is what really prompted the
  need for it in the first place)
* Move use of the Storage class to be completely the province of the
  controllers most closely related to models affected
* Convert the ModVersionController to the ModController and have it
  take on responsibility for choosing the mod version
* Update BaseModel to support simple accessors for the current state
* Update CraftingPlan to be able to remove uncraftable items
* Implement the Mod model
This commit is contained in:
Andrew Miner
2015-01-18 10:48:12 -08:00
parent 76dc863372
commit d1621bb9f6
39 changed files with 922 additions and 1176 deletions
+7
View File
@@ -0,0 +1,7 @@
schema: 1
author: AlgorithmX2
description: A technical mod which adds an advanced, computer-based storage system
url: http://www.mod-buildcraft.com
version: rv1-stable-1
@@ -1,7 +1,4 @@
schema: 2
name: Applied Energistics 2
version: rv1-stable-1
description: Crafting recipes from Applied Energistics, by AlgorithmX2
schema: 1
item: 128³ Spatial Component
recipe:
+1 -4
View File
@@ -1,7 +1,4 @@
schema: 2
name: Buildcraft
version: 6.2.6
description: Crafting recipes from BuildCraft, by SpaceToad
schema: 1
item: Advanced Crafting Table
recipe:
+7
View File
@@ -0,0 +1,7 @@
schema: 1
author: Spacetoad
description: A technical mod which adds power generation, mining, and building systems
url: http://www.mod-buildcraft.com
version: 6.2.6
@@ -1,7 +1,4 @@
schema: 2
name: IC2 Classic
version: 1.111.170-lf
description: Crafting recipes from IndustrialCraft, by Alblaka
schema: 1
item: 10K Cooling Cell
recipe:
+7
View File
@@ -0,0 +1,7 @@
schema: 1
author: Alblaka
description: A technical mod adding multi-tiered power systems, mining and ore processing, and powered armor
url: http://http://wiki.industrial-craft.net/
version: 1.111.170-lf
+1 -4
View File
@@ -1,7 +1,4 @@
schema: 2
name: Minecraft
version: 1.7.10
description: Crafting recipes from vanilla Minecraft
schema: 1
item: Acacia Wood Planks
recipe:
+7
View File
@@ -0,0 +1,7 @@
schema: 1
author: Mojang
description: The basic game by itself
url: http://www.minecraft.net
version: 1.7.10