-
Notifications
You must be signed in to change notification settings - Fork 651
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…5485) * Closes #5165: Better separation for crafting and processing patterns Both are now their own item id with their own name. Distinct textures will come later Update pattern terminal to better reflect the concept of a primary output. Needs further documentation/hints. * Add a spotless step to enforce lang json ordering * Preserve the primary processing output when condensing outputs * Added the ability to specify tooltip areas through widget styles, and used it to show tooltips for the pattern terminal processing slots. * Add translation keys for new items. * Delegate the decoding to the corresponding pattern item, rather than using the same item registered twice. Remove the ability to "re-encode" an existing pattern. They need to be replaced to allow switching types. * Creates -> Produces for processing patterns Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com> Co-authored-by: Sebastian Hartte <shartte@users.noreply.github.com>
- Loading branch information
1 parent
704eff5
commit 1381eab
Showing
51 changed files
with
1,659 additions
and
1,329 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package appeng.client.gui.style; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
import net.minecraft.network.chat.Component; | ||
|
||
public final class TooltipArea extends Position { | ||
private int width; | ||
private int height; | ||
|
||
private List<Component> tooltip = new ArrayList<>(); | ||
|
||
public List<Component> getTooltip() { | ||
return tooltip; | ||
} | ||
|
||
public void setTooltip(List<Component> tooltip) { | ||
this.tooltip = tooltip; | ||
} | ||
|
||
public int getWidth() { | ||
return width; | ||
} | ||
|
||
public void setWidth(int width) { | ||
this.width = width; | ||
} | ||
|
||
public int getHeight() { | ||
return height; | ||
} | ||
|
||
public void setHeight(int height) { | ||
this.height = height; | ||
} | ||
} |
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.