Skip to content

Commit

Permalink
Make CellLedRenderer public for add-on use (AppliedEnergistics#7452)
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 authored Oct 30, 2023
1 parent 09d4ee1 commit 228a4bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* Utility class to render LEDs for storage cells from a Block entity Renderer.
*/
class CellLedRenderer {
public class CellLedRenderer {

private static final EnumMap<CellState, Vector3f> STATE_COLORS;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private DriveBakedModel getDriveModel() {
* The actual vertex data will be transformed using the matrix stack, but the faces will not be correctly rotated so
* the incorrect lighting data would be used to apply diffuse lighting and the lightmap texture.
*/
private static class FaceRotatingModel extends ForwardingBakedModel {
public static class FaceRotatingModel extends ForwardingBakedModel {
private final BlockOrientation r;

protected FaceRotatingModel(BakedModel base, BlockOrientation r) {
Expand Down

0 comments on commit 228a4bf

Please sign in to comment.