mirror of
https://github.com/RoBaertschi/EnvironmentTech.git
synced 2025-04-19 23:03:28 +00:00
add missing copyright attribution for MouseUtils.java
This commit is contained in:
parent
ba7a6bc7b6
commit
f78e208a95
4
COPYING
4
COPYING
@ -10,4 +10,6 @@ Other Licenses:
|
||||
- environmenttech
|
||||
- client
|
||||
- renderer
|
||||
- EnvStorageRenderer = Blu's License of Common Sense
|
||||
- EnvStorageRenderer.java = Blu's License of Common Sense
|
||||
- utils
|
||||
- MouseUtils.java = MIT
|
||||
|
@ -62,7 +62,8 @@ spotless {
|
||||
|
||||
java {
|
||||
// Originally, this was from Kaupenjoe's repo, and was licensed by BluSunrize as the original code was from her, so we exclude it to not add our License Header
|
||||
targetExclude("src/main/java/robaertschi/environmenttech/client/renderer/EnvStorageRenderer.java")
|
||||
targetExclude("src/main/java/robaertschi/environmenttech/client/renderer/EnvStorageRenderer.java",
|
||||
"src/main/java/robaertschi/environmenttech/utils/MouseUtils.java")
|
||||
importOrder("lombok", "java|javax", "", "net.minecraft", "com.mojang", "robaertschi", "\\#")
|
||||
removeUnusedImports()
|
||||
licenseHeaderFile("HEADER.java")
|
||||
|
@ -1,5 +1,11 @@
|
||||
package robaertschi.environmenttech.utils;
|
||||
|
||||
/**
|
||||
* This file is from <a href="https://github.com/Tutorials-By-Kaupenjoe/Forge-Tutorial-1.19/">here</a>.
|
||||
* So all credits go to Kaupenjoe. The code is under the following license: <a href="https://github.com/Tutorials-By-Kaupenjoe/Forge-Tutorial-1.19/blob/main/LICENSE">here</a>
|
||||
* @author Kaupenjoe
|
||||
*/
|
||||
|
||||
public class MouseUtils {
|
||||
@SuppressWarnings("unused")
|
||||
public static boolean isMouseOver(double mouseX, double mouseY, int x, int y) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user