Skip to content

Add PyroTech Oven and Kiln compat #219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Oct 1, 2024
Merged

Conversation

lnewtium
Copy link
Contributor

Add StoneKiln, BrickedKiln, StoneOven, BrickedOven interfaces and examples

Copy link
Collaborator

@WaitingIdly WaitingIdly left a comment

Choose a reason for hiding this comment

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

there are going to be a fair number of missing lang keys, find the pyrotech section of the en_us.lang file and edit them in there (its sorted alphabetically)

@lnewtium lnewtium requested a review from WaitingIdly August 11, 2024 13:38
@@ -157,13 +192,13 @@ mods.pyrotech.drying_rack.recipeBuilder()

mods.pyrotech.drying_rack.add('apple_to_dirt', item('minecraft:apple'), item('minecraft:dirt'), 1200)

// Kiln:
// Converts an item into a new one by burning it. Has a chance to fail.
// groovyscript.wiki.pyrotech.pit_kiln.title:
Copy link
Collaborator

Choose a reason for hiding this comment

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

since you renamed Kiln to PitKiln, youll also need to update the lang key name. should also change the title from Kiln to Pit Kiln, to be consistent

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It breaks backward compability

Copy link
Collaborator

Choose a reason for hiding this comment

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

renaming Kiln to PitKiln breaks backwards compatability. changing the lang key has no influence on that.
if you want to fix that, add Kiln as an alias via modifying the init to include this: Alias.generateOfClass(PitKiln.class).andGenerate("Kiln").

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok

Copy link
Collaborator

Choose a reason for hiding this comment

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

still need to rename the lang keys in the lang file, eg like

-groovyscript.wiki.pyrotech.kiln.title=Kiln
+groovyscript.wiki.pyrotech.pit_kiln.title=Pit Kiln

@lnewtium lnewtium requested a review from WaitingIdly August 11, 2024 15:04
@@ -157,13 +192,13 @@ mods.pyrotech.drying_rack.recipeBuilder()

mods.pyrotech.drying_rack.add('apple_to_dirt', item('minecraft:apple'), item('minecraft:dirt'), 1200)

// Kiln:
// Converts an item into a new one by burning it. Has a chance to fail.
// groovyscript.wiki.pyrotech.pit_kiln.title:
Copy link
Collaborator

Choose a reason for hiding this comment

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

still need to rename the lang keys in the lang file, eg like

-groovyscript.wiki.pyrotech.kiln.title=Kiln
+groovyscript.wiki.pyrotech.pit_kiln.title=Pit Kiln

@lnewtium lnewtium requested a review from WaitingIdly August 13, 2024 18:41
@brachy84 brachy84 added the mod compat Relating to compatability with a mod or features of a mod label Aug 31, 2024
@brachy84 brachy84 merged commit 64d3bfa into CleanroomMC:master Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod compat Relating to compatability with a mod or features of a mod
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants