StickyPiston-development / CreateCobblestone

Adds a block generating cobblestone using SU, stopping cobblestone generators from eating your frames.
Creative Commons Zero v1.0 Universal
3 stars 0 forks source link

Data or config driven additions #8

Open Grimmspecter opened 3 months ago

Grimmspecter commented 3 months ago

It would be cool if we could add custom blocks to the generator either via a config(preferred) or via a data pack. something like EXAMPLE } } minecraft:stone SU threshold # outputamount: outputtime:

ect ect that way it could be used for modpacks for greater customization then we could configure blocks and make more expensive blocks take a long time and with low output if we want

MrStickyPiston commented 2 days ago

In the new beta, included is the option to add generators using a datapack. See for example https://modrinth.com/datapack/create-cobblestone-deepslate-generators. It only includes the option to add a generator for now but i will be changing this.

Modrinth Fabric: https://modrinth.com/mod/create-cobblestone/version/1.4.1-beta+fabric-1.20.1-56 Forge: https://modrinth.com/mod/create-cobblestone/version/1.4.1-beta+forge-1.20.1-56

MrStickyPiston commented 2 days ago

I also got the other stuff working: https://www.youtube.com/watch?v=c_1c3vrQKR8

The config for deepslate i used for showcase is:

{
  "block": "minecraft:deepslate",
  "stress": "1024",
  "ratio": "80000"
}

When a field is not in the json it will take the value from config.

MrStickyPiston commented 2 days ago

I would appreciate it if you could test if this is what you wanted and check for bugs.

Modrinth Fabric: https://modrinth.com/mod/create-cobblestone/version/1.4.1-beta-2+fabric-1.20.1-59 Forge: https://modrinth.com/mod/create-cobblestone/version/1.4.1-beta-2+forge-1.20.1-59