Forgero - [Fabric]

Forgero - [Fabric]

85k Downloads

Add support for Forgero Gems

SigmundGranaas opened this issue ยท 2 comments

commented

The Forgero Gems are explained in Forgero Gems

Todo:

  • #18
  • #19
  • #20
  • Add Damage enhancing gem
  • Add mining speed enhancing gem
  • Add durability enhancing gem
commented

Requirements for proper gem support:

Tests:

All of these requires an in-game and/or unit test.

Damage gem

  • Applying a level 1 damage gem to a tool part should increase the damage of the tool by the amount specified by the gem.
  • Test all levels of gems with a weapon and a mob
  • Increasing the level of a gem should multiply the effect of the gem by its level.

XXXXXXX - Unable to create gametests for damage, I might look into this later

Durability gem

  • Applying a level 1 mining speed gem to a tool part should increase the mining speed of the tool by the amount specified by the gem.
  • Increasing the level of a gem should multiply the effect of the gem by its level.

Mining speed gem

  • Applying a level 1 durability gem to a tool part should increase the durability of the tool by the amount specified by the gem.
  • Increasing the level of a gem should multiply the effect of the gem by its level.

General

  • Verify that all gems have been registered into the game
  • Verify that all gems have been loaded into a collection

Crafting/creating

  • Verify all gems can be upgraded to its maximum value
  • Verify NBT's are properly created and that the nbt correspond to the gem's level
  • Test that Gems can be properly added to tool parts
  • Test that only 1 gem can be applied to a tool part
  • Test that upgrading a tool part with a gem does not override any other NBT values
  • Test that gems cannot be combined at different levels
commented

Possible gems to be added:

  • Nether star
  • Ender pearl