Skip to content

4.1.0

Choose a tag to compare

@Xires87 Xires87 released this 07 Dec 10:08
· 19 commits to master since this release

4.1.0+1.20

New features:

  • rules now work with HashSets (tags can still be used but there is no need to create tag for 1 item)
  • rules can be enabled/disabled
  • no need to use mixins to create new (working) RBR or OCR

Breaking changes:
TooltipRules:

  • have to be called inside ClientModInitializer (otherwise server will not be able to start)
  • have Text in parameters (before it was string)
  • removed Formatting fields (Text holds formatting)

Other changes:

  • tags used in rules are nullable
  • some methods were renamed (creating rules remains the same)
  • removed ruleName from OCR and RBR (no idea why it was there)
  • OnCraftRules and RecipeBlockingRules extends AbstractRule
  • OnCraftRules is abstract
  • AttributeModifierOCR is deprecated
  • much cleaner code