Skip to content

Conversation

@JustAlittleWolf
Copy link

  • Implement Allow item names to be non-italic #4

    • This works by changing any item names that have custom formatting to be non-italic.
    • Examples:
      Item name: Name will still be italic
      Item name: <red>Name will be red and not italic
      Item name: <i><red>Name will be red and italic
      Item name: <reset>Name will still be italic, this is an issue with the detection method.
      Item name: <white>Name will not be italic
  • Remove the kotlin dependency, replcace the welcome message with vanilla java for easier mod installation

  • bump dependency versions

  • add fabric api as a dependency (the fabric-api-base could also be included in the built .jar file, but since most people already have the fabric-api installed anyways, it is unnecessary)

  • mark the game version as 1.20-1.20.1, as 1.20.2 and 1.20.4 need different versions of PlaceholderAPI

  • update gradle to 8.5, as at least 8.3 is needed for fabric-loom 1.5-SNAPSHOT (gradle was on version 8.1.1 before)

Also removed fabric api, as it is unused, and changed fabric language kotlin from an included dependency, to an external dependency as it is quite large. Also removed fabric-api-base as an included dependency, and added fabric-api as an external dependency. Fabric-api is a common dependency so it is most likely already installed.
Replace the kotlin introduction message with a pure java implementation that is just as concise. This eliminates the need for an extra library that the user has to think about.
Changes item names to be non-italic when applying a custom formatting.
Examples:
Item name: "Name" will still be italic
Item name: "<red>Name" will be red and not italic
Item name: "<i><red>Name" will be red and italic
Item name: "<reset>Name" will still be italic, this is an issue with the detection method.
Item name: "<white>Name" will not be italic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant