Skip to content
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

Properly cited borrowed code from Create mod #43

Merged
merged 1 commit into from
Sep 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/main/java/net/ramen5914/ramensadditions/gui/widget/Label.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@
import java.util.List;
import java.util.function.BiConsumer;

/**
* <p>Code adapted from the open-source repository at <a href="https://github.com/Creators-of-Create/Create">https://github.com/Creators-of-Create/Create</a>.
* Original code by simibubi.
*
* <p>This code is used in compliance with the MIT License, which can be found here:
* <a href="https://opensource.org/licenses/MIT">https://opensource.org/licenses/MIT</a>.
*
* @see <a href="https://github.com/Creators-of-Create/Create/blob/mc1.20.1/dev/src/main/java/com/simibubi/create/foundation/gui/widget/Label.java">Original Source File</a>
* @since 0.0.4-alpha
*/
public class Label extends AbstractWidget {
public static final int HEADER_RGB = 0x5391E1;
public static final int HINT_RGB = 0x96B7E0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@
import java.util.function.Consumer;
import java.util.function.Function;

/**
* <p>Code adapted from the open-source repository at <a href="https://github.com/Creators-of-Create/Create">https://github.com/Creators-of-Create/Create</a>.
* Original code by simibubi.
*
* <p>This code is used in compliance with the MIT License, which can be found here:
* <a href="https://opensource.org/licenses/MIT">https://opensource.org/licenses/MIT</a>.
*
* @see <a href="https://github.com/Creators-of-Create/Create/blob/mc1.20.1/dev/src/main/java/com/simibubi/create/foundation/gui/widget/SelectionScrollInput.java">Original Source File</a>
* @since 0.0.4-alpha
*/
public class SelectionScrollInput extends AbstractWidget {
public static final int HEADER_RGB = 0x5391E1;
public static final int HINT_RGB = 0x96B7E0;
Expand Down
Loading