diff --git a/common/addons/api-addon-loader b/common/addons/api-addon-loader index 32fd71661..ae2901876 160000 --- a/common/addons/api-addon-loader +++ b/common/addons/api-addon-loader @@ -1 +1 @@ -Subproject commit 32fd716610600e528e2c90e7b0c069b2ddc52417 +Subproject commit ae2901876b15f03846eabea3830d964b8bb30867 diff --git a/common/addons/biome-provider-image b/common/addons/biome-provider-image index 56984f6c0..c678f200a 160000 --- a/common/addons/biome-provider-image +++ b/common/addons/biome-provider-image @@ -1 +1 @@ -Subproject commit 56984f6c08294351039a6fa675ed38482a6a8502 +Subproject commit c678f200a73927094d8039a864296f301d26c63a diff --git a/common/addons/biome-provider-pipeline b/common/addons/biome-provider-pipeline index 9535ec13d..daac9d4bb 160000 --- a/common/addons/biome-provider-pipeline +++ b/common/addons/biome-provider-pipeline @@ -1 +1 @@ -Subproject commit 9535ec13d56cdd4b4120b604d91dcf5bd10c8e9f +Subproject commit daac9d4bb643c6bffa1a8afdf68b133461ced708 diff --git a/common/addons/biome-provider-single b/common/addons/biome-provider-single index 8a9ea7a41..2b561634c 160000 --- a/common/addons/biome-provider-single +++ b/common/addons/biome-provider-single @@ -1 +1 @@ -Subproject commit 8a9ea7a4183bb1bb84347b431a786fcf6f2f87a6 +Subproject commit 2b561634c499ef93f735f5093a3a26c20fdea69b diff --git a/common/addons/chunk-generator-noise-3d b/common/addons/chunk-generator-noise-3d index 37c351519..0a14a4095 160000 --- a/common/addons/chunk-generator-noise-3d +++ b/common/addons/chunk-generator-noise-3d @@ -1 +1 @@ -Subproject commit 37c3515197e71a9da5cbbee1a3da45c218a18b9f +Subproject commit 0a14a40952f94648e3900515f85e095c6f174b87 diff --git a/common/addons/config-biome b/common/addons/config-biome index c4a5807b6..e8f0144a0 160000 --- a/common/addons/config-biome +++ b/common/addons/config-biome @@ -1 +1 @@ -Subproject commit c4a5807b62beda3fdd00af48250f1b5721efe82b +Subproject commit e8f0144a0c1782bfccda40ed8fe49749fd7f8801 diff --git a/common/addons/config-carver b/common/addons/config-carver index 2c4ec246c..2e9f54dd2 160000 --- a/common/addons/config-carver +++ b/common/addons/config-carver @@ -1 +1 @@ -Subproject commit 2c4ec246c30c0b9ce31d54c81a8d5163efbf0576 +Subproject commit 2e9f54dd24b3500bdbd98b1605df857d0cec5112 diff --git a/common/addons/config-distributors b/common/addons/config-distributors index 25b4c79e0..030e75f4e 160000 --- a/common/addons/config-distributors +++ b/common/addons/config-distributors @@ -1 +1 @@ -Subproject commit 25b4c79e0961c9a91dbf34d14f24d3bc2a7ecc73 +Subproject commit 030e75f4e6b356ed8e520bfe33801953575f8f92 diff --git a/common/addons/config-feature b/common/addons/config-feature index fefbeb0e9..44674dfc3 160000 --- a/common/addons/config-feature +++ b/common/addons/config-feature @@ -1 +1 @@ -Subproject commit fefbeb0e939cfc2ffc1e33fe4e5ce40b6f3233cc +Subproject commit 44674dfc39e70e81c00fe3cf408054fe03844e58 diff --git a/common/addons/config-flora b/common/addons/config-flora index fdeec468b..ae234cbe9 160000 --- a/common/addons/config-flora +++ b/common/addons/config-flora @@ -1 +1 @@ -Subproject commit fdeec468b16cfab39762596af1060e196abf62bd +Subproject commit ae234cbe99b92f417abbe016fff087e7977eef5b diff --git a/common/addons/config-locators b/common/addons/config-locators index c8ed23e87..f978a07da 160000 --- a/common/addons/config-locators +++ b/common/addons/config-locators @@ -1 +1 @@ -Subproject commit c8ed23e87191b6cb468cdc5364d70fcf945d3fba +Subproject commit f978a07daf74b6ae0f0c810ae6eba75e8b0387b7 diff --git a/common/addons/config-noise-function b/common/addons/config-noise-function index f61efc496..495d835fc 160000 --- a/common/addons/config-noise-function +++ b/common/addons/config-noise-function @@ -1 +1 @@ -Subproject commit f61efc4965ced99c5323c834f73bbf31c3825500 +Subproject commit 495d835fce3d541349d1ec1164d7dab128a3265f diff --git a/common/addons/config-ore b/common/addons/config-ore index 012f51251..5856844c2 160000 --- a/common/addons/config-ore +++ b/common/addons/config-ore @@ -1 +1 @@ -Subproject commit 012f51251597860e3693ed03ac8a11673d3ce395 +Subproject commit 5856844c23b5a8a9839fa4a39def57c0bfc04917 diff --git a/common/addons/config-palette b/common/addons/config-palette index 60135c3ff..a3111c969 160000 --- a/common/addons/config-palette +++ b/common/addons/config-palette @@ -1 +1 @@ -Subproject commit 60135c3ffd0423acdc0fc528408f30986d1c4425 +Subproject commit a3111c969df9dffc757facce1f756f743b55f0d8 diff --git a/common/addons/config-structure b/common/addons/config-structure index e5f233a71..a352e4fcb 160000 --- a/common/addons/config-structure +++ b/common/addons/config-structure @@ -1 +1 @@ -Subproject commit e5f233a71ea1974a5a7220e21f72c9d9e74127b6 +Subproject commit a352e4fcbb4e31bebfabb56780832bd970ed3ca2 diff --git a/common/addons/generation-stage-feature b/common/addons/generation-stage-feature index 2875dd8b9..bd02f5528 160000 --- a/common/addons/generation-stage-feature +++ b/common/addons/generation-stage-feature @@ -1 +1 @@ -Subproject commit 2875dd8b9bf36ddb34dbdacd6bc942c917586bb4 +Subproject commit bd02f5528879e88f52a50621854cb9bf2ecaf081 diff --git a/common/addons/language-yaml b/common/addons/language-yaml index b0e1dc7cd..b9f98da05 160000 --- a/common/addons/language-yaml +++ b/common/addons/language-yaml @@ -1 +1 @@ -Subproject commit b0e1dc7cda60c5a487ba60ea1f36fc388e352cbf +Subproject commit b9f98da059b4daa9513c09151170f5239fd76d71 diff --git a/common/addons/manifest-addon-loader b/common/addons/manifest-addon-loader index 87fb98d7a..c5db2fcd2 160000 --- a/common/addons/manifest-addon-loader +++ b/common/addons/manifest-addon-loader @@ -1 +1 @@ -Subproject commit 87fb98d7ae97ea80cee08015a14d181b5f9111b2 +Subproject commit c5db2fcd23c8cd16b1ad836fbb9ae7dac7c356bb diff --git a/common/addons/structure-sponge-loader b/common/addons/structure-sponge-loader index 0e246e395..7523eba64 160000 --- a/common/addons/structure-sponge-loader +++ b/common/addons/structure-sponge-loader @@ -1 +1 @@ -Subproject commit 0e246e3958fdd88a2920e306ef2272e034aa958c +Subproject commit 7523eba64d69ec18963296f83b83e3424892e43c diff --git a/common/addons/structure-terrascript-loader b/common/addons/structure-terrascript-loader index 85a1d3ca2..355e02402 160000 --- a/common/addons/structure-terrascript-loader +++ b/common/addons/structure-terrascript-loader @@ -1 +1 @@ -Subproject commit 85a1d3ca2b6a4bd570ed31d2bdbc1da0d1ec232b +Subproject commit 355e024025e9906f76c2c1c4332081549b597c6c diff --git a/common/api/addons/src/main/java/com/dfsek/terra/api/addon/BaseAddon.java b/common/api/addons/src/main/java/com/dfsek/terra/api/addon/BaseAddon.java index cf29931f6..458e58630 100644 --- a/common/api/addons/src/main/java/com/dfsek/terra/api/addon/BaseAddon.java +++ b/common/api/addons/src/main/java/com/dfsek/terra/api/addon/BaseAddon.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.addon; import ca.solostudios.strata.version.Version; diff --git a/common/api/addons/src/main/java/com/dfsek/terra/api/addon/bootstrap/BootstrapBaseAddon.java b/common/api/addons/src/main/java/com/dfsek/terra/api/addon/bootstrap/BootstrapBaseAddon.java index 54a4de636..02ace514d 100644 --- a/common/api/addons/src/main/java/com/dfsek/terra/api/addon/bootstrap/BootstrapBaseAddon.java +++ b/common/api/addons/src/main/java/com/dfsek/terra/api/addon/bootstrap/BootstrapBaseAddon.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.addon.bootstrap; import java.nio.file.Path; @@ -10,7 +17,7 @@ public interface BootstrapBaseAddon extends BaseAddon { * Load all the relevant addons in the specified path. * * @param addonsFolder Path containing addons. - * @param parent + * @param parent parent class loader * * @return Loaded addons */ diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/Handle.java b/common/api/core/src/main/java/com/dfsek/terra/api/Handle.java index 44c62c87d..293e53ce7 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/Handle.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/Handle.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api; /** diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/Platform.java b/common/api/core/src/main/java/com/dfsek/terra/api/Platform.java index 19a8f66d8..07829d3af 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/Platform.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/Platform.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api; import java.io.File; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/addon/Addon.java b/common/api/core/src/main/java/com/dfsek/terra/api/addon/Addon.java index 2d807e73c..7ecb32588 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/addon/Addon.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/addon/Addon.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.addon; public interface Addon { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/addon/AddonLoader.java b/common/api/core/src/main/java/com/dfsek/terra/api/addon/AddonLoader.java index 988ae520f..edc010882 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/addon/AddonLoader.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/addon/AddonLoader.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.addon; import com.dfsek.terra.api.Platform; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/BlockType.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/BlockType.java index 39b91cf12..707002023 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/BlockType.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/BlockType.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block; import com.dfsek.terra.api.Handle; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/BlockEntity.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/BlockEntity.java index 78dede271..7ecb6c07e 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/BlockEntity.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/BlockEntity.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.entity; import com.dfsek.terra.api.Handle; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/Container.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/Container.java index 6266f4e79..3b2a8588a 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/Container.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/Container.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.entity; import com.dfsek.terra.api.inventory.BlockInventoryHolder; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/MobSpawner.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/MobSpawner.java index c0497c562..b64e7ed5c 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/MobSpawner.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/MobSpawner.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.entity; import org.jetbrains.annotations.NotNull; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/SerialState.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/SerialState.java index f3bef5e3e..17af01361 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/SerialState.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/SerialState.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.entity; import java.util.HashMap; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/Sign.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/Sign.java index f8c148303..4f48c2b99 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/Sign.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/entity/Sign.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.entity; import org.jetbrains.annotations.NotNull; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/BlockState.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/BlockState.java index 08798ad44..56e5d18d2 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/BlockState.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/BlockState.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.state; import java.util.function.Consumer; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/Property.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/Property.java index 839f78287..6384e30f8 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/Property.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/Property.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.state.properties; import java.util.Collection; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/BooleanProperty.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/BooleanProperty.java index 511d9278a..21da000cc 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/BooleanProperty.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/BooleanProperty.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.state.properties.base; import java.util.Arrays; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/EnumProperty.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/EnumProperty.java index 475dd8a01..b09bd1215 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/EnumProperty.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/EnumProperty.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.state.properties.base; import java.util.Arrays; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/IntProperty.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/IntProperty.java index eb5a22ea7..9a56b5690 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/IntProperty.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/IntProperty.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.state.properties.base; import java.util.ArrayList; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/Properties.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/Properties.java index f1c8ba0f3..e7623ad68 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/Properties.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/base/Properties.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.state.properties.base; import com.dfsek.terra.api.block.state.properties.enums.Axis; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/Axis.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/Axis.java index 9d0156929..f57362ef1 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/Axis.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/Axis.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.state.properties.enums; public enum Axis { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/Direction.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/Direction.java index 091416781..7f2222fe7 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/Direction.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/Direction.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.state.properties.enums; import com.dfsek.terra.api.structure.rotation.Rotation; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/Half.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/Half.java index 50d32bef7..160710629 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/Half.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/Half.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.state.properties.enums; public enum Half { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/RailShape.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/RailShape.java index 47d537bc5..6030b699c 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/RailShape.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/RailShape.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.state.properties.enums; public enum RailShape { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/RedstoneConnection.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/RedstoneConnection.java index 08a01a163..12b5899c8 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/RedstoneConnection.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/RedstoneConnection.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.state.properties.enums; public enum RedstoneConnection { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/WallHeight.java b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/WallHeight.java index eda29ef85..e9940eace 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/WallHeight.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/block/state/properties/enums/WallHeight.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.block.state.properties.enums; public enum WallHeight { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/CommandManager.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/CommandManager.java index 1ebe09b91..fa39179f5 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/CommandManager.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/CommandManager.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command; import java.util.List; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/CommandTemplate.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/CommandTemplate.java index 21e30b2cc..73035186c 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/CommandTemplate.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/CommandTemplate.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command; import com.dfsek.terra.api.entity.CommandSender; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Argument.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Argument.java index ddcf7b7e4..5da404473 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Argument.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Argument.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.annotation; import java.lang.annotation.ElementType; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Command.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Command.java index 021babec4..a27d6bd01 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Command.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Command.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.annotation; import java.lang.annotation.ElementType; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Subcommand.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Subcommand.java index 7140b7db6..b4a10172f 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Subcommand.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Subcommand.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.annotation; import java.lang.annotation.ElementType; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Switch.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Switch.java index 1abd9b121..3bdf4e6f6 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Switch.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/Switch.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.annotation; import java.lang.annotation.ElementType; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/inject/ArgumentTarget.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/inject/ArgumentTarget.java index edd6f82a6..899cded10 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/inject/ArgumentTarget.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/inject/ArgumentTarget.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.annotation.inject; import java.lang.annotation.ElementType; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/inject/SwitchTarget.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/inject/SwitchTarget.java index 7d3f327df..e67cb51cf 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/inject/SwitchTarget.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/inject/SwitchTarget.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.annotation.inject; import java.lang.annotation.ElementType; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/type/DebugCommand.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/type/DebugCommand.java index 280eaa9c2..3f5ccedca 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/type/DebugCommand.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/type/DebugCommand.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.annotation.type; import java.lang.annotation.ElementType; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/type/PlayerCommand.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/type/PlayerCommand.java index b7922c6a7..cf8f5cf81 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/type/PlayerCommand.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/type/PlayerCommand.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.annotation.type; import java.lang.annotation.ElementType; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/type/WorldCommand.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/type/WorldCommand.java index 1d3dd722b..12c46d0dd 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/type/WorldCommand.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/annotation/type/WorldCommand.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.annotation.type; import java.lang.annotation.ElementType; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/ArgumentParser.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/ArgumentParser.java index abb169575..84c1f8afe 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/ArgumentParser.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/ArgumentParser.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.arg; import com.dfsek.terra.api.entity.CommandSender; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/DoubleArgumentParser.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/DoubleArgumentParser.java index 4eadb86b8..026940730 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/DoubleArgumentParser.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/DoubleArgumentParser.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.arg; import com.dfsek.terra.api.entity.CommandSender; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/IntegerArgumentParser.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/IntegerArgumentParser.java index 2f5313583..146a8c1f8 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/IntegerArgumentParser.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/IntegerArgumentParser.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.arg; import com.dfsek.terra.api.entity.CommandSender; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/StringArgumentParser.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/StringArgumentParser.java index c7d22ea39..1bbe9b7d1 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/StringArgumentParser.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/arg/StringArgumentParser.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.arg; import com.dfsek.terra.api.entity.CommandSender; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/CommandException.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/CommandException.java index 2af650a0e..03c0c6c12 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/CommandException.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/CommandException.java @@ -1,6 +1,17 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.exception; +import java.io.Serial; + + public abstract class CommandException extends Exception { + @Serial private static final long serialVersionUID = -2955328495045879822L; public CommandException(String message) { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/ExecutionException.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/ExecutionException.java index ac23ac64c..261deb376 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/ExecutionException.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/ExecutionException.java @@ -1,6 +1,17 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.exception; +import java.io.Serial; + + public class ExecutionException extends CommandException { + @Serial private static final long serialVersionUID = -6345523475880607959L; public ExecutionException(String message) { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/InvalidArgumentsException.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/InvalidArgumentsException.java index 8302d3118..ac77b05cc 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/InvalidArgumentsException.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/InvalidArgumentsException.java @@ -1,6 +1,17 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.exception; +import java.io.Serial; + + public class InvalidArgumentsException extends CommandException { + @Serial private static final long serialVersionUID = 7563619667472569824L; public InvalidArgumentsException(String message) { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/MalformedCommandException.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/MalformedCommandException.java index f728c707e..3f4ec8eac 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/MalformedCommandException.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/MalformedCommandException.java @@ -1,9 +1,20 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.exception; +import java.io.Serial; + + /** * Thrown when command is incorrectly defined. */ public class MalformedCommandException extends CommandException { + @Serial private static final long serialVersionUID = -5417760860407895496L; public MalformedCommandException(String message) { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/SwitchFormatException.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/SwitchFormatException.java index 944e2b4a0..afb885314 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/SwitchFormatException.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/exception/SwitchFormatException.java @@ -1,6 +1,17 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.exception; +import java.io.Serial; + + public class SwitchFormatException extends CommandException { + @Serial private static final long serialVersionUID = -965858989317844628L; public SwitchFormatException(String message) { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/tab/NothingCompleter.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/tab/NothingCompleter.java index f4d7e2fa4..82fe14aa0 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/tab/NothingCompleter.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/tab/NothingCompleter.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.tab; import java.util.Collections; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/command/tab/TabCompleter.java b/common/api/core/src/main/java/com/dfsek/terra/api/command/tab/TabCompleter.java index f0836bd1e..3f6762010 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/command/tab/TabCompleter.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/command/tab/TabCompleter.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.command.tab; import java.util.List; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/config/AbstractableTemplate.java b/common/api/core/src/main/java/com/dfsek/terra/api/config/AbstractableTemplate.java index 62a276527..be4155fcb 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/config/AbstractableTemplate.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/config/AbstractableTemplate.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.config; import com.dfsek.tectonic.config.ConfigTemplate; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/config/ConfigFactory.java b/common/api/core/src/main/java/com/dfsek/terra/api/config/ConfigFactory.java index 533121bcf..79518b3d9 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/config/ConfigFactory.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/config/ConfigFactory.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.config; import com.dfsek.tectonic.config.ConfigTemplate; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/config/ConfigPack.java b/common/api/core/src/main/java/com/dfsek/terra/api/config/ConfigPack.java index 9f95c064a..f5c209655 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/config/ConfigPack.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/config/ConfigPack.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.config; import java.lang.reflect.Type; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/config/ConfigType.java b/common/api/core/src/main/java/com/dfsek/terra/api/config/ConfigType.java index 6598cb01f..7802e2a50 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/config/ConfigType.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/config/ConfigType.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.config; import java.util.function.Supplier; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/config/Loader.java b/common/api/core/src/main/java/com/dfsek/terra/api/config/Loader.java index f09b91491..11b065999 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/config/Loader.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/config/Loader.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.config; import com.dfsek.tectonic.exception.ConfigException; @@ -29,7 +36,7 @@ public interface Loader { * Open a subdirectory. * * @param directory Directory to open - * @param extension + * @param extension File extension */ Loader open(String directory, String extension); diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/config/PluginConfig.java b/common/api/core/src/main/java/com/dfsek/terra/api/config/PluginConfig.java index f661650e1..a1df1bc09 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/config/PluginConfig.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/config/PluginConfig.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.config; import com.dfsek.terra.api.Platform; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/config/WorldConfig.java b/common/api/core/src/main/java/com/dfsek/terra/api/config/WorldConfig.java index a13e8f501..49b6ae5c2 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/config/WorldConfig.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/config/WorldConfig.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.config; import java.util.Map; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/config/meta/Meta.java b/common/api/core/src/main/java/com/dfsek/terra/api/config/meta/Meta.java index 33e7fb6bc..874b9900a 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/config/meta/Meta.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/config/meta/Meta.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.config.meta; import java.lang.annotation.ElementType; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/entity/CommandSender.java b/common/api/core/src/main/java/com/dfsek/terra/api/entity/CommandSender.java index 953809a97..ad9a25030 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/entity/CommandSender.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/entity/CommandSender.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.entity; import com.dfsek.terra.api.Handle; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/entity/Entity.java b/common/api/core/src/main/java/com/dfsek/terra/api/entity/Entity.java index 7d20ba2ae..6eec4b072 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/entity/Entity.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/entity/Entity.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.entity; import com.dfsek.terra.api.util.vector.Vector3; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/entity/EntityType.java b/common/api/core/src/main/java/com/dfsek/terra/api/entity/EntityType.java index 79e3c1043..b873e69f4 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/entity/EntityType.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/entity/EntityType.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.entity; import com.dfsek.terra.api.Handle; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/entity/Player.java b/common/api/core/src/main/java/com/dfsek/terra/api/entity/Player.java index d8cbc30e3..972d7e265 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/entity/Player.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/entity/Player.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.entity; public interface Player extends Entity { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/EventHandler.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/EventHandler.java index 4e8692552..6c9c71fd6 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/EventHandler.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/EventHandler.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event; import com.dfsek.terra.api.event.events.Event; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/EventManager.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/EventManager.java index 1645376f5..994bcd6f5 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/EventManager.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/EventManager.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event; import com.dfsek.terra.api.event.events.Event; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/AbstractCancellable.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/AbstractCancellable.java index 6b0f70b98..188f078c9 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/AbstractCancellable.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/AbstractCancellable.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events; import com.dfsek.terra.api.util.mutable.MutableBoolean; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/Cancellable.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/Cancellable.java index 5c181ac39..4a832b817 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/Cancellable.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/Cancellable.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events; /** diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/Event.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/Event.java index 67d12a029..3051c744f 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/Event.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/Event.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events; /** diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/FailThroughEvent.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/FailThroughEvent.java index 6c917c538..0c1f35382 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/FailThroughEvent.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/FailThroughEvent.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events; /** diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/PackEvent.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/PackEvent.java index aff5d7d94..cb7ebe079 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/PackEvent.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/PackEvent.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events; import com.dfsek.terra.api.config.ConfigPack; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/ConfigurationDiscoveryEvent.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/ConfigurationDiscoveryEvent.java index 1fd571cc0..9f1e63991 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/ConfigurationDiscoveryEvent.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/ConfigurationDiscoveryEvent.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events.config; import com.dfsek.tectonic.config.Configuration; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/ConfigurationLoadEvent.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/ConfigurationLoadEvent.java index 7d8499fb1..1a603bced 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/ConfigurationLoadEvent.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/ConfigurationLoadEvent.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events.config; import com.dfsek.tectonic.abstraction.AbstractConfiguration; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/pack/ConfigPackLoadEvent.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/pack/ConfigPackLoadEvent.java index 78ffdcb6e..ae1a39362 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/pack/ConfigPackLoadEvent.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/pack/ConfigPackLoadEvent.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events.config.pack; import com.dfsek.tectonic.config.ConfigTemplate; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/pack/ConfigPackPostLoadEvent.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/pack/ConfigPackPostLoadEvent.java index 39905989a..7373ffaf6 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/pack/ConfigPackPostLoadEvent.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/pack/ConfigPackPostLoadEvent.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events.config.pack; import com.dfsek.tectonic.config.ConfigTemplate; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/pack/ConfigPackPreLoadEvent.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/pack/ConfigPackPreLoadEvent.java index 192d6b606..7346a7209 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/pack/ConfigPackPreLoadEvent.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/pack/ConfigPackPreLoadEvent.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events.config.pack; import com.dfsek.tectonic.config.ConfigTemplate; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/type/ConfigTypeLoadEvent.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/type/ConfigTypeLoadEvent.java index 13fffacf4..8dd7db191 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/type/ConfigTypeLoadEvent.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/type/ConfigTypeLoadEvent.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events.config.type; import com.dfsek.terra.api.config.ConfigPack; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/type/ConfigTypePostLoadEvent.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/type/ConfigTypePostLoadEvent.java index 0e7fd3110..f3b72ccd2 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/type/ConfigTypePostLoadEvent.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/type/ConfigTypePostLoadEvent.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events.config.type; import com.dfsek.terra.api.config.ConfigPack; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/type/ConfigTypePreLoadEvent.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/type/ConfigTypePreLoadEvent.java index 13cc1742e..084d68a0a 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/type/ConfigTypePreLoadEvent.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/config/type/ConfigTypePreLoadEvent.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events.config.type; import com.dfsek.terra.api.config.ConfigPack; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/platform/PlatformInitializationEvent.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/platform/PlatformInitializationEvent.java index f43a86f93..d94ee750c 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/platform/PlatformInitializationEvent.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/platform/PlatformInitializationEvent.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events.platform; import com.dfsek.terra.api.event.events.Event; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/world/generation/EntitySpawnEvent.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/world/generation/EntitySpawnEvent.java index 4ed04a634..2efc4ac24 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/world/generation/EntitySpawnEvent.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/world/generation/EntitySpawnEvent.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events.world.generation; import com.dfsek.terra.api.config.ConfigPack; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/world/generation/LootPopulateEvent.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/world/generation/LootPopulateEvent.java index e23aae20c..e956c5067 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/events/world/generation/LootPopulateEvent.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/events/world/generation/LootPopulateEvent.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.events.world.generation; import org.jetbrains.annotations.NotNull; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/functional/EventContext.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/functional/EventContext.java index e4fc6dc8c..54750cc8b 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/functional/EventContext.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/functional/EventContext.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.functional; import java.util.function.Consumer; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/event/functional/FunctionalEventHandler.java b/common/api/core/src/main/java/com/dfsek/terra/api/event/functional/FunctionalEventHandler.java index a6c0012f0..9ec9c62c9 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/event/functional/FunctionalEventHandler.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/event/functional/FunctionalEventHandler.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.event.functional; import com.dfsek.terra.api.addon.BaseAddon; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/handle/ItemHandle.java b/common/api/core/src/main/java/com/dfsek/terra/api/handle/ItemHandle.java index af4d09242..2cc69db77 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/handle/ItemHandle.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/handle/ItemHandle.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.handle; import java.util.Set; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/handle/WorldHandle.java b/common/api/core/src/main/java/com/dfsek/terra/api/handle/WorldHandle.java index 3ae571247..3f66f098b 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/handle/WorldHandle.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/handle/WorldHandle.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.handle; import com.dfsek.terra.api.block.entity.BlockEntity; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/BlockInventoryHolder.java b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/BlockInventoryHolder.java index 76b21f55b..267a1ffec 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/BlockInventoryHolder.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/BlockInventoryHolder.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.inventory; import com.dfsek.terra.api.util.vector.Vector3; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/Inventory.java b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/Inventory.java index 29ba5cab1..8f0888ac7 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/Inventory.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/Inventory.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.inventory; import com.dfsek.terra.api.Handle; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/InventoryHolder.java b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/InventoryHolder.java index 220360c84..bf62a1c79 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/InventoryHolder.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/InventoryHolder.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.inventory; import com.dfsek.terra.api.Handle; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/Item.java b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/Item.java index 9762f7a27..36d27c08d 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/Item.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/Item.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.inventory; import com.dfsek.terra.api.Handle; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/ItemStack.java b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/ItemStack.java index 26a46e734..0edc53c6e 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/ItemStack.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/ItemStack.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.inventory; import com.dfsek.terra.api.Handle; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/item/Damageable.java b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/item/Damageable.java index c81fb3b8f..9f950a3c9 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/item/Damageable.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/item/Damageable.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.inventory.item; import com.dfsek.terra.api.Handle; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/item/Enchantment.java b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/item/Enchantment.java index 258a027cc..a836bc22b 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/item/Enchantment.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/item/Enchantment.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.inventory.item; import com.dfsek.terra.api.Handle; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/item/ItemMeta.java b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/item/ItemMeta.java index 157889680..6094ce389 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/inventory/item/ItemMeta.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/inventory/item/ItemMeta.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.inventory.item; import java.util.Map; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/lang/Language.java b/common/api/core/src/main/java/com/dfsek/terra/api/lang/Language.java index f4ae7b651..0cfafc4b5 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/lang/Language.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/lang/Language.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.lang; import java.util.logging.Level; @@ -11,6 +18,5 @@ public interface Language { void send(String messageID, CommandSender sender, String... args); - @SuppressWarnings("unchecked") Message getMessage(String id); } diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/lang/Message.java b/common/api/core/src/main/java/com/dfsek/terra/api/lang/Message.java index 7aa77196e..5a06ff646 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/lang/Message.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/lang/Message.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.lang; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/profiler/ProfileFrame.java b/common/api/core/src/main/java/com/dfsek/terra/api/profiler/ProfileFrame.java index 2d8775c54..5a910c5b5 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/profiler/ProfileFrame.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/profiler/ProfileFrame.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.profiler; public class ProfileFrame implements AutoCloseable { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/profiler/Profiler.java b/common/api/core/src/main/java/com/dfsek/terra/api/profiler/Profiler.java index c45b87271..af52b324c 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/profiler/Profiler.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/profiler/Profiler.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.profiler; import java.util.Map; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/profiler/Timings.java b/common/api/core/src/main/java/com/dfsek/terra/api/profiler/Timings.java index e37613efa..199d4943f 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/profiler/Timings.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/profiler/Timings.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.profiler; import java.util.ArrayList; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/properties/Context.java b/common/api/core/src/main/java/com/dfsek/terra/api/properties/Context.java index 203b971a0..93e87a807 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/properties/Context.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/properties/Context.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.properties; import java.util.HashMap; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/properties/Properties.java b/common/api/core/src/main/java/com/dfsek/terra/api/properties/Properties.java index 43360d347..162828357 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/properties/Properties.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/properties/Properties.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.properties; public interface Properties { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/properties/PropertyHolder.java b/common/api/core/src/main/java/com/dfsek/terra/api/properties/PropertyHolder.java index 7fe882ab7..e48d50bed 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/properties/PropertyHolder.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/properties/PropertyHolder.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.properties; public interface PropertyHolder { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/properties/annotations/Linked.java b/common/api/core/src/main/java/com/dfsek/terra/api/properties/annotations/Linked.java index f6b197233..230ab1841 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/properties/annotations/Linked.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/properties/annotations/Linked.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.properties.annotations; import java.lang.annotation.ElementType; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/structure/LootTable.java b/common/api/core/src/main/java/com/dfsek/terra/api/structure/LootTable.java index a65dbb7f9..fcfe9d555 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/structure/LootTable.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/structure/LootTable.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.structure; import java.util.List; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/structure/Structure.java b/common/api/core/src/main/java/com/dfsek/terra/api/structure/Structure.java index c7da619a1..ae8f52000 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/structure/Structure.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/structure/Structure.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.structure; import java.util.Random; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/structure/StructureSpawn.java b/common/api/core/src/main/java/com/dfsek/terra/api/structure/StructureSpawn.java index c9be4cc25..d168e62ec 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/structure/StructureSpawn.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/structure/StructureSpawn.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.structure; import com.dfsek.terra.api.util.vector.Vector3; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/Buffer.java b/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/Buffer.java index f3e8dbd77..ebe36b86f 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/Buffer.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/Buffer.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.structure.buffer; import com.dfsek.terra.api.util.vector.Vector3; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/BufferedItem.java b/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/BufferedItem.java index a833184aa..1cc8d268c 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/BufferedItem.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/BufferedItem.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.structure.buffer; import com.dfsek.terra.api.util.vector.Vector3; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/buffers/DirectBuffer.java b/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/buffers/DirectBuffer.java index 9c57a9476..3945051f6 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/buffers/DirectBuffer.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/buffers/DirectBuffer.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.structure.buffer.buffers; import java.util.LinkedHashMap; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/buffers/StructureBuffer.java b/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/buffers/StructureBuffer.java index 5857429c7..ad33b1df4 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/buffers/StructureBuffer.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/buffers/StructureBuffer.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.structure.buffer.buffers; import net.jafama.FastMath; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/items/BufferedBlock.java b/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/items/BufferedBlock.java index cc0f18af5..b1624e3ac 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/items/BufferedBlock.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/items/BufferedBlock.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.structure.buffer.items; import com.dfsek.terra.api.Platform; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/items/Cell.java b/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/items/Cell.java index 81ab82fc9..8f7ac0647 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/items/Cell.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/structure/buffer/items/Cell.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.structure.buffer.items; import java.util.ArrayList; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/structure/configured/ConfiguredStructure.java b/common/api/core/src/main/java/com/dfsek/terra/api/structure/configured/ConfiguredStructure.java index a7ae04779..6fef52889 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/structure/configured/ConfiguredStructure.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/structure/configured/ConfiguredStructure.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.structure.configured; import com.dfsek.terra.api.structure.Structure; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/BinaryColumn.java b/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/BinaryColumn.java index 1a03649a5..d5ca60afb 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/BinaryColumn.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/BinaryColumn.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.structure.feature; import java.util.function.IntConsumer; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/Distributor.java b/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/Distributor.java index 84d1e7743..321b67e31 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/Distributor.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/Distributor.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.structure.feature; public interface Distributor { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/Feature.java b/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/Feature.java index d06180753..d3b7b1968 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/Feature.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/Feature.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.structure.feature; import com.dfsek.terra.api.structure.Structure; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/Locator.java b/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/Locator.java index 3342f2238..f87c4db8d 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/Locator.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/structure/feature/Locator.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.structure.feature; import com.dfsek.terra.api.world.Column; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/structure/rotation/Rotation.java b/common/api/core/src/main/java/com/dfsek/terra/api/structure/rotation/Rotation.java index 685c565d2..353f223b9 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/structure/rotation/Rotation.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/structure/rotation/Rotation.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.structure.rotation; import net.jafama.FastMath; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/tectonic/LoaderHolder.java b/common/api/core/src/main/java/com/dfsek/terra/api/tectonic/LoaderHolder.java index 97cf3d3df..672c1f30a 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/tectonic/LoaderHolder.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/tectonic/LoaderHolder.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.tectonic; import com.dfsek.tectonic.loading.TypeLoader; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/tectonic/LoaderRegistrar.java b/common/api/core/src/main/java/com/dfsek/terra/api/tectonic/LoaderRegistrar.java index ee0d280e1..1a2bbf3ca 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/tectonic/LoaderRegistrar.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/tectonic/LoaderRegistrar.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.tectonic; import com.dfsek.tectonic.loading.TypeRegistry; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/transform/Transform.java b/common/api/core/src/main/java/com/dfsek/terra/api/transform/Transform.java index 75cd6e0c7..014747f0f 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/transform/Transform.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/transform/Transform.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.transform; import com.dfsek.terra.api.transform.exception.TransformException; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/transform/Transformer.java b/common/api/core/src/main/java/com/dfsek/terra/api/transform/Transformer.java index 3e1194c72..8ca8a904a 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/transform/Transformer.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/transform/Transformer.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.transform; public interface Transformer { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/transform/Validator.java b/common/api/core/src/main/java/com/dfsek/terra/api/transform/Validator.java index afa343834..9a9aecbdd 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/transform/Validator.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/transform/Validator.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.transform; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/transform/exception/AttemptsFailedException.java b/common/api/core/src/main/java/com/dfsek/terra/api/transform/exception/AttemptsFailedException.java index ce6474bb0..5f83706f3 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/transform/exception/AttemptsFailedException.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/transform/exception/AttemptsFailedException.java @@ -1,11 +1,20 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.transform.exception; +import java.io.Serial; import java.util.ArrayList; import java.util.List; public class AttemptsFailedException extends RuntimeException { + @Serial private static final long serialVersionUID = -1160459550006067137L; private final List causes; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/transform/exception/TransformException.java b/common/api/core/src/main/java/com/dfsek/terra/api/transform/exception/TransformException.java index 051c495a7..ff80b6642 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/transform/exception/TransformException.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/transform/exception/TransformException.java @@ -1,6 +1,17 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.transform.exception; +import java.io.Serial; + + public class TransformException extends Exception { + @Serial private static final long serialVersionUID = -6661338369581162084L; public TransformException() { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/util/ConstantRange.java b/common/api/core/src/main/java/com/dfsek/terra/api/util/ConstantRange.java index c4d213474..5e2e75641 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/util/ConstantRange.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/util/ConstantRange.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util; import net.jafama.FastMath; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/util/PopulationUtil.java b/common/api/core/src/main/java/com/dfsek/terra/api/util/PopulationUtil.java index 01da248d1..793c530b2 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/util/PopulationUtil.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/util/PopulationUtil.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util; import java.util.Random; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/util/Range.java b/common/api/core/src/main/java/com/dfsek/terra/api/util/Range.java index ad3ea7d39..9aa57fde3 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/util/Range.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/util/Range.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util; import org.jetbrains.annotations.NotNull; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/util/RotationUtil.java b/common/api/core/src/main/java/com/dfsek/terra/api/util/RotationUtil.java index 40bbe0e7c..897a9a715 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/util/RotationUtil.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/util/RotationUtil.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util; import com.dfsek.terra.api.block.state.BlockState; @@ -20,7 +27,7 @@ public final class RotationUtil { * @param orig Vector to rotate. * @param r Rotation * - * @return + * @return Rotated vector */ public static Vector2 rotateVector(Vector2 orig, Rotation r) { Vector2 copy = orig.clone(); @@ -59,48 +66,45 @@ public final class RotationUtil { */ @SuppressWarnings("fallthrough") public static RailShape getRotatedRail(RailShape orig, Rotation r) { - switch(r) { - case CCW_90: - return switch(orig) { - case NORTH_WEST -> RailShape.SOUTH_WEST; - case NORTH_SOUTH -> RailShape.EAST_WEST; - case SOUTH_WEST -> RailShape.SOUTH_EAST; - case SOUTH_EAST -> RailShape.NORTH_EAST; - case EAST_WEST -> RailShape.NORTH_SOUTH; - case NORTH_EAST -> RailShape.NORTH_WEST; - case ASCENDING_EAST -> RailShape.ASCENDING_NORTH; - case ASCENDING_WEST -> RailShape.ASCENDING_SOUTH; - case ASCENDING_NORTH -> RailShape.ASCENDING_WEST; - case ASCENDING_SOUTH -> RailShape.ASCENDING_EAST; - }; - case CW_90: - return switch(orig) { - case NORTH_WEST -> RailShape.NORTH_EAST; - case NORTH_SOUTH -> RailShape.EAST_WEST; - case SOUTH_WEST -> RailShape.NORTH_WEST; - case SOUTH_EAST -> RailShape.SOUTH_WEST; - case EAST_WEST -> RailShape.NORTH_SOUTH; - case NORTH_EAST -> RailShape.SOUTH_EAST; - case ASCENDING_EAST -> RailShape.ASCENDING_SOUTH; - case ASCENDING_WEST -> RailShape.ASCENDING_NORTH; - case ASCENDING_NORTH -> RailShape.ASCENDING_EAST; - case ASCENDING_SOUTH -> RailShape.ASCENDING_WEST; - }; - case CW_180: - return switch(orig) { - case NORTH_WEST -> RailShape.SOUTH_EAST; - case NORTH_SOUTH -> RailShape.NORTH_SOUTH; - case SOUTH_WEST -> RailShape.NORTH_EAST; - case SOUTH_EAST -> RailShape.NORTH_WEST; - case EAST_WEST -> RailShape.EAST_WEST; - case NORTH_EAST -> RailShape.SOUTH_WEST; - case ASCENDING_EAST -> RailShape.ASCENDING_WEST; - case ASCENDING_WEST -> RailShape.ASCENDING_EAST; - case ASCENDING_NORTH -> RailShape.ASCENDING_SOUTH; - case ASCENDING_SOUTH -> RailShape.ASCENDING_NORTH; - }; - } - return orig; + return switch(r) { + case CCW_90 -> switch(orig) { + case NORTH_WEST -> RailShape.SOUTH_WEST; + case NORTH_SOUTH -> RailShape.EAST_WEST; + case SOUTH_WEST -> RailShape.SOUTH_EAST; + case SOUTH_EAST -> RailShape.NORTH_EAST; + case EAST_WEST -> RailShape.NORTH_SOUTH; + case NORTH_EAST -> RailShape.NORTH_WEST; + case ASCENDING_EAST -> RailShape.ASCENDING_NORTH; + case ASCENDING_WEST -> RailShape.ASCENDING_SOUTH; + case ASCENDING_NORTH -> RailShape.ASCENDING_WEST; + case ASCENDING_SOUTH -> RailShape.ASCENDING_EAST; + }; + case CW_90 -> switch(orig) { + case NORTH_WEST -> RailShape.NORTH_EAST; + case NORTH_SOUTH -> RailShape.EAST_WEST; + case SOUTH_WEST -> RailShape.NORTH_WEST; + case SOUTH_EAST -> RailShape.SOUTH_WEST; + case EAST_WEST -> RailShape.NORTH_SOUTH; + case NORTH_EAST -> RailShape.SOUTH_EAST; + case ASCENDING_EAST -> RailShape.ASCENDING_SOUTH; + case ASCENDING_WEST -> RailShape.ASCENDING_NORTH; + case ASCENDING_NORTH -> RailShape.ASCENDING_EAST; + case ASCENDING_SOUTH -> RailShape.ASCENDING_WEST; + }; + case CW_180 -> switch(orig) { + case NORTH_WEST -> RailShape.SOUTH_EAST; + case NORTH_SOUTH -> RailShape.NORTH_SOUTH; + case SOUTH_WEST -> RailShape.NORTH_EAST; + case SOUTH_EAST -> RailShape.NORTH_WEST; + case EAST_WEST -> RailShape.EAST_WEST; + case NORTH_EAST -> RailShape.SOUTH_WEST; + case ASCENDING_EAST -> RailShape.ASCENDING_WEST; + case ASCENDING_WEST -> RailShape.ASCENDING_EAST; + case ASCENDING_NORTH -> RailShape.ASCENDING_SOUTH; + case ASCENDING_SOUTH -> RailShape.ASCENDING_NORTH; + }; + default -> orig; + }; } public static void rotateBlockData(BlockState data, Rotation r) { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/util/collection/MaterialSet.java b/common/api/core/src/main/java/com/dfsek/terra/api/util/collection/MaterialSet.java index d8ac4c6e2..6d53c30d3 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/util/collection/MaterialSet.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/util/collection/MaterialSet.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.collection; import java.io.Serial; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/util/collection/ProbabilityCollection.java b/common/api/core/src/main/java/com/dfsek/terra/api/util/collection/ProbabilityCollection.java index 36b9a63eb..a89b8acfd 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/util/collection/ProbabilityCollection.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/util/collection/ProbabilityCollection.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.collection; import org.jetbrains.annotations.NotNull; @@ -102,7 +109,7 @@ public class ProbabilityCollection implements Collection { @SuppressWarnings("SuspiciousToArrayCall") @NotNull @Override - public T @NotNull [] toArray(@NotNull T[] a) { + public T @NotNull [] toArray(@NotNull T @NotNull [] a) { return cont.keySet().toArray(a); } diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/BiomeGrid.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/BiomeGrid.java index 7cf47758c..8cd7fb438 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/BiomeGrid.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/BiomeGrid.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world; import org.jetbrains.annotations.NotNull; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/Carver.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/Carver.java index ec711c6e5..83f6df457 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/Carver.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/Carver.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world; public interface Carver { diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/Chunk.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/Chunk.java index 461bc330c..e5db8740e 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/Chunk.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/Chunk.java @@ -1,16 +1,25 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world; import com.dfsek.terra.api.block.state.BlockState; +import org.jetbrains.annotations.NotNull; + public interface Chunk extends ChunkAccess { void setBlock(int x, int y, int z, BlockState data, boolean physics); - default void setBlock(int x, int y, int z, BlockState data) { + default void setBlock(int x, int y, int z, @NotNull BlockState data) { setBlock(x, y, z, data, false); } - BlockState getBlock(int x, int y, int z); + @NotNull BlockState getBlock(int x, int y, int z); int getX(); diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/ChunkAccess.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/ChunkAccess.java index 3322165ba..96b7dd817 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/ChunkAccess.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/ChunkAccess.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world; import org.jetbrains.annotations.NotNull; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/Column.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/Column.java index b01896516..7e3396284 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/Column.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/Column.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world; import java.util.function.IntConsumer; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/Flora.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/Flora.java index 525011425..7584884be 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/Flora.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/Flora.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world; import java.util.List; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/Tree.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/Tree.java index e3f0cd4b4..78fa34741 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/Tree.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/Tree.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/World.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/World.java index 3e1fc6c44..cb8376339 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/World.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/World.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world; import com.dfsek.terra.api.Handle; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/Biome.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/Biome.java index 576c8fe19..209bc172e 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/Biome.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/Biome.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world.biome; import com.dfsek.terra.api.Handle; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/GenerationSettings.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/GenerationSettings.java index ee1b5a723..a5a7880d0 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/GenerationSettings.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/GenerationSettings.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world.biome; import com.dfsek.terra.api.noise.NoiseSampler; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/PaletteSettings.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/PaletteSettings.java index bb10d6801..0f72b8c1a 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/PaletteSettings.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/PaletteSettings.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world.biome; import com.dfsek.terra.api.world.generator.Palette; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/TerraBiome.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/TerraBiome.java index 5cca26618..93d0a5cd9 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/TerraBiome.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/TerraBiome.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world.biome; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/generation/BiomeProvider.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/generation/BiomeProvider.java index fa55acea6..f5df8ba31 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/generation/BiomeProvider.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/biome/generation/BiomeProvider.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world.biome.generation; import com.dfsek.terra.api.util.vector.Vector2; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkData.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkData.java index af3448e60..c65274e09 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkData.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkData.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world.generator; import com.dfsek.terra.api.world.ChunkAccess; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkGenerator.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkGenerator.java index 65dc552b9..15ea822bc 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkGenerator.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkGenerator.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world.generator; import org.jetbrains.annotations.NotNull; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkGeneratorProvider.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkGeneratorProvider.java index f6a8fe04f..c07ccd154 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkGeneratorProvider.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkGeneratorProvider.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world.generator; import com.dfsek.terra.api.config.ConfigPack; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkInterpolator.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkInterpolator.java index 8f6866fa3..50795a1ca 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkInterpolator.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/ChunkInterpolator.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world.generator; import java.util.Map; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/Chunkified.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/Chunkified.java index 7308b3343..1e10e6b1c 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/Chunkified.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/Chunkified.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world.generator; /** diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/GenerationStage.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/GenerationStage.java index 0339154ac..ff1244dee 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/GenerationStage.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/GenerationStage.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world.generator; import com.dfsek.terra.api.world.Chunk; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/GenerationStageProvider.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/GenerationStageProvider.java index 626bdb3ec..76bbe1304 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/GenerationStageProvider.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/GenerationStageProvider.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world.generator; import com.dfsek.terra.api.config.ConfigPack; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/GeneratorWrapper.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/GeneratorWrapper.java index 9357826dd..0d513898c 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/GeneratorWrapper.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/GeneratorWrapper.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world.generator; import com.dfsek.terra.api.Handle; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/Palette.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/Palette.java index fddabfadf..67432e23f 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/Palette.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/Palette.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world.generator; import com.dfsek.terra.api.block.state.BlockState; diff --git a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/SamplerCache.java b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/SamplerCache.java index c8c302712..2922cde88 100644 --- a/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/SamplerCache.java +++ b/common/api/core/src/main/java/com/dfsek/terra/api/world/generator/SamplerCache.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.world.generator; import com.dfsek.terra.api.util.math.Sampler; diff --git a/common/api/inject/src/main/java/com/dfsek/terra/api/inject/Injector.java b/common/api/inject/src/main/java/com/dfsek/terra/api/inject/Injector.java index e9a66d810..50caaf420 100644 --- a/common/api/inject/src/main/java/com/dfsek/terra/api/inject/Injector.java +++ b/common/api/inject/src/main/java/com/dfsek/terra/api/inject/Injector.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.inject; import com.dfsek.terra.api.inject.annotations.Inject; diff --git a/common/api/inject/src/main/java/com/dfsek/terra/api/inject/annotations/Inject.java b/common/api/inject/src/main/java/com/dfsek/terra/api/inject/annotations/Inject.java index dc9c0a3d3..28936aef2 100644 --- a/common/api/inject/src/main/java/com/dfsek/terra/api/inject/annotations/Inject.java +++ b/common/api/inject/src/main/java/com/dfsek/terra/api/inject/annotations/Inject.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.inject.annotations; import java.lang.annotation.ElementType; diff --git a/common/api/inject/src/main/java/com/dfsek/terra/api/inject/exception/InjectionException.java b/common/api/inject/src/main/java/com/dfsek/terra/api/inject/exception/InjectionException.java index ec6f1ed15..0f25b1479 100644 --- a/common/api/inject/src/main/java/com/dfsek/terra/api/inject/exception/InjectionException.java +++ b/common/api/inject/src/main/java/com/dfsek/terra/api/inject/exception/InjectionException.java @@ -1,12 +1,22 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.inject.exception; import com.dfsek.terra.api.inject.Injector; +import java.io.Serial; + /** * Thrown when dynamic dependency injection cannot be completed by an {@link Injector}. */ public class InjectionException extends RuntimeException { + @Serial private static final long serialVersionUID = -6929631447064215387L; public InjectionException(String message) { diff --git a/common/api/inject/src/main/java/com/dfsek/terra/api/inject/impl/InjectorImpl.java b/common/api/inject/src/main/java/com/dfsek/terra/api/inject/impl/InjectorImpl.java index 7c511f7e6..9c17501a5 100644 --- a/common/api/inject/src/main/java/com/dfsek/terra/api/inject/impl/InjectorImpl.java +++ b/common/api/inject/src/main/java/com/dfsek/terra/api/inject/impl/InjectorImpl.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.inject.impl; import java.lang.reflect.Field; diff --git a/common/api/noise/src/main/java/com/dfsek/terra/api/noise/NoiseSampler.java b/common/api/noise/src/main/java/com/dfsek/terra/api/noise/NoiseSampler.java index 974f7a01b..cedda685e 100644 --- a/common/api/noise/src/main/java/com/dfsek/terra/api/noise/NoiseSampler.java +++ b/common/api/noise/src/main/java/com/dfsek/terra/api/noise/NoiseSampler.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.noise; diff --git a/common/api/registry/src/main/java/com/dfsek/terra/api/registry/CheckedRegistry.java b/common/api/registry/src/main/java/com/dfsek/terra/api/registry/CheckedRegistry.java index db651f233..ce7f46e9e 100644 --- a/common/api/registry/src/main/java/com/dfsek/terra/api/registry/CheckedRegistry.java +++ b/common/api/registry/src/main/java/com/dfsek/terra/api/registry/CheckedRegistry.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.registry; import com.dfsek.terra.api.registry.exception.DuplicateEntryException; diff --git a/common/api/registry/src/main/java/com/dfsek/terra/api/registry/OpenRegistry.java b/common/api/registry/src/main/java/com/dfsek/terra/api/registry/OpenRegistry.java index 4051e0d59..4616ae34a 100644 --- a/common/api/registry/src/main/java/com/dfsek/terra/api/registry/OpenRegistry.java +++ b/common/api/registry/src/main/java/com/dfsek/terra/api/registry/OpenRegistry.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.registry; import com.dfsek.terra.api.registry.exception.DuplicateEntryException; diff --git a/common/api/registry/src/main/java/com/dfsek/terra/api/registry/Registry.java b/common/api/registry/src/main/java/com/dfsek/terra/api/registry/Registry.java index 1b8e6ac03..1b1276417 100644 --- a/common/api/registry/src/main/java/com/dfsek/terra/api/registry/Registry.java +++ b/common/api/registry/src/main/java/com/dfsek/terra/api/registry/Registry.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.registry; import com.dfsek.tectonic.loading.TypeLoader; diff --git a/common/api/registry/src/main/java/com/dfsek/terra/api/registry/exception/DuplicateEntryException.java b/common/api/registry/src/main/java/com/dfsek/terra/api/registry/exception/DuplicateEntryException.java index 47c3519aa..123ec2da3 100644 --- a/common/api/registry/src/main/java/com/dfsek/terra/api/registry/exception/DuplicateEntryException.java +++ b/common/api/registry/src/main/java/com/dfsek/terra/api/registry/exception/DuplicateEntryException.java @@ -1,9 +1,20 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.registry.exception; +import java.io.Serial; + + /** * Thrown when a duplicate entry is found in a registry. */ public class DuplicateEntryException extends RuntimeException { + @Serial private static final long serialVersionUID = -7199021672428288780L; public DuplicateEntryException(String message) { diff --git a/common/api/registry/src/main/java/com/dfsek/terra/api/registry/meta/RegistryFactory.java b/common/api/registry/src/main/java/com/dfsek/terra/api/registry/meta/RegistryFactory.java index 3d885ff4e..e70e2f41f 100644 --- a/common/api/registry/src/main/java/com/dfsek/terra/api/registry/meta/RegistryFactory.java +++ b/common/api/registry/src/main/java/com/dfsek/terra/api/registry/meta/RegistryFactory.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.registry.meta; import com.dfsek.tectonic.loading.TypeLoader; diff --git a/common/api/registry/src/main/java/com/dfsek/terra/api/registry/meta/RegistryHolder.java b/common/api/registry/src/main/java/com/dfsek/terra/api/registry/meta/RegistryHolder.java index 8f2c0d982..6b8661281 100644 --- a/common/api/registry/src/main/java/com/dfsek/terra/api/registry/meta/RegistryHolder.java +++ b/common/api/registry/src/main/java/com/dfsek/terra/api/registry/meta/RegistryHolder.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.registry.meta; import java.lang.reflect.Type; diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/Logger.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/Logger.java index ce4938ad6..af62dfb26 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/Logger.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/Logger.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util; public interface Logger { diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/MathUtil.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/MathUtil.java index 64b3d8b6b..a73711a0e 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/MathUtil.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/MathUtil.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util; import net.jafama.FastMath; @@ -145,7 +152,7 @@ public final class MathUtil { r = FastMath.sqrt(-FastMath.log(r)); if(r <= 5) { - r += -1.6; + r -= 1.6; val = (((((((r * 7.7454501427834140764e-4 + .0227238449892691845833) * r + .24178072517745061177) * r + 1.27045825245236838258) * r + @@ -159,7 +166,7 @@ public final class MathUtil { r + 1.6763848301838038494) * r + 2.05319162663775882187) * r + 1); } else { - r += -5; + r -= 5; val = (((((((r * 2.01033439929228813265e-7 + 2.71155556874348757815e-5) * r + .0012426609473880784386) * r + .026532189526576123093) * diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/StringIdentifiable.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/StringIdentifiable.java index 1d1af1abc..dd46ff924 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/StringIdentifiable.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/StringIdentifiable.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util; public interface StringIdentifiable { diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/StringUtil.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/StringUtil.java index 2886c0d19..437043ea0 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/StringUtil.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/StringUtil.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util; import java.io.File; diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/Construct.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/Construct.java index 795e7ad52..678a98b2d 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/Construct.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/Construct.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.generic; import java.util.function.Supplier; diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/Lazy.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/Lazy.java index 65c84ff9e..ca9735d03 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/Lazy.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/Lazy.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.generic; import java.util.function.Supplier; diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/either/Either.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/either/Either.java index 127751fea..9c8c7283b 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/either/Either.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/either/Either.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.generic.either; import org.jetbrains.annotations.Contract; diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/pair/ImmutablePair.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/pair/ImmutablePair.java index 538684162..c61febdaa 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/pair/ImmutablePair.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/pair/ImmutablePair.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.generic.pair; import org.jetbrains.annotations.Contract; diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/pair/Pair.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/pair/Pair.java index d94f67551..96819756c 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/pair/Pair.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/generic/pair/Pair.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.generic.pair; import org.jetbrains.annotations.Contract; diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/math/Sampler.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/math/Sampler.java index 242c706d4..74999723f 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/math/Sampler.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/math/Sampler.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.math; @FunctionalInterface diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableBoolean.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableBoolean.java index 22969ba2b..eb6b07948 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableBoolean.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableBoolean.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.mutable; import org.jetbrains.annotations.NotNull; diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableDouble.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableDouble.java index 9ee19e544..c3edfdd20 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableDouble.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableDouble.java @@ -1,9 +1,19 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.mutable; import org.jetbrains.annotations.NotNull; +import java.io.Serial; + public class MutableDouble extends MutableNumber { + @Serial private static final long serialVersionUID = -2218110876763640053L; public MutableDouble(Double value) { diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableInteger.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableInteger.java index c0b7f971f..ed1abadd9 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableInteger.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableInteger.java @@ -1,9 +1,19 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.mutable; import org.jetbrains.annotations.NotNull; +import java.io.Serial; + public class MutableInteger extends MutableNumber { + @Serial private static final long serialVersionUID = -4427935901819632745L; public MutableInteger(Integer value) { diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableNumber.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableNumber.java index a9396cf1a..ce9fe2874 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableNumber.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutableNumber.java @@ -1,7 +1,18 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.mutable; +import java.io.Serial; + + public abstract class MutableNumber extends Number implements MutablePrimitive { + @Serial private static final long serialVersionUID = 8619508342781664393L; protected T value; diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutablePrimitive.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutablePrimitive.java index 1146da714..5718aba48 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutablePrimitive.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/MutablePrimitive.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.mutable; public interface MutablePrimitive extends Comparable { diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/package-info.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/package-info.java index 29a65af63..c45a11ed4 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/package-info.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/mutable/package-info.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + /** * Mutable objects containing primitive types. */ diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/reflection/ReflectionUtil.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/reflection/ReflectionUtil.java index f4132cc83..5cbf86bc7 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/reflection/ReflectionUtil.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/reflection/ReflectionUtil.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.reflection; import org.jetbrains.annotations.NotNull; diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/reflection/TypeKey.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/reflection/TypeKey.java index 17032bfb9..57a35dbe1 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/reflection/TypeKey.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/reflection/TypeKey.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.reflection; import java.lang.reflect.AnnotatedParameterizedType; diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/vector/Vector2.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/vector/Vector2.java index db1eed6a7..a8f70e71b 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/vector/Vector2.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/vector/Vector2.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.vector; import net.jafama.FastMath; diff --git a/common/api/util/src/main/java/com/dfsek/terra/api/util/vector/Vector3.java b/common/api/util/src/main/java/com/dfsek/terra/api/util/vector/Vector3.java index a5a0a53d5..95d595799 100644 --- a/common/api/util/src/main/java/com/dfsek/terra/api/util/vector/Vector3.java +++ b/common/api/util/src/main/java/com/dfsek/terra/api/util/vector/Vector3.java @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2020-2021 Polyhedral Development + * + * The Terra API is licensed under the terms of the MIT License. For more details, + * reference the LICENSE file in the common/api directory. + */ + package com.dfsek.terra.api.util.vector; import net.jafama.FastMath; diff --git a/common/implementation/src/main/java/com/dfsek/terra/AbstractPlatform.java b/common/implementation/src/main/java/com/dfsek/terra/AbstractPlatform.java index 9497e3d45..bdcf041ec 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/AbstractPlatform.java +++ b/common/implementation/src/main/java/com/dfsek/terra/AbstractPlatform.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra; import com.dfsek.tectonic.loading.TypeRegistry; diff --git a/common/implementation/src/main/java/com/dfsek/terra/InternalAddon.java b/common/implementation/src/main/java/com/dfsek/terra/InternalAddon.java index 3b8e9567d..b2da42607 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/InternalAddon.java +++ b/common/implementation/src/main/java/com/dfsek/terra/InternalAddon.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra; import ca.solostudios.strata.Versions; diff --git a/common/implementation/src/main/java/com/dfsek/terra/addon/DependencySorter.java b/common/implementation/src/main/java/com/dfsek/terra/addon/DependencySorter.java index a02d9aeea..14aaf74aa 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/addon/DependencySorter.java +++ b/common/implementation/src/main/java/com/dfsek/terra/addon/DependencySorter.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.addon; import java.util.ArrayList; diff --git a/common/implementation/src/main/java/com/dfsek/terra/addon/dependency/CircularDependencyException.java b/common/implementation/src/main/java/com/dfsek/terra/addon/dependency/CircularDependencyException.java index 65cd138d7..ad4e22412 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/addon/dependency/CircularDependencyException.java +++ b/common/implementation/src/main/java/com/dfsek/terra/addon/dependency/CircularDependencyException.java @@ -1,6 +1,29 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.addon.dependency; +import java.io.Serial; + + public class CircularDependencyException extends DependencyException{ + @Serial + private static final long serialVersionUID = -6098780459461482651L; + public CircularDependencyException(String message) { super(message); } diff --git a/common/implementation/src/main/java/com/dfsek/terra/addon/dependency/DependencyException.java b/common/implementation/src/main/java/com/dfsek/terra/addon/dependency/DependencyException.java index 7b1f1034b..1b6ded135 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/addon/dependency/DependencyException.java +++ b/common/implementation/src/main/java/com/dfsek/terra/addon/dependency/DependencyException.java @@ -1,8 +1,30 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.addon.dependency; +import java.io.Serial; + public class DependencyException extends RuntimeException { + @Serial + private static final long serialVersionUID = 4864727433635612759L; + public DependencyException(String message) { super(message); } diff --git a/common/implementation/src/main/java/com/dfsek/terra/addon/dependency/DependencyVersionException.java b/common/implementation/src/main/java/com/dfsek/terra/addon/dependency/DependencyVersionException.java index 0ea0f8c88..d6bff0b4b 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/addon/dependency/DependencyVersionException.java +++ b/common/implementation/src/main/java/com/dfsek/terra/addon/dependency/DependencyVersionException.java @@ -1,6 +1,29 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.addon.dependency; +import java.io.Serial; + + public class DependencyVersionException extends DependencyException{ + @Serial + private static final long serialVersionUID = 3564288935278878135L; + public DependencyVersionException(String message) { super(message); } diff --git a/common/implementation/src/main/java/com/dfsek/terra/commands/AddonsCommand.java b/common/implementation/src/main/java/com/dfsek/terra/commands/AddonsCommand.java index 61fd6a53b..32a77a931 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/commands/AddonsCommand.java +++ b/common/implementation/src/main/java/com/dfsek/terra/commands/AddonsCommand.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.commands; import com.dfsek.terra.api.Platform; diff --git a/common/implementation/src/main/java/com/dfsek/terra/commands/CommandUtil.java b/common/implementation/src/main/java/com/dfsek/terra/commands/CommandUtil.java index 6b314beb7..a662e6f63 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/commands/CommandUtil.java +++ b/common/implementation/src/main/java/com/dfsek/terra/commands/CommandUtil.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.commands; import com.dfsek.terra.api.command.CommandManager; diff --git a/common/implementation/src/main/java/com/dfsek/terra/commands/ExecutionState.java b/common/implementation/src/main/java/com/dfsek/terra/commands/ExecutionState.java index ce21a1cbe..52a2393c1 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/commands/ExecutionState.java +++ b/common/implementation/src/main/java/com/dfsek/terra/commands/ExecutionState.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.commands; import java.util.HashMap; @@ -13,15 +30,15 @@ public final class ExecutionState { private final Map args = new HashMap<>(); private final CommandSender sender; - protected ExecutionState(CommandSender sender) { + public ExecutionState(CommandSender sender) { this.sender = sender; } - protected void addSwitch(String flag) { + public void addSwitch(String flag) { switches.add(flag); } - protected void addArgument(String arg, String value) { + public void addArgument(String arg, String value) { args.put(arg, value); } diff --git a/common/implementation/src/main/java/com/dfsek/terra/commands/GetBlockCommand.java b/common/implementation/src/main/java/com/dfsek/terra/commands/GetBlockCommand.java index 2dae44768..a01312ec1 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/commands/GetBlockCommand.java +++ b/common/implementation/src/main/java/com/dfsek/terra/commands/GetBlockCommand.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.commands; import com.dfsek.terra.api.Platform; diff --git a/common/implementation/src/main/java/com/dfsek/terra/commands/PacksCommand.java b/common/implementation/src/main/java/com/dfsek/terra/commands/PacksCommand.java index b5d668848..4fbe738d9 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/commands/PacksCommand.java +++ b/common/implementation/src/main/java/com/dfsek/terra/commands/PacksCommand.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.commands; import com.dfsek.terra.api.Platform; diff --git a/common/implementation/src/main/java/com/dfsek/terra/commands/ReloadCommand.java b/common/implementation/src/main/java/com/dfsek/terra/commands/ReloadCommand.java index 526151048..1d053ddf1 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/commands/ReloadCommand.java +++ b/common/implementation/src/main/java/com/dfsek/terra/commands/ReloadCommand.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.commands; import com.dfsek.terra.api.Platform; diff --git a/common/implementation/src/main/java/com/dfsek/terra/commands/TerraCommandManager.java b/common/implementation/src/main/java/com/dfsek/terra/commands/TerraCommandManager.java index e900d129e..009db7a6c 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/commands/TerraCommandManager.java +++ b/common/implementation/src/main/java/com/dfsek/terra/commands/TerraCommandManager.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.commands; import net.jafama.FastMath; diff --git a/common/implementation/src/main/java/com/dfsek/terra/commands/VersionCommand.java b/common/implementation/src/main/java/com/dfsek/terra/commands/VersionCommand.java index 1e213d6f8..eb70b941b 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/commands/VersionCommand.java +++ b/common/implementation/src/main/java/com/dfsek/terra/commands/VersionCommand.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.commands; import com.dfsek.terra.api.Platform; diff --git a/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileCommand.java b/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileCommand.java index eb35eaf43..c3abd208f 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileCommand.java +++ b/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileCommand.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.commands.profiler; import com.dfsek.terra.api.command.CommandTemplate; diff --git a/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileQueryCommand.java b/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileQueryCommand.java index 344e92492..4c51d63b2 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileQueryCommand.java +++ b/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileQueryCommand.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.commands.profiler; import com.dfsek.terra.api.Platform; diff --git a/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileResetCommand.java b/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileResetCommand.java index 13653496e..c3f7bb564 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileResetCommand.java +++ b/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileResetCommand.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.commands.profiler; import com.dfsek.terra.api.Platform; diff --git a/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileStartCommand.java b/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileStartCommand.java index 54685095c..7c7498b31 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileStartCommand.java +++ b/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileStartCommand.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.commands.profiler; import com.dfsek.terra.api.Platform; diff --git a/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileStopCommand.java b/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileStopCommand.java index 313707ad5..5e8a9ec6e 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileStopCommand.java +++ b/common/implementation/src/main/java/com/dfsek/terra/commands/profiler/ProfileStopCommand.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.commands.profiler; import com.dfsek.terra.api.Platform; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/GenericLoaders.java b/common/implementation/src/main/java/com/dfsek/terra/config/GenericLoaders.java index e5f652a7d..c52adca10 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/GenericLoaders.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/GenericLoaders.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config; import ca.solostudios.strata.version.VersionRange; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/PluginConfigImpl.java b/common/implementation/src/main/java/com/dfsek/terra/config/PluginConfigImpl.java index c76583e78..379fc2e25 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/PluginConfigImpl.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/PluginConfigImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config; import com.dfsek.tectonic.annotations.Default; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/dummy/DummyWorld.java b/common/implementation/src/main/java/com/dfsek/terra/config/dummy/DummyWorld.java index ee589f5fb..692c82f70 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/dummy/DummyWorld.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/dummy/DummyWorld.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.dummy; import com.dfsek.terra.api.block.entity.BlockEntity; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/fileloaders/FolderLoader.java b/common/implementation/src/main/java/com/dfsek/terra/config/fileloaders/FolderLoader.java index 37d04b7e2..e3d21903d 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/fileloaders/FolderLoader.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/fileloaders/FolderLoader.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.fileloaders; import java.io.File; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/fileloaders/LoaderImpl.java b/common/implementation/src/main/java/com/dfsek/terra/config/fileloaders/LoaderImpl.java index fd4394c60..301cb6382 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/fileloaders/LoaderImpl.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/fileloaders/LoaderImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.fileloaders; import com.dfsek.tectonic.exception.ConfigException; @@ -33,7 +50,7 @@ public abstract class LoaderImpl implements Loader { * Open a subdirectory. * * @param directory Directory to open - * @param extension + * @param extension File extension */ @Override public LoaderImpl open(String directory, String extension) { diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/fileloaders/ZIPLoader.java b/common/implementation/src/main/java/com/dfsek/terra/config/fileloaders/ZIPLoader.java index 2633e24d4..b773ff1d2 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/fileloaders/ZIPLoader.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/fileloaders/ZIPLoader.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.fileloaders; import java.io.IOException; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/lang/LangUtil.java b/common/implementation/src/main/java/com/dfsek/terra/config/lang/LangUtil.java index 8206d4325..8ad547f3e 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/lang/LangUtil.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/lang/LangUtil.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.lang; import java.io.File; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/lang/LanguageImpl.java b/common/implementation/src/main/java/com/dfsek/terra/config/lang/LanguageImpl.java index b97ac1e87..466ad18f9 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/lang/LanguageImpl.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/lang/LanguageImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.lang; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/lang/MultiLineMessage.java b/common/implementation/src/main/java/com/dfsek/terra/config/lang/MultiLineMessage.java index c50c136d4..3957faa5b 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/lang/MultiLineMessage.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/lang/MultiLineMessage.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.lang; import java.util.Arrays; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/lang/SingleLineMessage.java b/common/implementation/src/main/java/com/dfsek/terra/config/lang/SingleLineMessage.java index a9cc98b8d..561bdf474 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/lang/SingleLineMessage.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/lang/SingleLineMessage.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.lang; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/GenericTemplateSupplierLoader.java b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/GenericTemplateSupplierLoader.java index 67cd97caf..fca427665 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/GenericTemplateSupplierLoader.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/GenericTemplateSupplierLoader.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.loaders; import com.dfsek.tectonic.config.MapConfiguration; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/LinkedHashMapLoader.java b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/LinkedHashMapLoader.java index 8ee4a2aa0..bda205812 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/LinkedHashMapLoader.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/LinkedHashMapLoader.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.loaders; import com.dfsek.tectonic.exception.LoadException; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/MaterialSetLoader.java b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/MaterialSetLoader.java index 018094013..faae5c9d9 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/MaterialSetLoader.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/MaterialSetLoader.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.loaders; import com.dfsek.tectonic.exception.LoadException; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/ProbabilityCollectionLoader.java b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/ProbabilityCollectionLoader.java index 0c24a50ec..4a958349e 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/ProbabilityCollectionLoader.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/ProbabilityCollectionLoader.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.loaders; import com.dfsek.tectonic.exception.LoadException; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/RangeLoader.java b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/RangeLoader.java index d0c2da8ea..84501b78c 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/RangeLoader.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/RangeLoader.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.loaders; import com.dfsek.tectonic.exception.LoadException; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/VersionRangeLoader.java b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/VersionRangeLoader.java index f7243134d..799eeeea6 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/VersionRangeLoader.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/VersionRangeLoader.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.loaders; import ca.solostudios.strata.Versions; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/config/BufferedImageLoader.java b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/config/BufferedImageLoader.java index 50fc99b76..9f59ebf30 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/config/BufferedImageLoader.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/config/BufferedImageLoader.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.loaders.config; import com.dfsek.tectonic.exception.LoadException; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/config/GridSpawnLoader.java b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/config/GridSpawnLoader.java index f1e553ae6..29c32a1a2 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/loaders/config/GridSpawnLoader.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/loaders/config/GridSpawnLoader.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.loaders.config; import com.dfsek.tectonic.loading.ConfigLoader; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackAddonsTemplate.java b/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackAddonsTemplate.java index e6f813211..680c5359a 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackAddonsTemplate.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackAddonsTemplate.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.pack; import ca.solostudios.strata.version.VersionRange; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackImpl.java b/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackImpl.java index e793d377d..ea5d231ba 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackImpl.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.pack; import ca.solostudios.strata.version.VersionRange; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackPostTemplate.java b/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackPostTemplate.java index e3b55a662..822caa86f 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackPostTemplate.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackPostTemplate.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.pack; import com.dfsek.tectonic.annotations.Value; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackTemplate.java b/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackTemplate.java index c143aed93..664a7d3b3 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackTemplate.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/pack/ConfigPackTemplate.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.pack; import com.dfsek.tectonic.annotations.Default; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/pack/WorldConfigImpl.java b/common/implementation/src/main/java/com/dfsek/terra/config/pack/WorldConfigImpl.java index 6b7de8bc1..48113b890 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/pack/WorldConfigImpl.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/pack/WorldConfigImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.pack; import java.lang.reflect.Type; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaListLikePreprocessor.java b/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaListLikePreprocessor.java index 7e13e499e..dcb5de076 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaListLikePreprocessor.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaListLikePreprocessor.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.preprocessor; import com.dfsek.tectonic.config.Configuration; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaMapPreprocessor.java b/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaMapPreprocessor.java index ae8a61251..23edbe8f0 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaMapPreprocessor.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaMapPreprocessor.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.preprocessor; import com.dfsek.tectonic.config.Configuration; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaNumberPreprocessor.java b/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaNumberPreprocessor.java index 625d390ea..e58dd11a8 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaNumberPreprocessor.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaNumberPreprocessor.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.preprocessor; import com.dfsek.paralithic.eval.parser.Parser; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaPreprocessor.java b/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaPreprocessor.java index 8bbd761b6..fdf2e30a6 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaPreprocessor.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaPreprocessor.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.preprocessor; import com.dfsek.tectonic.config.Configuration; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaStringPreprocessor.java b/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaStringPreprocessor.java index 235b6fe24..6b2c6e573 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaStringPreprocessor.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaStringPreprocessor.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.preprocessor; import com.dfsek.tectonic.config.Configuration; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaValuePreprocessor.java b/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaValuePreprocessor.java index 6f6d64342..ea65a063c 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaValuePreprocessor.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/preprocessor/MetaValuePreprocessor.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.preprocessor; import com.dfsek.tectonic.config.Configuration; diff --git a/common/implementation/src/main/java/com/dfsek/terra/config/prototype/ProtoConfig.java b/common/implementation/src/main/java/com/dfsek/terra/config/prototype/ProtoConfig.java index db8174d9d..16a307203 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/config/prototype/ProtoConfig.java +++ b/common/implementation/src/main/java/com/dfsek/terra/config/prototype/ProtoConfig.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.config.prototype; import com.dfsek.tectonic.annotations.Value; diff --git a/common/implementation/src/main/java/com/dfsek/terra/event/EventContextImpl.java b/common/implementation/src/main/java/com/dfsek/terra/event/EventContextImpl.java index 549444f97..891102e2b 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/event/EventContextImpl.java +++ b/common/implementation/src/main/java/com/dfsek/terra/event/EventContextImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.event; import org.jetbrains.annotations.NotNull; diff --git a/common/implementation/src/main/java/com/dfsek/terra/event/EventManagerImpl.java b/common/implementation/src/main/java/com/dfsek/terra/event/EventManagerImpl.java index 8c2a3f367..d138e8cf6 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/event/EventManagerImpl.java +++ b/common/implementation/src/main/java/com/dfsek/terra/event/EventManagerImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.event; import java.util.HashMap; diff --git a/common/implementation/src/main/java/com/dfsek/terra/event/FunctionalEventHandlerImpl.java b/common/implementation/src/main/java/com/dfsek/terra/event/FunctionalEventHandlerImpl.java index 2143c10e4..9d2a39349 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/event/FunctionalEventHandlerImpl.java +++ b/common/implementation/src/main/java/com/dfsek/terra/event/FunctionalEventHandlerImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.event; import java.io.PrintWriter; diff --git a/common/implementation/src/main/java/com/dfsek/terra/math/GridSpawn.java b/common/implementation/src/main/java/com/dfsek/terra/math/GridSpawn.java index f1b870b1e..2a197d29f 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/math/GridSpawn.java +++ b/common/implementation/src/main/java/com/dfsek/terra/math/GridSpawn.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.math; import java.util.ArrayList; diff --git a/common/implementation/src/main/java/com/dfsek/terra/profiler/Frame.java b/common/implementation/src/main/java/com/dfsek/terra/profiler/Frame.java index 30946f54b..0b4d2dae5 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/profiler/Frame.java +++ b/common/implementation/src/main/java/com/dfsek/terra/profiler/Frame.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.profiler; public class Frame { diff --git a/common/implementation/src/main/java/com/dfsek/terra/profiler/ProfilerImpl.java b/common/implementation/src/main/java/com/dfsek/terra/profiler/ProfilerImpl.java index f6d403ef9..ba30b9949 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/profiler/ProfilerImpl.java +++ b/common/implementation/src/main/java/com/dfsek/terra/profiler/ProfilerImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.profiler; import java.util.ArrayList; diff --git a/common/implementation/src/main/java/com/dfsek/terra/profiler/exception/MalformedStackException.java b/common/implementation/src/main/java/com/dfsek/terra/profiler/exception/MalformedStackException.java index 74ea70998..3578d80e0 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/profiler/exception/MalformedStackException.java +++ b/common/implementation/src/main/java/com/dfsek/terra/profiler/exception/MalformedStackException.java @@ -1,6 +1,27 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.profiler.exception; +import java.io.Serial; + + public class MalformedStackException extends ProfilerException { + @Serial private static final long serialVersionUID = -3009539681021691054L; public MalformedStackException(String message) { diff --git a/common/implementation/src/main/java/com/dfsek/terra/profiler/exception/ProfilerException.java b/common/implementation/src/main/java/com/dfsek/terra/profiler/exception/ProfilerException.java index 4083ce08e..8a839249f 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/profiler/exception/ProfilerException.java +++ b/common/implementation/src/main/java/com/dfsek/terra/profiler/exception/ProfilerException.java @@ -1,6 +1,27 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.profiler.exception; +import java.io.Serial; + + public class ProfilerException extends RuntimeException { + @Serial private static final long serialVersionUID = 8206737998791649002L; public ProfilerException(String message) { diff --git a/common/implementation/src/main/java/com/dfsek/terra/registry/CheckedRegistryImpl.java b/common/implementation/src/main/java/com/dfsek/terra/registry/CheckedRegistryImpl.java index a44b0f11a..58bf61a4a 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/registry/CheckedRegistryImpl.java +++ b/common/implementation/src/main/java/com/dfsek/terra/registry/CheckedRegistryImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.registry; import com.dfsek.tectonic.exception.LoadException; diff --git a/common/implementation/src/main/java/com/dfsek/terra/registry/LockedRegistryImpl.java b/common/implementation/src/main/java/com/dfsek/terra/registry/LockedRegistryImpl.java index 7082aa9df..e82d27007 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/registry/LockedRegistryImpl.java +++ b/common/implementation/src/main/java/com/dfsek/terra/registry/LockedRegistryImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.registry; import com.dfsek.tectonic.exception.LoadException; diff --git a/common/implementation/src/main/java/com/dfsek/terra/registry/OpenRegistryImpl.java b/common/implementation/src/main/java/com/dfsek/terra/registry/OpenRegistryImpl.java index fa00cc369..04adb953c 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/registry/OpenRegistryImpl.java +++ b/common/implementation/src/main/java/com/dfsek/terra/registry/OpenRegistryImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.registry; import com.dfsek.tectonic.exception.LoadException; diff --git a/common/implementation/src/main/java/com/dfsek/terra/registry/RegistryFactoryImpl.java b/common/implementation/src/main/java/com/dfsek/terra/registry/RegistryFactoryImpl.java index bd76427f7..eebc8f7f6 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/registry/RegistryFactoryImpl.java +++ b/common/implementation/src/main/java/com/dfsek/terra/registry/RegistryFactoryImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.registry; import com.dfsek.tectonic.exception.LoadException; diff --git a/common/implementation/src/main/java/com/dfsek/terra/registry/config/ConfigTypeRegistry.java b/common/implementation/src/main/java/com/dfsek/terra/registry/config/ConfigTypeRegistry.java index 1ff7aef57..1d6625a18 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/registry/config/ConfigTypeRegistry.java +++ b/common/implementation/src/main/java/com/dfsek/terra/registry/config/ConfigTypeRegistry.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.registry.config; import java.util.LinkedHashMap; diff --git a/common/implementation/src/main/java/com/dfsek/terra/registry/master/ConfigRegistry.java b/common/implementation/src/main/java/com/dfsek/terra/registry/master/ConfigRegistry.java index ce48c7087..8db76e545 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/registry/master/ConfigRegistry.java +++ b/common/implementation/src/main/java/com/dfsek/terra/registry/master/ConfigRegistry.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.registry.master; import com.dfsek.tectonic.exception.ConfigException; diff --git a/common/implementation/src/main/java/com/dfsek/terra/transform/MapTransform.java b/common/implementation/src/main/java/com/dfsek/terra/transform/MapTransform.java index 65203f85f..7bc2ab6d9 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/transform/MapTransform.java +++ b/common/implementation/src/main/java/com/dfsek/terra/transform/MapTransform.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.transform; import java.util.HashMap; diff --git a/common/implementation/src/main/java/com/dfsek/terra/transform/TransformerImpl.java b/common/implementation/src/main/java/com/dfsek/terra/transform/TransformerImpl.java index 78d66e3a4..9875a5e65 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/transform/TransformerImpl.java +++ b/common/implementation/src/main/java/com/dfsek/terra/transform/TransformerImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.transform; import java.util.ArrayList; diff --git a/common/implementation/src/main/java/com/dfsek/terra/util/FastRandom.java b/common/implementation/src/main/java/com/dfsek/terra/util/FastRandom.java index 2aff00c0e..ff0776d2a 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/util/FastRandom.java +++ b/common/implementation/src/main/java/com/dfsek/terra/util/FastRandom.java @@ -1,14 +1,33 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.util; import org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus; +import java.io.Serial; import java.util.Random; import java.util.SplittableRandom; public class FastRandom extends Random { + @Serial private static final long serialVersionUID = 4571946470190183260L; private XoRoShiRo128PlusPlus random; diff --git a/common/implementation/src/main/java/com/dfsek/terra/util/logging/DebugLogger.java b/common/implementation/src/main/java/com/dfsek/terra/util/logging/DebugLogger.java index 7bce332df..98acd5bc1 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/util/logging/DebugLogger.java +++ b/common/implementation/src/main/java/com/dfsek/terra/util/logging/DebugLogger.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.util.logging; import com.dfsek.terra.api.util.Logger; diff --git a/common/implementation/src/main/java/com/dfsek/terra/util/logging/JavaLogger.java b/common/implementation/src/main/java/com/dfsek/terra/util/logging/JavaLogger.java index db193d191..6e7b42ca9 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/util/logging/JavaLogger.java +++ b/common/implementation/src/main/java/com/dfsek/terra/util/logging/JavaLogger.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.util.logging; import com.dfsek.terra.api.util.Logger; diff --git a/common/implementation/src/main/java/com/dfsek/terra/world/SamplerCacheImpl.java b/common/implementation/src/main/java/com/dfsek/terra/world/SamplerCacheImpl.java index 74acaf9c3..1c2aa3d0f 100644 --- a/common/implementation/src/main/java/com/dfsek/terra/world/SamplerCacheImpl.java +++ b/common/implementation/src/main/java/com/dfsek/terra/world/SamplerCacheImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.world; import com.google.common.cache.CacheBuilder; diff --git a/common/implementation/src/test/java/command/CommandTest.java b/common/implementation/src/test/java/command/CommandTest.java index 670f1fbf9..0d2b72109 100644 --- a/common/implementation/src/test/java/command/CommandTest.java +++ b/common/implementation/src/test/java/command/CommandTest.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package command; import org.junit.jupiter.api.Test; diff --git a/common/implementation/src/test/java/profiler/ProfilerTest.java b/common/implementation/src/test/java/profiler/ProfilerTest.java index 8b35c7ab2..faa496421 100644 --- a/common/implementation/src/test/java/profiler/ProfilerTest.java +++ b/common/implementation/src/test/java/profiler/ProfilerTest.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package profiler; import org.junit.jupiter.api.Test; diff --git a/common/implementation/src/test/java/registry/RegistryTest.java b/common/implementation/src/test/java/registry/RegistryTest.java index 4efeee9b9..95f5385ca 100644 --- a/common/implementation/src/test/java/registry/RegistryTest.java +++ b/common/implementation/src/test/java/registry/RegistryTest.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package registry; import org.junit.jupiter.api.Test; diff --git a/common/loader/addon/src/main/java/com/dfsek/terra/addon/AddonClassLoader.java b/common/loader/addon/src/main/java/com/dfsek/terra/addon/AddonClassLoader.java index e7ec26117..9dc096dd2 100644 --- a/common/loader/addon/src/main/java/com/dfsek/terra/addon/AddonClassLoader.java +++ b/common/loader/addon/src/main/java/com/dfsek/terra/addon/AddonClassLoader.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.addon; import java.net.URL; diff --git a/common/loader/addon/src/main/java/com/dfsek/terra/addon/BootstrapAddonLoader.java b/common/loader/addon/src/main/java/com/dfsek/terra/addon/BootstrapAddonLoader.java index 97f4e2d85..c2e349254 100644 --- a/common/loader/addon/src/main/java/com/dfsek/terra/addon/BootstrapAddonLoader.java +++ b/common/loader/addon/src/main/java/com/dfsek/terra/addon/BootstrapAddonLoader.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.addon; import java.io.IOException; diff --git a/common/loader/addon/src/main/java/com/dfsek/terra/addon/exception/AddonLoadException.java b/common/loader/addon/src/main/java/com/dfsek/terra/addon/exception/AddonLoadException.java index 45feaa36c..8f4eac420 100644 --- a/common/loader/addon/src/main/java/com/dfsek/terra/addon/exception/AddonLoadException.java +++ b/common/loader/addon/src/main/java/com/dfsek/terra/addon/exception/AddonLoadException.java @@ -1,6 +1,27 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.addon.exception; +import java.io.Serial; + + public class AddonLoadException extends RuntimeException { + @Serial private static final long serialVersionUID = -4949084729296580176L; public AddonLoadException(String message) { diff --git a/common/loader/addon/src/main/java/com/dfsek/terra/addon/exception/CircularDependencyException.java b/common/loader/addon/src/main/java/com/dfsek/terra/addon/exception/CircularDependencyException.java index 88227e880..dd096b2c1 100644 --- a/common/loader/addon/src/main/java/com/dfsek/terra/addon/exception/CircularDependencyException.java +++ b/common/loader/addon/src/main/java/com/dfsek/terra/addon/exception/CircularDependencyException.java @@ -1,6 +1,27 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.addon.exception; +import java.io.Serial; + + public class CircularDependencyException extends AddonLoadException { + @Serial private static final long serialVersionUID = 7398510879124125121L; public CircularDependencyException(String message) { diff --git a/common/loader/addon/src/main/java/com/dfsek/terra/addon/exception/DependencyMissingException.java b/common/loader/addon/src/main/java/com/dfsek/terra/addon/exception/DependencyMissingException.java index 422f61c96..21039211c 100644 --- a/common/loader/addon/src/main/java/com/dfsek/terra/addon/exception/DependencyMissingException.java +++ b/common/loader/addon/src/main/java/com/dfsek/terra/addon/exception/DependencyMissingException.java @@ -1,6 +1,27 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.addon.exception; +import java.io.Serial; + + public class DependencyMissingException extends AddonLoadException { + @Serial private static final long serialVersionUID = -8419489102208521583L; public DependencyMissingException(String message) { diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/BukkitCommandSender.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/BukkitCommandSender.java index bf0bc9523..f7509a41f 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/BukkitCommandSender.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/BukkitCommandSender.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit; import org.bukkit.ChatColor; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/BukkitEntity.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/BukkitEntity.java index 7f2890192..fd8b0ad13 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/BukkitEntity.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/BukkitEntity.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit; import org.bukkit.Location; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/BukkitPlayer.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/BukkitPlayer.java index 0f516fd20..6a9850282 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/BukkitPlayer.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/BukkitPlayer.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit; import org.bukkit.Location; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/PlatformImpl.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/PlatformImpl.java index a6f4f5846..b6b567c30 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/PlatformImpl.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/PlatformImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit; import com.dfsek.tectonic.exception.LoadException; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/TerraBukkitPlugin.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/TerraBukkitPlugin.java index deea1b7a0..39e63adb8 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/TerraBukkitPlugin.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/TerraBukkitPlugin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit; import io.papermc.lib.PaperLib; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/BukkitCommandAdapter.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/BukkitCommandAdapter.java index 727b0ef57..21fe85c91 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/BukkitCommandAdapter.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/BukkitCommandAdapter.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.command; import org.bukkit.command.Command; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/FixChunkCommand.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/FixChunkCommand.java index 64c735cdd..76af71c68 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/FixChunkCommand.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/FixChunkCommand.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.command; import com.dfsek.terra.api.command.CommandTemplate; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/SaveDataCommand.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/SaveDataCommand.java index dfb2f4722..53789b127 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/SaveDataCommand.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/SaveDataCommand.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.command; import com.dfsek.terra.api.command.CommandTemplate; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/generator/BukkitChunkData.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/generator/BukkitChunkData.java index 729bf389a..27a2e0f75 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/generator/BukkitChunkData.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/generator/BukkitChunkData.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.generator; import org.bukkit.generator.ChunkGenerator; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/generator/BukkitChunkGeneratorWrapper.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/generator/BukkitChunkGeneratorWrapper.java index 24afced54..430cbf1cb 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/generator/BukkitChunkGeneratorWrapper.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/generator/BukkitChunkGeneratorWrapper.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.generator; import org.bukkit.World; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/generator/BukkitPopulatorWrapper.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/generator/BukkitPopulatorWrapper.java index e204b9bf7..01355a1c7 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/generator/BukkitPopulatorWrapper.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/generator/BukkitPopulatorWrapper.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.generator; import org.bukkit.Chunk; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/handles/BukkitItemHandle.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/handles/BukkitItemHandle.java index f59dbf735..b4e7bc18c 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/handles/BukkitItemHandle.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/handles/BukkitItemHandle.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.handles; import org.bukkit.Material; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/handles/BukkitWorldHandle.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/handles/BukkitWorldHandle.java index c4c6917e6..d48e14eea 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/handles/BukkitWorldHandle.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/handles/BukkitWorldHandle.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.handles; import com.dfsek.tectonic.exception.LoadException; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/listeners/CommonListener.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/listeners/CommonListener.java index b38b78c39..730f33ce9 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/listeners/CommonListener.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/listeners/CommonListener.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.listeners; import org.bukkit.Material; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/listeners/PaperListener.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/listeners/PaperListener.java index 623ca73a9..80f80f193 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/listeners/PaperListener.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/listeners/PaperListener.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.listeners; import io.papermc.paper.event.world.StructureLocateEvent; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/listeners/SpigotListener.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/listeners/SpigotListener.java index 6a515fc3b..fdf3b5cca 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/listeners/SpigotListener.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/listeners/SpigotListener.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.listeners; import org.bukkit.entity.Villager; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/population/ChunkCoordinate.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/population/ChunkCoordinate.java index 23dbb38b6..b7e32d920 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/population/ChunkCoordinate.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/population/ChunkCoordinate.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.population; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/population/PopulationManager.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/population/PopulationManager.java index 06c5f17e4..3a6de00cf 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/population/PopulationManager.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/population/PopulationManager.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.population; import org.bukkit.generator.BlockPopulator; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/population/SerializationUtil.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/population/SerializationUtil.java index 8f79d0fb1..40eb5e8d9 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/population/SerializationUtil.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/population/SerializationUtil.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.population; import java.io.File; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/structure/WorldEditNotFoundException.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/structure/WorldEditNotFoundException.java index c3f44f6b4..20afdc659 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/structure/WorldEditNotFoundException.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/structure/WorldEditNotFoundException.java @@ -1,6 +1,27 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.structure; +import java.io.Serial; + + public class WorldEditNotFoundException extends RuntimeException { + @Serial private static final long serialVersionUID = 3678822468346338227L; public WorldEditNotFoundException() { diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/structure/WorldEditUtil.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/structure/WorldEditUtil.java index 6975e04c7..d330a02a0 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/structure/WorldEditUtil.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/structure/WorldEditUtil.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.structure; import com.sk89q.worldedit.IncompleteRegionException; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/util/MinecraftUtils.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/util/MinecraftUtils.java index 0c36bc946..98da508b2 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/util/MinecraftUtils.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/util/MinecraftUtils.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.util; public final class MinecraftUtils { diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/util/PaperUtil.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/util/PaperUtil.java index 52895788e..d7b06b93d 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/util/PaperUtil.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/util/PaperUtil.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.util; import io.papermc.lib.PaperLib; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitAdapter.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitAdapter.java index 074503435..1bf81c336 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitAdapter.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitAdapter.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitBiome.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitBiome.java index cbf1f7a66..219edc6d7 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitBiome.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitBiome.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world; import com.dfsek.terra.api.world.biome.Biome; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitBiomeGrid.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitBiomeGrid.java index 532287b1d..5319847db 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitBiomeGrid.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitBiomeGrid.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world; import org.bukkit.generator.ChunkGenerator; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitChunk.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitChunk.java index e9c4e17d1..f23bd0a86 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitChunk.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitChunk.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world; import org.jetbrains.annotations.NotNull; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitTree.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitTree.java index 6fb53556e..5c8bfd57d 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitTree.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitTree.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world; import org.bukkit.TreeType; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitWorld.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitWorld.java index 69512869b..03260c0aa 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitWorld.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/BukkitWorld.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world; import java.io.File; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/BukkitBlockTypeAndItem.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/BukkitBlockTypeAndItem.java index 92772fad5..a8db00757 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/BukkitBlockTypeAndItem.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/BukkitBlockTypeAndItem.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world.block; import org.bukkit.Material; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/data/BukkitBlockState.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/data/BukkitBlockState.java index 4c08f5965..176e8bf21 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/data/BukkitBlockState.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/data/BukkitBlockState.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world.block.data; import org.bukkit.Material; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitBlockEntity.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitBlockEntity.java index 05e7b0c3e..e4a70ee13 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitBlockEntity.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitBlockEntity.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world.block.state; import org.bukkit.block.Container; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitContainer.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitContainer.java index 06abead59..ecde57209 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitContainer.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitContainer.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world.block.state; import com.dfsek.terra.api.block.entity.Container; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitMobSpawner.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitMobSpawner.java index 183e24d01..71485ea13 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitMobSpawner.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitMobSpawner.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world.block.state; import org.bukkit.block.CreatureSpawner; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitSign.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitSign.java index ed558f1e0..65c6f303f 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitSign.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/block/state/BukkitSign.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world.block.state; import org.jetbrains.annotations.NotNull; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/entity/BukkitEntityType.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/entity/BukkitEntityType.java index cce58857d..8f8786867 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/entity/BukkitEntityType.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/entity/BukkitEntityType.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world.entity; import com.dfsek.terra.api.entity.EntityType; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/BukkitInventory.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/BukkitInventory.java index 0c53b2b88..d4c5039b5 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/BukkitInventory.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/BukkitInventory.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world.inventory; import com.dfsek.terra.api.inventory.Inventory; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/BukkitItemMeta.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/BukkitItemMeta.java index 3410f5669..3aaa8a382 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/BukkitItemMeta.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/BukkitItemMeta.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world.inventory; import org.bukkit.inventory.meta.Damageable; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/BukkitItemStack.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/BukkitItemStack.java index d23d64b22..a3a9557cd 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/BukkitItemStack.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/BukkitItemStack.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world.inventory; import com.dfsek.terra.api.inventory.Item; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/meta/BukkitDamageable.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/meta/BukkitDamageable.java index d433e9004..09e2e167b 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/meta/BukkitDamageable.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/meta/BukkitDamageable.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world.inventory.meta; import org.bukkit.inventory.meta.ItemMeta; diff --git a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/meta/BukkitEnchantment.java b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/meta/BukkitEnchantment.java index ea9fb9b4a..13fc3b690 100644 --- a/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/meta/BukkitEnchantment.java +++ b/platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/world/inventory/meta/BukkitEnchantment.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.bukkit.world.inventory.meta; import com.dfsek.terra.api.inventory.ItemStack; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/FabricAddon.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/FabricAddon.java index 44d1a7b93..77509b378 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/FabricAddon.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/FabricAddon.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric; import ca.solostudios.strata.Versions; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/FabricEntryPoint.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/FabricEntryPoint.java index 9d59c686a..703806cf3 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/FabricEntryPoint.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/FabricEntryPoint.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric; import net.fabricmc.api.ModInitializer; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/PlatformImpl.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/PlatformImpl.java index 014ca644b..34fdb4e14 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/PlatformImpl.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/PlatformImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric; import com.dfsek.tectonic.exception.LoadException; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/block/FabricBlockState.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/block/FabricBlockState.java index 2acefc0d8..21243bba0 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/block/FabricBlockState.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/block/FabricBlockState.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.block; import net.minecraft.block.Blocks; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/config/PostLoadCompatibilityOptions.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/config/PostLoadCompatibilityOptions.java index af0c85755..344cf4bf6 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/config/PostLoadCompatibilityOptions.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/config/PostLoadCompatibilityOptions.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.config; import com.dfsek.tectonic.annotations.Default; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/config/PreLoadCompatibilityOptions.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/config/PreLoadCompatibilityOptions.java index 5a16254b3..82083a71a 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/config/PreLoadCompatibilityOptions.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/config/PreLoadCompatibilityOptions.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.config; import com.dfsek.tectonic.annotations.Default; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/event/BiomeRegistrationEvent.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/event/BiomeRegistrationEvent.java index 696817f41..db1f14346 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/event/BiomeRegistrationEvent.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/event/BiomeRegistrationEvent.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.event; import net.minecraft.util.registry.DynamicRegistryManager; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/FabricChunkGeneratorWrapper.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/FabricChunkGeneratorWrapper.java index d763b7afb..87adf9bc1 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/FabricChunkGeneratorWrapper.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/FabricChunkGeneratorWrapper.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.generation; import com.mojang.serialization.Codec; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/PopulatorFeature.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/PopulatorFeature.java index 0c3efdd4b..9596f7dfa 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/PopulatorFeature.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/PopulatorFeature.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.generation; import com.mojang.serialization.Codec; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/TerraBiomeSource.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/TerraBiomeSource.java index 3d2ad5bdf..da06264f3 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/TerraBiomeSource.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/TerraBiomeSource.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.generation; import com.mojang.serialization.Codec; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/TerraGeneratorType.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/TerraGeneratorType.java index c16e0b325..736503418 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/TerraGeneratorType.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/generation/TerraGeneratorType.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.generation; import net.fabricmc.api.EnvType; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/handle/FabricItemHandle.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/handle/FabricItemHandle.java index 9248f8f4b..6084a68ac 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/handle/FabricItemHandle.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/handle/FabricItemHandle.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.handle; import com.mojang.brigadier.StringReader; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/handle/FabricWorldHandle.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/handle/FabricWorldHandle.java index 6d84de06c..b7b669003 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/handle/FabricWorldHandle.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/handle/FabricWorldHandle.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.handle; import com.mojang.brigadier.StringReader; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/CommandManagerMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/CommandManagerMixin.java index 575be7572..bf47617da 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/CommandManagerMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/CommandManagerMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin; import com.mojang.brigadier.CommandDispatcher; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/ServerWorldMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/ServerWorldMixin.java index 55edfa5c7..faa5b97c9 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/ServerWorldMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/ServerWorldMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin; import net.minecraft.server.MinecraftServer; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/StructureAccessorAccessor.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/StructureAccessorAccessor.java index f9b786d8e..8eb770d19 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/StructureAccessorAccessor.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/StructureAccessorAccessor.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin; import net.minecraft.world.WorldAccess; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/BiomeEffectsAccessor.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/BiomeEffectsAccessor.java index c2bd74ec9..75f45f284 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/BiomeEffectsAccessor.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/BiomeEffectsAccessor.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.access; import net.minecraft.world.biome.BiomeEffects; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/GeneratorTypeAccessor.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/GeneratorTypeAccessor.java index 4e81e3976..402985e00 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/GeneratorTypeAccessor.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/GeneratorTypeAccessor.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.access; import net.minecraft.client.world.GeneratorType; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/MobSpawnerLogicAccessor.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/MobSpawnerLogicAccessor.java index 380fe5dfe..34a087283 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/MobSpawnerLogicAccessor.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/MobSpawnerLogicAccessor.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.access; import net.minecraft.util.Identifier; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/StateAccessor.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/StateAccessor.java index 33c11f93c..1ec51c2dc 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/StateAccessor.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/access/StateAccessor.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.access; import net.minecraft.state.State; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/BiomeMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/BiomeMixin.java index 649d87b1d..3e6fb047f 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/BiomeMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/BiomeMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations; import net.minecraft.world.biome.Biome; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/ConfiguredFeatureMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/ConfiguredFeatureMixin.java index 79ca8b718..07feaba31 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/ConfiguredFeatureMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/ConfiguredFeatureMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations; import net.minecraft.util.math.BlockPos; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/BlockEntityMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/BlockEntityMixin.java index a78e200e5..0d72d23e8 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/BlockEntityMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/BlockEntityMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.block; import net.minecraft.util.math.BlockPos; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/BlockMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/BlockMixin.java index 5aa2512fb..498ed63d6 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/BlockMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/BlockMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.block; import net.minecraft.block.Block; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/state/LootableContainerBlockEntityMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/state/LootableContainerBlockEntityMixin.java index e774dbe6f..9cb8820f5 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/state/LootableContainerBlockEntityMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/state/LootableContainerBlockEntityMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.block.state; import net.minecraft.block.entity.LootableContainerBlockEntity; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/state/MobSpawnerBlockEntityMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/state/MobSpawnerBlockEntityMixin.java index d187b0d16..ede48798d 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/state/MobSpawnerBlockEntityMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/state/MobSpawnerBlockEntityMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.block.state; import net.minecraft.block.BlockState; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/state/SignBlockEntityMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/state/SignBlockEntityMixin.java index 21343de9f..07eeffe49 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/state/SignBlockEntityMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/block/state/SignBlockEntityMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.block.state; import net.minecraft.block.entity.SignBlockEntity; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/chunk/ChunkRegionMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/chunk/ChunkRegionMixin.java index 515539750..d17066626 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/chunk/ChunkRegionMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/chunk/ChunkRegionMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.chunk; import net.minecraft.util.math.BlockPos; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/chunk/WorldChunkMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/chunk/WorldChunkMixin.java index 38dd250fc..62c84011d 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/chunk/WorldChunkMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/chunk/WorldChunkMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.chunk; import net.minecraft.util.math.BlockPos; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/chunk/data/ProtoChunkMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/chunk/data/ProtoChunkMixin.java index 4b193430c..ea081aa6d 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/chunk/data/ProtoChunkMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/chunk/data/ProtoChunkMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.chunk.data; import net.minecraft.util.math.BlockPos; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/EntityMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/EntityMixin.java index 865a0802d..45573c0be 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/EntityMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/EntityMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.entity; import net.minecraft.entity.Entity; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/EntityTypeMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/EntityTypeMixin.java index e503ed61f..825c73ece 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/EntityTypeMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/EntityTypeMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.entity; import net.minecraft.entity.EntityType; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/PlayerEntityMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/PlayerEntityMixin.java index 409b3e855..aebfd1597 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/PlayerEntityMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/PlayerEntityMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.entity; import net.minecraft.entity.player.PlayerEntity; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/ServerCommandSourceMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/ServerCommandSourceMixin.java index 39de00c56..b887cd04d 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/ServerCommandSourceMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/entity/ServerCommandSourceMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.entity; import net.minecraft.server.command.ServerCommandSource; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/LockableContainerBlockEntityMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/LockableContainerBlockEntityMixin.java index 1b8e819b0..12b7ecd27 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/LockableContainerBlockEntityMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/LockableContainerBlockEntityMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.inventory; import net.minecraft.block.entity.LockableContainerBlockEntity; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/item/ItemMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/item/ItemMixin.java index 203f4e7f6..ff99bf29a 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/item/ItemMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/item/ItemMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.inventory.item; import net.minecraft.item.Item; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/item/ItemStackMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/item/ItemStackMixin.java index ad1f1188d..fd6356461 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/item/ItemStackMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/item/ItemStackMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.inventory.item; import net.minecraft.item.ItemStack; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/meta/EnchantmentMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/meta/EnchantmentMixin.java index 2af899aa4..cdda2e32f 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/meta/EnchantmentMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/meta/EnchantmentMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.inventory.meta; import net.minecraft.enchantment.Enchantment; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/meta/ItemStackDamageableMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/meta/ItemStackDamageableMixin.java index d4797d771..a83b86f22 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/meta/ItemStackDamageableMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/meta/ItemStackDamageableMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.inventory.meta; import net.minecraft.item.ItemStack; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/meta/ItemStackMetaMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/meta/ItemStackMetaMixin.java index e940bb91a..5468dbaf2 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/meta/ItemStackMetaMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/inventory/meta/ItemStackMetaMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.inventory.meta; import net.minecraft.item.ItemStack; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/package-info.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/package-info.java index b75181d61..262b1c464 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/package-info.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/package-info.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + /** * Mixins in this package implement Terra * interfaces in Minecraft classes. diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/world/ChunkRegionMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/world/ChunkRegionMixin.java index 0a0bf443c..6f01e114d 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/world/ChunkRegionMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/world/ChunkRegionMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.world; import net.minecraft.block.FluidBlock; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/world/ServerWorldMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/world/ServerWorldMixin.java index 5d892e787..2ba20cd4e 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/world/ServerWorldMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/implementations/world/ServerWorldMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.implementations.world; import net.minecraft.server.MinecraftServer; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/client/MinecraftClientMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/client/MinecraftClientMixin.java index a71ed21dd..f0751eb82 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/client/MinecraftClientMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/client/MinecraftClientMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.lifecycle.client; import net.minecraft.client.MinecraftClient; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/package-info.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/package-info.java index baeed30f7..ad90c31eb 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/package-info.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/package-info.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + /** * Mixins that inject behavior into the client/server lifecycle. */ diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/server/GeneratorOptionsMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/server/GeneratorOptionsMixin.java index c80ee3ab2..c898932b1 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/server/GeneratorOptionsMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/server/GeneratorOptionsMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.lifecycle.server; import com.google.common.base.MoreObjects; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/server/ServerMainMixin.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/server/ServerMainMixin.java index a17ccdba8..2d66a11da 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/server/ServerMainMixin.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/mixin/lifecycle/server/ServerMainMixin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.mixin.lifecycle.server; import net.minecraft.server.Main; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/FabricAdapter.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/FabricAdapter.java index b08b8a5e7..e5c9345d0 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/FabricAdapter.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/FabricAdapter.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.util; import net.minecraft.block.BlockState; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/FabricUtil.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/FabricUtil.java index 0656691bf..ea35cf7cf 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/FabricUtil.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/FabricUtil.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.util; import com.mojang.serialization.Lifecycle; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/ProtoBiome.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/ProtoBiome.java index 3f066a635..558ba12b1 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/ProtoBiome.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/ProtoBiome.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.util; import net.minecraft.util.Identifier; diff --git a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/WorldEditUtil.java b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/WorldEditUtil.java index 770b93f8a..8b9c3603a 100644 --- a/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/WorldEditUtil.java +++ b/platforms/fabric/src/main/java/com/dfsek/terra/fabric/util/WorldEditUtil.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.fabric.util; import com.sk89q.worldedit.IncompleteRegionException; diff --git a/platforms/sponge/src/main/java/com/dfsek/terra/sponge/PlatformImpl.java b/platforms/sponge/src/main/java/com/dfsek/terra/sponge/PlatformImpl.java index 8b19f381f..979d3da52 100644 --- a/platforms/sponge/src/main/java/com/dfsek/terra/sponge/PlatformImpl.java +++ b/platforms/sponge/src/main/java/com/dfsek/terra/sponge/PlatformImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.sponge; import org.spongepowered.api.Sponge; diff --git a/platforms/sponge/src/main/java/com/dfsek/terra/sponge/SpongeListener.java b/platforms/sponge/src/main/java/com/dfsek/terra/sponge/SpongeListener.java index f75ce253f..e2373308c 100644 --- a/platforms/sponge/src/main/java/com/dfsek/terra/sponge/SpongeListener.java +++ b/platforms/sponge/src/main/java/com/dfsek/terra/sponge/SpongeListener.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.sponge; import org.spongepowered.api.Server; diff --git a/platforms/sponge/src/main/java/com/dfsek/terra/sponge/TerraSpongePlugin.java b/platforms/sponge/src/main/java/com/dfsek/terra/sponge/TerraSpongePlugin.java index 4a03284be..109eb4750 100644 --- a/platforms/sponge/src/main/java/com/dfsek/terra/sponge/TerraSpongePlugin.java +++ b/platforms/sponge/src/main/java/com/dfsek/terra/sponge/TerraSpongePlugin.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.sponge; import com.google.inject.Inject; @@ -12,8 +29,8 @@ public class TerraSpongePlugin { private final PlatformImpl terraPlugin; @Inject - public TerraSpongePlugin(PluginContainer plugin, Game game) { - this.plugin = plugin; + public TerraSpongePlugin(Game game) { + this.plugin = null; this.terraPlugin = new PlatformImpl(this); game.eventManager().registerListeners(plugin, new SpongeListener(this)); } diff --git a/platforms/sponge/src/main/java/com/dfsek/terra/sponge/block/SpongeBlockState.java b/platforms/sponge/src/main/java/com/dfsek/terra/sponge/block/SpongeBlockState.java index 35df19caa..71915b40a 100644 --- a/platforms/sponge/src/main/java/com/dfsek/terra/sponge/block/SpongeBlockState.java +++ b/platforms/sponge/src/main/java/com/dfsek/terra/sponge/block/SpongeBlockState.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.sponge.block; import org.spongepowered.api.block.BlockTypes; diff --git a/platforms/sponge/src/main/java/com/dfsek/terra/sponge/block/SpongeBlockType.java b/platforms/sponge/src/main/java/com/dfsek/terra/sponge/block/SpongeBlockType.java index fef78ff61..98c56f1f8 100644 --- a/platforms/sponge/src/main/java/com/dfsek/terra/sponge/block/SpongeBlockType.java +++ b/platforms/sponge/src/main/java/com/dfsek/terra/sponge/block/SpongeBlockType.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.sponge.block; import org.spongepowered.api.block.BlockTypes; diff --git a/platforms/sponge/src/main/java/com/dfsek/terra/sponge/handle/SpongeWorldHandle.java b/platforms/sponge/src/main/java/com/dfsek/terra/sponge/handle/SpongeWorldHandle.java index 19df58535..96b56568d 100644 --- a/platforms/sponge/src/main/java/com/dfsek/terra/sponge/handle/SpongeWorldHandle.java +++ b/platforms/sponge/src/main/java/com/dfsek/terra/sponge/handle/SpongeWorldHandle.java @@ -1,3 +1,20 @@ +/* + * This file is part of Terra. + * + * Terra 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. + * + * Terra 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 Terra. If not, see . + */ + package com.dfsek.terra.sponge.handle; import org.spongepowered.api.block.BlockTypes;