-
Notifications
You must be signed in to change notification settings - Fork 30
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
Conversation
There was a problem hiding this 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)
src/main/java/com/cleanroommc/groovyscript/compat/mods/pyrotech/StoneKiln.java
Outdated
Show resolved
Hide resolved
src/main/java/com/cleanroommc/groovyscript/compat/mods/pyrotech/StoneOven.java
Outdated
Show resolved
Hide resolved
src/main/java/com/cleanroommc/groovyscript/compat/mods/pyrotech/BrickOven.java
Outdated
Show resolved
Hide resolved
src/main/java/com/cleanroommc/groovyscript/compat/mods/pyrotech/BrickOven.java
Outdated
Show resolved
Hide resolved
src/main/java/com/cleanroommc/groovyscript/compat/mods/pyrotech/BrickKiln.java
Outdated
Show resolved
Hide resolved
src/main/java/com/cleanroommc/groovyscript/compat/mods/pyrotech/BrickKiln.java
Outdated
Show resolved
Hide resolved
fix recipes duplicates
examples/postInit/pyrotech.groovy
Outdated
@@ -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: |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It breaks backward compability
There was a problem hiding this comment.
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")
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
There was a problem hiding this comment.
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
src/main/java/com/cleanroommc/groovyscript/compat/mods/pyrotech/Barrel.java
Outdated
Show resolved
Hide resolved
Comment remove of ore('ingotIron') and clean of ore('plankWood')
src/main/java/com/cleanroommc/groovyscript/compat/mods/pyrotech/BrickOven.java
Outdated
Show resolved
Hide resolved
src/main/java/com/cleanroommc/groovyscript/compat/mods/pyrotech/BrickOven.java
Outdated
Show resolved
Hide resolved
src/main/java/com/cleanroommc/groovyscript/compat/mods/pyrotech/StoneOven.java
Outdated
Show resolved
Hide resolved
examples/postInit/pyrotech.groovy
Outdated
@@ -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: |
There was a problem hiding this comment.
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
Add StoneKiln, BrickedKiln, StoneOven, BrickedOven interfaces and examples