-
-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure how we define aliases in preparation of JEI's upcoming ab…
…ility to define aliases
- Loading branch information
1 parent
8a8e25f
commit 9cc8430
Showing
26 changed files
with
419 additions
and
353 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
...additions/java/mekanism/additions/client/recipe_viewer/aliases/AdditionsAliasMapping.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,16 @@ | ||
package mekanism.additions.client.recipe_viewer.aliases; | ||
|
||
import mekanism.additions.common.registries.AdditionsBlocks; | ||
import mekanism.additions.common.registries.AdditionsItems; | ||
import mekanism.client.recipe_viewer.alias.IAliasMapping; | ||
import mekanism.client.recipe_viewer.alias.RVAliasHelper; | ||
|
||
public class AdditionsAliasMapping implements IAliasMapping { | ||
|
||
@Override | ||
public <ITEM, FLUID, CHEMICAL> void addAliases(RVAliasHelper<ITEM, FLUID, CHEMICAL> rv) { | ||
rv.addAliases(AdditionsItems.WALKIE_TALKIE, AdditionsAliases.WALKIE_TALKIE_RADIO); | ||
rv.addAliases(AdditionsBlocks.GLOW_PANELS.values(), AdditionsAliases.GLOW_PANEL_LIGHT_SOURCE); | ||
rv.addAliases(AdditionsBlocks.PLASTIC_ROADS.values(), AdditionsAliases.PLASTIC_ROAD_PATH); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
.../client/integration/AdditionsAliases.java → ...cipe_viewer/aliases/AdditionsAliases.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
2 changes: 1 addition & 1 deletion
2
src/datagen/additions/java/mekanism/additions/client/AdditionsLangProvider.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
26 changes: 0 additions & 26 deletions
26
...n/additions/java/mekanism/additions/client/integration/emi/AdditionsEmiAliasProvider.java
This file was deleted.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
src/datagen/generators/java/mekanism/generators/client/GeneratorsLangProvider.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
83 changes: 0 additions & 83 deletions
83
...enerators/java/mekanism/generators/client/integration/emi/GeneratorsEmiAliasProvider.java
This file was deleted.
Oops, something went wrong.
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.