From 4eca96affa7dfedbd81b18e243ac67589f24129d Mon Sep 17 00:00:00 2001 From: nea Date: Tue, 1 Aug 2023 00:06:19 +0200 Subject: Make reuse compliant --- src/main/java/moe/nea/firmament/init/MixinPlugin.java | 16 ++-------------- .../java/moe/nea/firmament/mixins/MixinChatHud.java | 6 ++++++ .../moe/nea/firmament/mixins/MixinChatScreen.java | 6 ++++++ .../firmament/mixins/MixinClientPacketHandler.java | 16 ++-------------- .../nea/firmament/mixins/MixinClientPlayerEntity.java | 16 ++-------------- .../mixins/MixinDownloadingTerrainScreen.java | 16 ++-------------- .../moe/nea/firmament/mixins/MixinEntityIdFix.java | 6 ++++++ .../moe/nea/firmament/mixins/MixinHandledScreen.java | 16 ++-------------- .../moe/nea/firmament/mixins/MixinItemModels.java | 6 ++++++ .../java/moe/nea/firmament/mixins/MixinKeyboard.java | 6 ++++++ .../moe/nea/firmament/mixins/MixinMessageHandler.java | 16 ++-------------- .../java/moe/nea/firmament/mixins/MixinMinecraft.java | 16 ++-------------- .../moe/nea/firmament/mixins/MixinModelLoader.java | 6 ++++++ .../java/moe/nea/firmament/mixins/MixinMouse.java | 6 ++++++ .../nea/firmament/mixins/MixinPlayerInventory.java | 16 ++-------------- .../nea/firmament/mixins/MixinPlayerListEntry.java | 6 ++++++ .../moe/nea/firmament/mixins/MixinWorldRenderer.java | 16 ++-------------- .../mixins/accessor/AccessorHandledScreen.java | 16 ++-------------- .../mixins/devenv/DisableCommonPacketWarnings.java | 16 ++-------------- .../mixins/devenv/DisableInvalidFishingHook.java | 16 ++-------------- .../nea/firmament/mixins/devenv/MixinKeyboard.java | 6 ++++++ .../nea/firmament/mixins/devenv/MixinScoreboard.java | 16 ++-------------- src/main/kotlin/moe/nea/firmament/Firmament.kt | 16 ++-------------- src/main/kotlin/moe/nea/firmament/apis/Profiles.kt | 6 ++++++ src/main/kotlin/moe/nea/firmament/apis/Routes.kt | 6 ++++++ src/main/kotlin/moe/nea/firmament/commands/dsl.kt | 16 ++-------------- src/main/kotlin/moe/nea/firmament/commands/rome.kt | 16 ++-------------- .../moe/nea/firmament/dbus/FirmamentDbusInterface.kt | 16 ++-------------- .../moe/nea/firmament/dbus/FirmamentDbusObject.kt | 16 ++-------------- .../firmament/events/ClientChatLineReceivedEvent.kt | 6 ++++++ .../moe/nea/firmament/events/CustomItemModelEvent.kt | 6 ++++++ .../kotlin/moe/nea/firmament/events/FirmamentEvent.kt | 16 ++-------------- .../moe/nea/firmament/events/FirmamentEventBus.kt | 16 ++-------------- .../firmament/events/HandledScreenForegroundEvent.kt | 6 ++++++ .../firmament/events/HandledScreenKeyPressedEvent.kt | 16 ++-------------- .../nea/firmament/events/HandledScreenPushREIEvent.kt | 6 ++++++ .../moe/nea/firmament/events/IsSlotProtectedEvent.kt | 16 ++-------------- .../moe/nea/firmament/events/OutgoingPacketEvent.kt | 6 ++++++ .../moe/nea/firmament/events/ParticleSpawnEvent.kt | 16 ++-------------- .../moe/nea/firmament/events/ScreenClickEvent.kt | 6 ++++++ .../moe/nea/firmament/events/ScreenOpenEvent.kt | 16 ++-------------- .../moe/nea/firmament/events/ScreenRenderPostEvent.kt | 6 ++++++ .../firmament/events/ServerChatLineReceivedEvent.kt | 16 ++-------------- .../nea/firmament/events/SkyblockServerUpdateEvent.kt | 16 ++-------------- .../moe/nea/firmament/events/SlotRenderEvents.kt | 16 ++-------------- src/main/kotlin/moe/nea/firmament/events/TickEvent.kt | 6 ++++++ .../kotlin/moe/nea/firmament/events/TooltipEvent.kt | 6 ++++++ .../moe/nea/firmament/events/WorldKeyboardEvent.kt | 6 ++++++ .../moe/nea/firmament/events/WorldReadyEvent.kt | 16 ++-------------- .../moe/nea/firmament/events/WorldRenderLastEvent.kt | 16 ++-------------- .../moe/nea/firmament/features/FeatureManager.kt | 16 ++-------------- .../moe/nea/firmament/features/FirmamentFeature.kt | 16 ++-------------- .../moe/nea/firmament/features/chat/ChatLinks.kt | 6 ++++++ .../moe/nea/firmament/features/debug/DebugView.kt | 6 ++++++ .../nea/firmament/features/debug/DeveloperFeatures.kt | 6 ++++++ .../nea/firmament/features/debug/ObjectRenderer.kt | 6 ++++++ .../nea/firmament/features/fishing/FishingWarning.kt | 16 ++-------------- .../kotlin/moe/nea/firmament/features/fixes/Fixes.kt | 6 ++++++ .../firmament/features/inventory/CraftingOverlay.kt | 6 ++++++ .../features/inventory/SaveCursorPosition.kt | 6 ++++++ .../nea/firmament/features/inventory/SlotLocking.kt | 16 ++-------------- .../inventory/storageoverlay/StorageBackingHandle.kt | 6 ++++++ .../features/inventory/storageoverlay/StorageData.kt | 6 ++++++ .../inventory/storageoverlay/StorageOverlay.kt | 6 ++++++ .../inventory/storageoverlay/StorageOverlayScreen.kt | 6 ++++++ .../inventory/storageoverlay/StoragePageSlot.kt | 6 ++++++ .../inventory/storageoverlay/VirtualInventory.kt | 6 ++++++ .../features/texturepack/CustomSkyBlockTextures.kt | 6 ++++++ .../moe/nea/firmament/features/world/FairySouls.kt | 16 ++-------------- src/main/kotlin/moe/nea/firmament/gui/WBar.kt | 6 ++++++ .../kotlin/moe/nea/firmament/gui/WCenteringPanel.kt | 6 ++++++ src/main/kotlin/moe/nea/firmament/gui/WFixedPanel.kt | 6 ++++++ src/main/kotlin/moe/nea/firmament/gui/WSpacer.kt | 6 ++++++ src/main/kotlin/moe/nea/firmament/gui/WSplitPanel.kt | 6 ++++++ .../kotlin/moe/nea/firmament/gui/WTightScrollPanel.kt | 6 ++++++ src/main/kotlin/moe/nea/firmament/gui/WTitledItem.kt | 6 ++++++ .../moe/nea/firmament/gui/config/AllConfigsGui.kt | 16 ++-------------- .../moe/nea/firmament/gui/config/BooleanHandler.kt | 16 ++-------------- .../moe/nea/firmament/gui/config/ClickHandler.kt | 16 ++-------------- .../moe/nea/firmament/gui/config/DurationHandler.kt | 6 ++++++ .../moe/nea/firmament/gui/config/GuiAppender.kt | 16 ++-------------- .../moe/nea/firmament/gui/config/HudMetaHandler.kt | 6 ++++++ .../moe/nea/firmament/gui/config/IntegerHandler.kt | 6 ++++++ .../kotlin/moe/nea/firmament/gui/config/JAnyHud.kt | 6 ++++++ .../moe/nea/firmament/gui/config/ManagedConfig.kt | 16 ++-------------- .../moe/nea/firmament/gui/config/StringHandler.kt | 16 ++-------------- .../moe/nea/firmament/gui/profileviewer/PetsPage.kt | 6 ++++++ .../nea/firmament/gui/profileviewer/ProfilePage.kt | 6 ++++++ .../nea/firmament/gui/profileviewer/ProfileViewer.kt | 6 ++++++ .../moe/nea/firmament/gui/profileviewer/SkillPage.kt | 6 ++++++ .../moe/nea/firmament/hud/RepoDownloadProgress.kt | 16 ++-------------- .../moe/nea/firmament/jarvis/JarvisIntegration.kt | 6 ++++++ .../nea/firmament/keybindings/FirmamentKeyBindings.kt | 16 ++-------------- .../moe/nea/firmament/keybindings/IKeyBinding.kt | 6 ++++++ .../nea/firmament/modmenu/FirmamentModMenuPlugin.kt | 6 ++++++ .../moe/nea/firmament/recipes/SBCraftingRecipe.kt | 16 ++-------------- .../kotlin/moe/nea/firmament/recipes/SBForgeRecipe.kt | 16 ++-------------- src/main/kotlin/moe/nea/firmament/recipes/SBRecipe.kt | 16 ++-------------- .../moe/nea/firmament/rei/FirmamentReiPlugin.kt | 16 ++-------------- .../moe/nea/firmament/rei/NEUItemEntryRenderer.kt | 16 ++-------------- .../moe/nea/firmament/rei/NEUItemEntrySerializer.kt | 16 ++-------------- .../moe/nea/firmament/rei/SBItemEntryDefinition.kt | 16 ++-------------- .../rei/SkyblockCraftingRecipeDynamicGenerator.kt | 16 ++-------------- .../rei/SkyblockItemIdFocusedStackProvider.kt | 16 ++-------------- src/main/kotlin/moe/nea/firmament/rei/math.kt | 6 ++++++ src/main/kotlin/moe/nea/firmament/repo/ExpLadder.kt | 6 ++++++ .../moe/nea/firmament/repo/HypixelStaticData.kt | 6 ++++++ src/main/kotlin/moe/nea/firmament/repo/ItemCache.kt | 16 ++-------------- .../moe/nea/firmament/repo/RepoDownloadManager.kt | 16 ++-------------- src/main/kotlin/moe/nea/firmament/repo/RepoManager.kt | 16 ++-------------- .../moe/nea/firmament/util/CommonSoundEffects.kt | 16 ++-------------- .../kotlin/moe/nea/firmament/util/FirmFormatters.kt | 6 ++++++ src/main/kotlin/moe/nea/firmament/util/ItemUtil.kt | 16 ++-------------- .../moe/nea/firmament/util/LegacyFormattingCode.kt | 6 ++++++ .../kotlin/moe/nea/firmament/util/LegacyTagParser.kt | 16 ++-------------- src/main/kotlin/moe/nea/firmament/util/Locraw.kt | 16 ++-------------- src/main/kotlin/moe/nea/firmament/util/MC.kt | 16 ++-------------- .../moe/nea/firmament/util/MinecraftDispatcher.kt | 16 ++-------------- src/main/kotlin/moe/nea/firmament/util/SBData.kt | 16 ++-------------- .../kotlin/moe/nea/firmament/util/ScoreboardUtil.kt | 6 ++++++ src/main/kotlin/moe/nea/firmament/util/ScreenUtil.kt | 16 ++-------------- .../kotlin/moe/nea/firmament/util/SequenceUtil.kt | 16 ++-------------- src/main/kotlin/moe/nea/firmament/util/SkyblockId.kt | 17 +++-------------- .../moe/nea/firmament/util/SortedMapSerializer.kt | 6 ++++++ src/main/kotlin/moe/nea/firmament/util/TimeMark.kt | 16 ++-------------- src/main/kotlin/moe/nea/firmament/util/Timer.kt | 16 ++-------------- src/main/kotlin/moe/nea/firmament/util/assertions.kt | 6 ++++++ src/main/kotlin/moe/nea/firmament/util/async/input.kt | 6 ++++++ .../kotlin/moe/nea/firmament/util/colorconversion.kt | 6 ++++++ .../kotlin/moe/nea/firmament/util/data/DataHolder.kt | 16 ++-------------- .../kotlin/moe/nea/firmament/util/data/IDataHolder.kt | 16 ++-------------- .../firmament/util/data/ProfileSpecificDataHolder.kt | 16 ++-------------- .../kotlin/moe/nea/firmament/util/item/NbtItemData.kt | 6 ++++++ .../moe/nea/firmament/util/item/SkullItemData.kt | 6 ++++++ .../nea/firmament/util/json/DashlessUUIDSerializer.kt | 6 ++++++ .../firmament/util/json/InstantAsLongSerializer.kt | 6 ++++++ .../kotlin/moe/nea/firmament/util/propertyutil.kt | 6 ++++++ src/main/kotlin/moe/nea/firmament/util/regex.kt | 6 ++++++ .../nea/firmament/util/render/RenderInWorldContext.kt | 16 ++-------------- src/main/kotlin/moe/nea/firmament/util/textutil.kt | 16 ++-------------- src/main/kotlin/moe/nea/firmament/util/uuid.kt | 6 ++++++ src/main/resources/assets/firmament/icon.png.license | 3 +++ .../assets/firmament/lang/en_us.json.license | 3 +++ src/main/resources/assets/firmament/logo.kra | Bin 128970 -> 0 bytes src/main/resources/assets/firmament/logo.png.license | 3 +++ .../assets/firmament/textures/gui/bar.png.license | 3 +++ src/main/resources/fabric.mod.json.license | 3 +++ src/main/resources/firmament.accesswidener | 3 +++ src/main/resources/firmament.mixins.json.license | 3 +++ src/main/resources/hotswap-agent.properties | 18 ++---------------- 150 files changed, 586 insertions(+), 1010 deletions(-) create mode 100644 src/main/resources/assets/firmament/icon.png.license create mode 100644 src/main/resources/assets/firmament/lang/en_us.json.license delete mode 100644 src/main/resources/assets/firmament/logo.kra create mode 100644 src/main/resources/assets/firmament/logo.png.license create mode 100644 src/main/resources/assets/firmament/textures/gui/bar.png.license create mode 100644 src/main/resources/fabric.mod.json.license create mode 100644 src/main/resources/firmament.mixins.json.license (limited to 'src') diff --git a/src/main/java/moe/nea/firmament/init/MixinPlugin.java b/src/main/java/moe/nea/firmament/init/MixinPlugin.java index 7d979ae..eba29f4 100644 --- a/src/main/java/moe/nea/firmament/init/MixinPlugin.java +++ b/src/main/java/moe/nea/firmament/init/MixinPlugin.java @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.init; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinChatHud.java b/src/main/java/moe/nea/firmament/mixins/MixinChatHud.java index 13921e5..12217d2 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinChatHud.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinChatHud.java @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.mixins; import moe.nea.firmament.events.ClientChatLineReceivedEvent; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinChatScreen.java b/src/main/java/moe/nea/firmament/mixins/MixinChatScreen.java index 4d75c44..0759163 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinChatScreen.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinChatScreen.java @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.mixins; import net.minecraft.client.gui.screen.ChatScreen; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinClientPacketHandler.java b/src/main/java/moe/nea/firmament/mixins/MixinClientPacketHandler.java index 70fdc29..aa6ce38 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinClientPacketHandler.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinClientPacketHandler.java @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.mixins; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinClientPlayerEntity.java b/src/main/java/moe/nea/firmament/mixins/MixinClientPlayerEntity.java index e17d9da..21e3308 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinClientPlayerEntity.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinClientPlayerEntity.java @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.mixins; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinDownloadingTerrainScreen.java b/src/main/java/moe/nea/firmament/mixins/MixinDownloadingTerrainScreen.java index 3d0f0a4..0f23af1 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinDownloadingTerrainScreen.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinDownloadingTerrainScreen.java @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.mixins; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinEntityIdFix.java b/src/main/java/moe/nea/firmament/mixins/MixinEntityIdFix.java index c1c9868..45c3ddd 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinEntityIdFix.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinEntityIdFix.java @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.mixins; import com.mojang.datafixers.DataFix; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinHandledScreen.java b/src/main/java/moe/nea/firmament/mixins/MixinHandledScreen.java index 517a0eb..828f25b 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinHandledScreen.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinHandledScreen.java @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.mixins; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinItemModels.java b/src/main/java/moe/nea/firmament/mixins/MixinItemModels.java index 2c2cc31..7e8d78b 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinItemModels.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinItemModels.java @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.mixins; import moe.nea.firmament.events.CustomItemModelEvent; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinKeyboard.java b/src/main/java/moe/nea/firmament/mixins/MixinKeyboard.java index e302679..8307ae0 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinKeyboard.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinKeyboard.java @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.mixins; import moe.nea.firmament.events.WorldKeyboardEvent; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinMessageHandler.java b/src/main/java/moe/nea/firmament/mixins/MixinMessageHandler.java index c86958c..867c8ea 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinMessageHandler.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinMessageHandler.java @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.mixins; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinMinecraft.java b/src/main/java/moe/nea/firmament/mixins/MixinMinecraft.java index 8fd011d..90ecd36 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinMinecraft.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinMinecraft.java @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.mixins; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinModelLoader.java b/src/main/java/moe/nea/firmament/mixins/MixinModelLoader.java index 8d43083..78beba2 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinModelLoader.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinModelLoader.java @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.mixins; import net.minecraft.client.MinecraftClient; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinMouse.java b/src/main/java/moe/nea/firmament/mixins/MixinMouse.java index 19cdcd2..68dda34 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinMouse.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinMouse.java @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.mixins; import kotlin.Pair; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinPlayerInventory.java b/src/main/java/moe/nea/firmament/mixins/MixinPlayerInventory.java index be64834..2076923 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinPlayerInventory.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinPlayerInventory.java @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.mixins; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinPlayerListEntry.java b/src/main/java/moe/nea/firmament/mixins/MixinPlayerListEntry.java index c858db1..870aaad 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinPlayerListEntry.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinPlayerListEntry.java @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.mixins; import moe.nea.firmament.features.fixes.Fixes; diff --git a/src/main/java/moe/nea/firmament/mixins/MixinWorldRenderer.java b/src/main/java/moe/nea/firmament/mixins/MixinWorldRenderer.java index 94bbef4..8aa105f 100644 --- a/src/main/java/moe/nea/firmament/mixins/MixinWorldRenderer.java +++ b/src/main/java/moe/nea/firmament/mixins/MixinWorldRenderer.java @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.mixins; diff --git a/src/main/java/moe/nea/firmament/mixins/accessor/AccessorHandledScreen.java b/src/main/java/moe/nea/firmament/mixins/accessor/AccessorHandledScreen.java index c5dffba..b3c9787 100644 --- a/src/main/java/moe/nea/firmament/mixins/accessor/AccessorHandledScreen.java +++ b/src/main/java/moe/nea/firmament/mixins/accessor/AccessorHandledScreen.java @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.mixins.accessor; diff --git a/src/main/java/moe/nea/firmament/mixins/devenv/DisableCommonPacketWarnings.java b/src/main/java/moe/nea/firmament/mixins/devenv/DisableCommonPacketWarnings.java index e42b8f5..9fc2ab0 100644 --- a/src/main/java/moe/nea/firmament/mixins/devenv/DisableCommonPacketWarnings.java +++ b/src/main/java/moe/nea/firmament/mixins/devenv/DisableCommonPacketWarnings.java @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.mixins.devenv; diff --git a/src/main/java/moe/nea/firmament/mixins/devenv/DisableInvalidFishingHook.java b/src/main/java/moe/nea/firmament/mixins/devenv/DisableInvalidFishingHook.java index 8dd8862..cb26e92 100644 --- a/src/main/java/moe/nea/firmament/mixins/devenv/DisableInvalidFishingHook.java +++ b/src/main/java/moe/nea/firmament/mixins/devenv/DisableInvalidFishingHook.java @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.mixins.devenv; diff --git a/src/main/java/moe/nea/firmament/mixins/devenv/MixinKeyboard.java b/src/main/java/moe/nea/firmament/mixins/devenv/MixinKeyboard.java index b52af9b..00546c1 100644 --- a/src/main/java/moe/nea/firmament/mixins/devenv/MixinKeyboard.java +++ b/src/main/java/moe/nea/firmament/mixins/devenv/MixinKeyboard.java @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.mixins.devenv; import moe.nea.firmament.features.debug.DeveloperFeatures; diff --git a/src/main/java/moe/nea/firmament/mixins/devenv/MixinScoreboard.java b/src/main/java/moe/nea/firmament/mixins/devenv/MixinScoreboard.java index 4d11608..a17ef90 100644 --- a/src/main/java/moe/nea/firmament/mixins/devenv/MixinScoreboard.java +++ b/src/main/java/moe/nea/firmament/mixins/devenv/MixinScoreboard.java @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.mixins.devenv; diff --git a/src/main/kotlin/moe/nea/firmament/Firmament.kt b/src/main/kotlin/moe/nea/firmament/Firmament.kt index 741fabd..1a2739e 100644 --- a/src/main/kotlin/moe/nea/firmament/Firmament.kt +++ b/src/main/kotlin/moe/nea/firmament/Firmament.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament diff --git a/src/main/kotlin/moe/nea/firmament/apis/Profiles.kt b/src/main/kotlin/moe/nea/firmament/apis/Profiles.kt index 0f014a5..083aa19 100644 --- a/src/main/kotlin/moe/nea/firmament/apis/Profiles.kt +++ b/src/main/kotlin/moe/nea/firmament/apis/Profiles.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + @file:UseSerializers(DashlessUUIDSerializer::class, InstantAsLongSerializer::class) package moe.nea.firmament.apis diff --git a/src/main/kotlin/moe/nea/firmament/apis/Routes.kt b/src/main/kotlin/moe/nea/firmament/apis/Routes.kt index 7785d90..71802a5 100644 --- a/src/main/kotlin/moe/nea/firmament/apis/Routes.kt +++ b/src/main/kotlin/moe/nea/firmament/apis/Routes.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.apis import io.ktor.client.call.body diff --git a/src/main/kotlin/moe/nea/firmament/commands/dsl.kt b/src/main/kotlin/moe/nea/firmament/commands/dsl.kt index 90018fa..01a3458 100644 --- a/src/main/kotlin/moe/nea/firmament/commands/dsl.kt +++ b/src/main/kotlin/moe/nea/firmament/commands/dsl.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.commands diff --git a/src/main/kotlin/moe/nea/firmament/commands/rome.kt b/src/main/kotlin/moe/nea/firmament/commands/rome.kt index 11aaf17..4465459 100644 --- a/src/main/kotlin/moe/nea/firmament/commands/rome.kt +++ b/src/main/kotlin/moe/nea/firmament/commands/rome.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.commands diff --git a/src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusInterface.kt b/src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusInterface.kt index c060abf..9af968d 100644 --- a/src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusInterface.kt +++ b/src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusInterface.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.dbus diff --git a/src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusObject.kt b/src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusObject.kt index 236526f..4a7e008 100644 --- a/src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusObject.kt +++ b/src/main/kotlin/moe/nea/firmament/dbus/FirmamentDbusObject.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.dbus diff --git a/src/main/kotlin/moe/nea/firmament/events/ClientChatLineReceivedEvent.kt b/src/main/kotlin/moe/nea/firmament/events/ClientChatLineReceivedEvent.kt index 7af411d..0345afc 100644 --- a/src/main/kotlin/moe/nea/firmament/events/ClientChatLineReceivedEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/ClientChatLineReceivedEvent.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.events import net.minecraft.text.Text diff --git a/src/main/kotlin/moe/nea/firmament/events/CustomItemModelEvent.kt b/src/main/kotlin/moe/nea/firmament/events/CustomItemModelEvent.kt index bc6a05c..cf75144 100644 --- a/src/main/kotlin/moe/nea/firmament/events/CustomItemModelEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/CustomItemModelEvent.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.events import java.util.* diff --git a/src/main/kotlin/moe/nea/firmament/events/FirmamentEvent.kt b/src/main/kotlin/moe/nea/firmament/events/FirmamentEvent.kt index 161c4c2..02fd7f3 100644 --- a/src/main/kotlin/moe/nea/firmament/events/FirmamentEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/FirmamentEvent.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.events diff --git a/src/main/kotlin/moe/nea/firmament/events/FirmamentEventBus.kt b/src/main/kotlin/moe/nea/firmament/events/FirmamentEventBus.kt index d6a7470..789fec2 100644 --- a/src/main/kotlin/moe/nea/firmament/events/FirmamentEventBus.kt +++ b/src/main/kotlin/moe/nea/firmament/events/FirmamentEventBus.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.events diff --git a/src/main/kotlin/moe/nea/firmament/events/HandledScreenForegroundEvent.kt b/src/main/kotlin/moe/nea/firmament/events/HandledScreenForegroundEvent.kt index 2d4b652..d45b484 100644 --- a/src/main/kotlin/moe/nea/firmament/events/HandledScreenForegroundEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/HandledScreenForegroundEvent.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.events import net.minecraft.client.gui.screen.ingame.HandledScreen diff --git a/src/main/kotlin/moe/nea/firmament/events/HandledScreenKeyPressedEvent.kt b/src/main/kotlin/moe/nea/firmament/events/HandledScreenKeyPressedEvent.kt index 9cff27d..829d4ed 100644 --- a/src/main/kotlin/moe/nea/firmament/events/HandledScreenKeyPressedEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/HandledScreenKeyPressedEvent.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.events diff --git a/src/main/kotlin/moe/nea/firmament/events/HandledScreenPushREIEvent.kt b/src/main/kotlin/moe/nea/firmament/events/HandledScreenPushREIEvent.kt index b809513..42a6ffe 100644 --- a/src/main/kotlin/moe/nea/firmament/events/HandledScreenPushREIEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/HandledScreenPushREIEvent.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.events import me.shedaniel.math.Rectangle diff --git a/src/main/kotlin/moe/nea/firmament/events/IsSlotProtectedEvent.kt b/src/main/kotlin/moe/nea/firmament/events/IsSlotProtectedEvent.kt index d7cf467..f1a861e 100644 --- a/src/main/kotlin/moe/nea/firmament/events/IsSlotProtectedEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/IsSlotProtectedEvent.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.events diff --git a/src/main/kotlin/moe/nea/firmament/events/OutgoingPacketEvent.kt b/src/main/kotlin/moe/nea/firmament/events/OutgoingPacketEvent.kt index 4263d9d..0b41373 100644 --- a/src/main/kotlin/moe/nea/firmament/events/OutgoingPacketEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/OutgoingPacketEvent.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.events import net.minecraft.network.packet.Packet diff --git a/src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt b/src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt index d33571e..5092fe2 100644 --- a/src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.events diff --git a/src/main/kotlin/moe/nea/firmament/events/ScreenClickEvent.kt b/src/main/kotlin/moe/nea/firmament/events/ScreenClickEvent.kt index cd25991..0977971 100644 --- a/src/main/kotlin/moe/nea/firmament/events/ScreenClickEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/ScreenClickEvent.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.events import net.minecraft.client.gui.screen.ingame.HandledScreen diff --git a/src/main/kotlin/moe/nea/firmament/events/ScreenOpenEvent.kt b/src/main/kotlin/moe/nea/firmament/events/ScreenOpenEvent.kt index 780e3c7..034fe13 100644 --- a/src/main/kotlin/moe/nea/firmament/events/ScreenOpenEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/ScreenOpenEvent.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.events diff --git a/src/main/kotlin/moe/nea/firmament/events/ScreenRenderPostEvent.kt b/src/main/kotlin/moe/nea/firmament/events/ScreenRenderPostEvent.kt index 2d061a2..e62c119 100644 --- a/src/main/kotlin/moe/nea/firmament/events/ScreenRenderPostEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/ScreenRenderPostEvent.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.events import net.minecraft.client.gui.DrawContext diff --git a/src/main/kotlin/moe/nea/firmament/events/ServerChatLineReceivedEvent.kt b/src/main/kotlin/moe/nea/firmament/events/ServerChatLineReceivedEvent.kt index 57879a1..b8b262d 100644 --- a/src/main/kotlin/moe/nea/firmament/events/ServerChatLineReceivedEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/ServerChatLineReceivedEvent.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.events diff --git a/src/main/kotlin/moe/nea/firmament/events/SkyblockServerUpdateEvent.kt b/src/main/kotlin/moe/nea/firmament/events/SkyblockServerUpdateEvent.kt index 36d456c..b103ea7 100644 --- a/src/main/kotlin/moe/nea/firmament/events/SkyblockServerUpdateEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/SkyblockServerUpdateEvent.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.events diff --git a/src/main/kotlin/moe/nea/firmament/events/SlotRenderEvents.kt b/src/main/kotlin/moe/nea/firmament/events/SlotRenderEvents.kt index c4b0a3d..8ab51a8 100644 --- a/src/main/kotlin/moe/nea/firmament/events/SlotRenderEvents.kt +++ b/src/main/kotlin/moe/nea/firmament/events/SlotRenderEvents.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.events diff --git a/src/main/kotlin/moe/nea/firmament/events/TickEvent.kt b/src/main/kotlin/moe/nea/firmament/events/TickEvent.kt index 5d9b0ce..692f25c 100644 --- a/src/main/kotlin/moe/nea/firmament/events/TickEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/TickEvent.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.events data class TickEvent(val tickCount: Int) : FirmamentEvent() { diff --git a/src/main/kotlin/moe/nea/firmament/events/TooltipEvent.kt b/src/main/kotlin/moe/nea/firmament/events/TooltipEvent.kt index 3341534..5b82feb 100644 --- a/src/main/kotlin/moe/nea/firmament/events/TooltipEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/TooltipEvent.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.events import net.minecraft.client.gui.tooltip.Tooltip diff --git a/src/main/kotlin/moe/nea/firmament/events/WorldKeyboardEvent.kt b/src/main/kotlin/moe/nea/firmament/events/WorldKeyboardEvent.kt index 497d38f..cc13d1e 100644 --- a/src/main/kotlin/moe/nea/firmament/events/WorldKeyboardEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/WorldKeyboardEvent.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.events import net.minecraft.client.option.KeyBinding diff --git a/src/main/kotlin/moe/nea/firmament/events/WorldReadyEvent.kt b/src/main/kotlin/moe/nea/firmament/events/WorldReadyEvent.kt index aa6049b..d0f29a5 100644 --- a/src/main/kotlin/moe/nea/firmament/events/WorldReadyEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/WorldReadyEvent.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.events diff --git a/src/main/kotlin/moe/nea/firmament/events/WorldRenderLastEvent.kt b/src/main/kotlin/moe/nea/firmament/events/WorldRenderLastEvent.kt index c5da84f..025d165 100644 --- a/src/main/kotlin/moe/nea/firmament/events/WorldRenderLastEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/WorldRenderLastEvent.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.events diff --git a/src/main/kotlin/moe/nea/firmament/features/FeatureManager.kt b/src/main/kotlin/moe/nea/firmament/features/FeatureManager.kt index 2182834..0c8acb9 100644 --- a/src/main/kotlin/moe/nea/firmament/features/FeatureManager.kt +++ b/src/main/kotlin/moe/nea/firmament/features/FeatureManager.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.features diff --git a/src/main/kotlin/moe/nea/firmament/features/FirmamentFeature.kt b/src/main/kotlin/moe/nea/firmament/features/FirmamentFeature.kt index 94b69f1..afd36a5 100644 --- a/src/main/kotlin/moe/nea/firmament/features/FirmamentFeature.kt +++ b/src/main/kotlin/moe/nea/firmament/features/FirmamentFeature.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.features diff --git a/src/main/kotlin/moe/nea/firmament/features/chat/ChatLinks.kt b/src/main/kotlin/moe/nea/firmament/features/chat/ChatLinks.kt index 41b2e96..7d563fa 100644 --- a/src/main/kotlin/moe/nea/firmament/features/chat/ChatLinks.kt +++ b/src/main/kotlin/moe/nea/firmament/features/chat/ChatLinks.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.features.chat import io.ktor.client.request.* diff --git a/src/main/kotlin/moe/nea/firmament/features/debug/DebugView.kt b/src/main/kotlin/moe/nea/firmament/features/debug/DebugView.kt index 96ea7aa..799a9b8 100644 --- a/src/main/kotlin/moe/nea/firmament/features/debug/DebugView.kt +++ b/src/main/kotlin/moe/nea/firmament/features/debug/DebugView.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.features.debug import io.github.cottonmc.cotton.gui.client.CottonHud diff --git a/src/main/kotlin/moe/nea/firmament/features/debug/DeveloperFeatures.kt b/src/main/kotlin/moe/nea/firmament/features/debug/DeveloperFeatures.kt index ffa0fd2..20d1358 100644 --- a/src/main/kotlin/moe/nea/firmament/features/debug/DeveloperFeatures.kt +++ b/src/main/kotlin/moe/nea/firmament/features/debug/DeveloperFeatures.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.features.debug import java.nio.file.Path diff --git a/src/main/kotlin/moe/nea/firmament/features/debug/ObjectRenderer.kt b/src/main/kotlin/moe/nea/firmament/features/debug/ObjectRenderer.kt index f5185cd..18f502c 100644 --- a/src/main/kotlin/moe/nea/firmament/features/debug/ObjectRenderer.kt +++ b/src/main/kotlin/moe/nea/firmament/features/debug/ObjectRenderer.kt @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + package moe.nea.firmament.features.debug import io.github.cottonmc.cotton.gui.widget.WBox diff --git a/src/main/kotlin/moe/nea/firmament/features/fishing/FishingWarning.kt b/src/main/kotlin/moe/nea/firmament/features/fishing/FishingWarning.kt index e133d97..77b222a 100644 --- a/src/main/kotlin/moe/nea/firmament/features/fishing/FishingWarning.kt +++ b/src/main/kotlin/moe/nea/firmament/features/fishing/FishingWarning.kt @@ -1,19 +1,7 @@ /* - * Firmament is a Hypixel Skyblock mod for modern Minecraft versions - * Copyright (C) 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2023 Linnea Gräf * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.features.fishing diff --git a/src/main/kotlin/moe/nea/firmament/features/fixes/Fixes.kt b/src/main/kotlin/moe/nea/firmament/features/fixes/Fixes.kt index f09111c..77397bc 100644 --- a/src/main/kotlin/moe/nea/firmament/features/fixes/Fixes.kt +++ b/src/main/kotlin/moe/nea/firmament/features/fixes/Fixes.kt @@ -1,3 +1,9 @@ +/