Skip to content

Conversation

@WaitingIdly
Copy link
Collaborator

@WaitingIdly WaitingIdly commented Oct 4, 2025

changes in this PR:

  • Add an inverter to object mappers, so doing ie item % item('minecraft:clay') returns the String item('minecraft:clay').
  • implement this for a lot of Object Mappers - of Object Mappers in GroovyScript, only the Forestry Species one is not implemented (35/36).
    • add questionable conversion for thaumcraft crystals and alchemistry elements.
  • change parseOreDict from returning Result<IIngredient> to Result<OreDictIngredient>.
  • make fluid and liquid have the same builder methods instead of each missing some.
  • add a few more asGroovyCode methods.
  • change thermal compactorMode to use completerOfEnum.
  • fix preInit/mekanism.groovy using the wrong file (still using placeholdername)

@WaitingIdly WaitingIdly added the enhancement New feature or request label Oct 4, 2025
# Conflicts:
#	src/main/java/com/cleanroommc/groovyscript/mapper/ObjectMapperManager.java
Copy link
Member

@brachy84 brachy84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean

@brachy84 brachy84 merged commit 4367742 into CleanroomMC:master Oct 9, 2025
@WaitingIdly WaitingIdly deleted the object-mapper-inverter branch October 9, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants