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

Add copyright header #684

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions src/client/java/minicraft/core/Action.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core;

@FunctionalInterface
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/core/Condition.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core;

@FunctionalInterface
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/core/CrashHandler.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core;

import kong.unirest.Empty;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/core/Game.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core;

import minicraft.core.io.InputHandler;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/core/Initializer.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core;

import minicraft.core.io.FileHandler;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/core/MonoCondition.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core;

@FunctionalInterface
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/core/Renderer.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core;

import minicraft.core.CrashHandler.ErrorInfo;
Expand Down
7 changes: 6 additions & 1 deletion src/client/java/minicraft/core/Updater.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core;

import minicraft.core.io.Localization;
Expand Down Expand Up @@ -227,7 +232,7 @@ public static void tick() {
} else if (isMode("minicraft.settings.mode.creative") && input.getMappedKey("SHIFT-W").isClicked()) {
Game.setDisplay(new LevelTransitionDisplay(1));
}

if (input.getMappedKey("F3-L").isClicked()) {
// Print all players on all levels, and their coordinates.
Logging.WORLD.info("Printing players on all levels.");
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/core/VersionInfo.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core;

import minicraft.saveload.Version;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/core/World.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core;

import minicraft.core.io.Settings;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/core/io/ClipboardHandler.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core.io;

import minicraft.core.CrashHandler;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/core/io/FileHandler.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core.io;

import minicraft.core.CrashHandler;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/core/io/InputHandler.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core.io;

import com.badlogic.gdx.utils.SharedLibraryLoadRuntimeException;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/core/io/Localization.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core.io;

import minicraft.util.Logging;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/core/io/Settings.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core.io;

import minicraft.screen.entry.ArrayEntry;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/core/io/Sound.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.core.io;

import minicraft.core.CrashHandler;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/Arrow.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity;

import minicraft.entity.mob.Mob;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/ClientTickable.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity;

public interface ClientTickable extends Tickable {
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/Direction.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity;

public enum Direction {
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/Entity.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity;

import minicraft.core.Action;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/ExplosionTileTicker.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity;

import minicraft.gfx.Screen;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/FireSpark.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity;

import minicraft.core.Game;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/ItemEntity.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity;

import minicraft.entity.mob.Player;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/ItemHolder.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity;

import minicraft.item.Inventory;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/Spark.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity;

import minicraft.core.Game;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/Tickable.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity;

public interface Tickable {
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/furniture/Bed.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.furniture;

import minicraft.core.Game;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/furniture/Chest.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.furniture;

import minicraft.core.CrashHandler;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/furniture/Composter.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.furniture;

import minicraft.entity.Direction;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/furniture/Crafter.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.furniture;

import minicraft.core.Game;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/furniture/DeathChest.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.furniture;

import minicraft.core.Game;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/furniture/DungeonChest.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.furniture;

import minicraft.core.io.Localization;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/furniture/Furniture.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.furniture;

import minicraft.core.io.Sound;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/furniture/KnightStatue.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.furniture;

import minicraft.core.Game;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/furniture/Lantern.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.furniture;

import minicraft.gfx.SpriteLinker.LinkedSprite;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/furniture/Spawner.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.furniture;

import minicraft.core.Game;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/furniture/Tnt.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.furniture;

import minicraft.core.io.Sound;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/mob/AirWizard.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.mob;

import minicraft.core.Game;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/mob/Cow.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.mob;

import minicraft.core.io.Settings;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/mob/Creeper.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.mob;

import minicraft.core.Game;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/mob/EnemyMob.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.mob;

import minicraft.core.Game;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/mob/Knight.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.mob;

import minicraft.core.io.Settings;
Expand Down
5 changes: 5 additions & 0 deletions src/client/java/minicraft/entity/mob/Mob.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2011-2024 Minicraft+ contributors
* SPDX-License-Identifier: GPL-3.0-only
*/

package minicraft.entity.mob;

import minicraft.core.Game;
Expand Down
Loading
Loading