-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* made custom (& dye, chest) tags be according to platform standard, removed CustomTagsImpl.java's in the process * added automatic line ending convesion * made every machine use it's own recipe type for KJS's sake, redatagen'd dye tags also why it wanna commit unchanged files * fixed fabric fluid amounts and ran datagen... again. * removed unused stuff from GTRecipeBuilderJS, GTRegistriesImpl, MaterialStack renamed some method values to make sense, and changed var typings removed a finished TODO from SerializerFluidStack * reverted a change, added a TODO to remind about fixing it * fixed transformer name and made creative tab names be clearer * some recipe fixes, namely stone type maceration and an info thing to note the "duplicate" recipes * FIXED MACHINE OVERLAY MODELS closes #55 * kjs & recipe stuff; hid registration methods * renamed some machines * tried to make custom MaterialIconSets work (it didn't work) * made custom (& dye, chest) tags be according to platform standard, removed CustomTagsImpl.java's in the process * added automatic line ending convesion * made every machine use it's own recipe type for KJS's sake, redatagen'd dye tags also why it wanna commit unchanged files * removed unused stuff from GTRecipeBuilderJS, GTRegistriesImpl, MaterialStack renamed some method values to make sense, and changed var typings removed a finished TODO from SerializerFluidStack * reverted a change, added a TODO to remind about fixing it * fixed transformer name and made creative tab names be clearer * some recipe fixes, namely stone type maceration and an info thing to note the "duplicate" recipes * FIXED MACHINE OVERLAY MODELS closes #55 * kjs & recipe stuff; hid registration methods * renamed some machines * tried to make custom MaterialIconSets work (it didn't work) * it works but only on forge * IT WORKS :LLEETTSS: * feck i missed a file from that * crash on datagen lol * slight lang changes, ran datagen * preparations for merge: - changed back some useless things - renamed input buses to actually be "input bus"es - made GTRecipeBuilderJS's autogenerated id use the correct namespace - added a nice looking newline in MaterialIconType & removed an unused import - removed an unused parameter from RecyclingRecipes#registerMaceratorRecycling - made TagPrefixItemRenderer#MODELS be private as it wasn't used anywhere else anymore * fixed elements not registering * added custom coil registration (not finished) * Update MaterialIconType.java --------- Co-authored-by: KilaBash <[email protected]>
- Loading branch information
Showing
122 changed files
with
1,039 additions
and
574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Set the default behavior, in case people don't have core.autocrlf set. | ||
* text=autolf | ||
|
||
# Explicitly declare text files you want to always be normalized and converted | ||
# to native line endings on checkout. | ||
*.json text eol=lf | ||
|
||
# Denote all files that are truly binary and should not be modified. | ||
*.png binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
common/src/main/java/com/gregtechceu/gtceu/api/block/ICoilType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
package com.gregtechceu.gtceu.api.block; | ||
|
||
import com.gregtechceu.gtceu.api.data.chemical.material.Material; | ||
import net.minecraft.resources.ResourceLocation; | ||
|
||
import javax.annotation.Nonnull; | ||
import javax.annotation.Nullable; | ||
|
||
public interface ICoilType { | ||
|
||
/** | ||
* @return The Unique Name of the Heating Coil | ||
*/ | ||
@Nonnull | ||
String getName(); | ||
|
||
/** | ||
* @return the temperature the Heating Coil provides | ||
*/ | ||
int getCoilTemperature(); | ||
|
||
/** | ||
* This is used for the amount of parallel recipes in the multi smelter | ||
* | ||
* @return the level of the Heating Coil | ||
*/ | ||
int getLevel(); | ||
|
||
/** | ||
* This is used for the energy discount in the multi smelter | ||
* | ||
* @return the energy discount of the Heating Coil | ||
*/ | ||
@SuppressWarnings("unused") | ||
int getEnergyDiscount(); | ||
|
||
/** | ||
* This is used for the energy discount in the cracking unit and pyrolyse oven | ||
* | ||
* @return the tier of the coil | ||
*/ | ||
int getTier(); | ||
|
||
/** | ||
* @return the {@link Material} of the Heating Coil if it has one, otherwise {@code null} | ||
*/ | ||
@Nullable | ||
Material getMaterial(); | ||
|
||
/** | ||
* @return the {@link ResourceLocation} defining the base texture of the coil | ||
*/ | ||
ResourceLocation getTexture(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.