Create

Create

86M Downloads

Use a tag to determine the items the Schematicannon can use as fuel

James103 opened this issue ยท 4 comments

commented

Describe the Suggestion

Currently, the Schematicannon is limited to using only vanilla gunpowder as fuel.

Some modpacks and playing styles make gunpowder more difficult to obtain, for example by disabling the spawning of hostile mobs including creepers. However, a subset of those modpacks encourage players to build, for which the grind can be lessened with use of the Schematicannon.

Meanwhile, server owners may want another way to limit excessive Schematicannon usage while keeping gunpowder obtainable in large quantities.

Both of these can be solved by creating a new tag, create:schematicannon_fuel, and making the Schematicannon use items from that tag instead of the hard-coded vanilla gunpowder. To preserve existing behavior, the tag by default contains the vanilla gunpowder item, but this can be changed using datapacks.

For example:

  • One building-focused modpack disables the spawning of creepers. To preserve Schematicannon functionality, the new tag can be changed to allow the Schematicannon to use coal, redstone, or a similar item in place of gunpowder.
  • A server owner wants to limit the use of the Schematicannon on their server. Instead of severely restricting the amount of Gunpowder obtainable (possibly breaking progression), the new tag can be changed so as to make the Schematicannon consume diamonds, coins, or a custom schematic token item to run.

Screenshots and Videos

No response

Additional Context

No response

commented

seems good

commented

I would also like to see this feature implemented. Additionally, making the number of shots per consumed item configurable would also be a nice feature.

commented

Additionally, making the number of shots per consumed item configurable would also be a nice feature.

This is already configurable through the gunpowderWorth and fuelUsage settings in the Schematics category of the server config.

commented

Additionally, making the number of shots per consumed item configurable would also be a nice feature.

This is already configurable through the gunpowderWorth and fuelUsage settings in the Schematics category of the server config.

Whoops I forgot to check the server config. I only checked the common config.