Modular machines
Posted: Thu Jun 08, 2017 5:11 pm
I'm wanting to make a mod that adds modular machines that function similar to multi-block structures in minecraft mods-- eg Colossal Chests or Blood Magic mods.
My goal is to replace every machine, furnace, assembler, etc (except for maybe belts) with multi-entity structures.
These structures would have different entities that modify the behavior of the multi-entity structure based on the entities used. Blood Magic's altars could be an example.
Every structure would have a corepiece, say furnaces use a "furnace corepiece", and then would contain 'structural pieces' in a square or rectangular shape (corepiece cannot be on the perimeter of this shape). Other shapes would fail to form a machine and would therefore not perform the desired action. (This probably means that every time a piece involved in any modular machine was mined or places, it would run a function)
If you don't want to go look up blood magic mod, I'll try another example
Say you have machine X using corepiece A, structure piece B, speed-increasing structure piece C, and productivity piece E (N for nothing),
perhaps 10% speed increase (doesn't stack, so 2 pieces would give 20% bonus, not 10% * 10% bonus, which would yield a 21% bonus.) per C, and 1% productivity increase per D (again, doesn't stack)
following 1 letter = 1 grid tile as a guideline
BBB
BAB -- this would be the most basic machine of corepiece type A, say with a crafting speed of 1.
BBB
BCB
CAC -- this would be the same as above, but with a 1.4 crafting speed.
BCB
BBBB
BABB -- would somehow be different than the first example, don't know yet. perhaps the perimeter of the machine affects stats?
BBBB
EEE
EAE -- would be the same as the first example, but with a 8% productivity bonus.
EEE
Problem is, I don't know how to do this because I'm still fairly new to modding. Help would be greatly appreciated, or if you feel up to it, make it yourself, assuming I get credit for the ideas.
My goal is to replace every machine, furnace, assembler, etc (except for maybe belts) with multi-entity structures.
These structures would have different entities that modify the behavior of the multi-entity structure based on the entities used. Blood Magic's altars could be an example.
Every structure would have a corepiece, say furnaces use a "furnace corepiece", and then would contain 'structural pieces' in a square or rectangular shape (corepiece cannot be on the perimeter of this shape). Other shapes would fail to form a machine and would therefore not perform the desired action. (This probably means that every time a piece involved in any modular machine was mined or places, it would run a function)
If you don't want to go look up blood magic mod, I'll try another example
Say you have machine X using corepiece A, structure piece B, speed-increasing structure piece C, and productivity piece E (N for nothing),
perhaps 10% speed increase (doesn't stack, so 2 pieces would give 20% bonus, not 10% * 10% bonus, which would yield a 21% bonus.) per C, and 1% productivity increase per D (again, doesn't stack)
following 1 letter = 1 grid tile as a guideline
BBB
BAB -- this would be the most basic machine of corepiece type A, say with a crafting speed of 1.
BBB
BCB
CAC -- this would be the same as above, but with a 1.4 crafting speed.
BCB
BBBB
BABB -- would somehow be different than the first example, don't know yet. perhaps the perimeter of the machine affects stats?
BBBB
EEE
EAE -- would be the same as the first example, but with a 8% productivity bonus.
EEE
Problem is, I don't know how to do this because I'm still fairly new to modding. Help would be greatly appreciated, or if you feel up to it, make it yourself, assuming I get credit for the ideas.