diff --git a/blockentity/common/src/main/java/band/kessoku/lib/api/blockentity/BlockEntityAccess.java b/blockentity/common/src/main/java/band/kessoku/lib/api/blockentity/BlockEntityAccess.java index e12bee4b..accaabf8 100644 --- a/blockentity/common/src/main/java/band/kessoku/lib/api/blockentity/BlockEntityAccess.java +++ b/blockentity/common/src/main/java/band/kessoku/lib/api/blockentity/BlockEntityAccess.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2024 KessokuTeaTime + * + * Licensed under the GNU Lesser General Pubic License, Version 3 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.gnu.org/licenses/lgpl-3.0.html + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package band.kessoku.lib.api.blockentity; import band.kessoku.lib.api.data.DataAccess; diff --git a/blockentity/common/src/main/java/band/kessoku/lib/api/blockentity/KessokuBlockEntity.java b/blockentity/common/src/main/java/band/kessoku/lib/api/blockentity/KessokuBlockEntity.java index 36dfc0fc..e27dcd38 100644 --- a/blockentity/common/src/main/java/band/kessoku/lib/api/blockentity/KessokuBlockEntity.java +++ b/blockentity/common/src/main/java/band/kessoku/lib/api/blockentity/KessokuBlockEntity.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2024 KessokuTeaTime + * + * Licensed under the GNU Lesser General Pubic License, Version 3 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.gnu.org/licenses/lgpl-3.0.html + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package band.kessoku.lib.api.blockentity; import band.kessoku.lib.api.data.Storage; diff --git a/blockentity/fabric/src/main/java/band/kessoku/lib/impl/blockentity/fabric/KessokuBlockEntityFabric.java b/blockentity/fabric/src/main/java/band/kessoku/lib/impl/blockentity/fabric/KessokuBlockEntityFabric.java index 4edb47dc..a0830ab9 100644 --- a/blockentity/fabric/src/main/java/band/kessoku/lib/impl/blockentity/fabric/KessokuBlockEntityFabric.java +++ b/blockentity/fabric/src/main/java/band/kessoku/lib/impl/blockentity/fabric/KessokuBlockEntityFabric.java @@ -17,6 +17,7 @@ import band.kessoku.lib.api.KessokuLib; import band.kessoku.lib.api.blockentity.KessokuBlockEntity; + import net.fabricmc.api.ModInitializer; public class KessokuBlockEntityFabric implements ModInitializer { diff --git a/blockentity/neo/src/main/java/band/kessoku/lib/impl/blockentity/forge/KessokuBlockEntityNeoforge.java b/blockentity/neo/src/main/java/band/kessoku/lib/impl/blockentity/forge/KessokuBlockEntityNeoforge.java index efca213b..1943f51f 100644 --- a/blockentity/neo/src/main/java/band/kessoku/lib/impl/blockentity/forge/KessokuBlockEntityNeoforge.java +++ b/blockentity/neo/src/main/java/band/kessoku/lib/impl/blockentity/forge/KessokuBlockEntityNeoforge.java @@ -17,6 +17,7 @@ import band.kessoku.lib.api.KessokuLib; import band.kessoku.lib.api.blockentity.KessokuBlockEntity; + import net.neoforged.fml.common.Mod; @Mod(KessokuBlockEntity.MOD_ID) diff --git a/component/common/src/main/java/band/kessoku/lib/api/component/KessokuComponent.java b/component/common/src/main/java/band/kessoku/lib/api/component/KessokuComponent.java index e0b940db..36ddb2e9 100644 --- a/component/common/src/main/java/band/kessoku/lib/api/component/KessokuComponent.java +++ b/component/common/src/main/java/band/kessoku/lib/api/component/KessokuComponent.java @@ -1,12 +1,28 @@ +/* + * Copyright (c) 2024 KessokuTeaTime + * + * Licensed under the GNU Lesser General Pubic License, Version 3 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.gnu.org/licenses/lgpl-3.0.html + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package band.kessoku.lib.api.component; import band.kessoku.lib.api.registry.KessokuRegistry; import band.kessoku.lib.impl.Progress; -import net.minecraft.component.ComponentType; -import net.minecraft.util.Identifier; import org.slf4j.Marker; import org.slf4j.MarkerFactory; +import net.minecraft.component.ComponentType; +import net.minecraft.util.Identifier; + public class KessokuComponent { public static final String MOD_ID = "kessoku_component"; public static final String NAME = "Kessoku Component API"; diff --git a/component/fabric/src/main/java/band/kessoku/lib/impl/component/fabric/KessokuComponentFabric.java b/component/fabric/src/main/java/band/kessoku/lib/impl/component/fabric/KessokuComponentFabric.java index 0e7e292b..db45a3b7 100644 --- a/component/fabric/src/main/java/band/kessoku/lib/impl/component/fabric/KessokuComponentFabric.java +++ b/component/fabric/src/main/java/band/kessoku/lib/impl/component/fabric/KessokuComponentFabric.java @@ -1,7 +1,23 @@ +/* + * Copyright (c) 2024 KessokuTeaTime + * + * Licensed under the GNU Lesser General Pubic License, Version 3 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.gnu.org/licenses/lgpl-3.0.html + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package band.kessoku.lib.impl.component.fabric; import band.kessoku.lib.api.KessokuLib; import band.kessoku.lib.api.component.KessokuComponent; + import net.fabricmc.api.ModInitializer; public class KessokuComponentFabric implements ModInitializer { diff --git a/component/neo/src/main/java/band/kessoku/lib/impl/component/forge/KessokuComponentForge.java b/component/neo/src/main/java/band/kessoku/lib/impl/component/forge/KessokuComponentForge.java index 072f2b83..38794c4e 100644 --- a/component/neo/src/main/java/band/kessoku/lib/impl/component/forge/KessokuComponentForge.java +++ b/component/neo/src/main/java/band/kessoku/lib/impl/component/forge/KessokuComponentForge.java @@ -1,7 +1,23 @@ +/* + * Copyright (c) 2024 KessokuTeaTime + * + * Licensed under the GNU Lesser General Pubic License, Version 3 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.gnu.org/licenses/lgpl-3.0.html + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package band.kessoku.lib.impl.component.forge; import band.kessoku.lib.api.KessokuLib; import band.kessoku.lib.api.component.KessokuComponent; + import net.neoforged.fml.common.Mod; @Mod(KessokuComponent.MOD_ID) diff --git a/data/common/src/main/java/band/kessoku/lib/api/data/DataAccess.java b/data/common/src/main/java/band/kessoku/lib/api/data/DataAccess.java index 8ad38234..602f4685 100644 --- a/data/common/src/main/java/band/kessoku/lib/api/data/DataAccess.java +++ b/data/common/src/main/java/band/kessoku/lib/api/data/DataAccess.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2024 KessokuTeaTime + * + * Licensed under the GNU Lesser General Pubic License, Version 3 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.gnu.org/licenses/lgpl-3.0.html + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package band.kessoku.lib.api.data; @FunctionalInterface diff --git a/data/common/src/main/java/band/kessoku/lib/api/data/DataStructure.java b/data/common/src/main/java/band/kessoku/lib/api/data/DataStructure.java index 6c628445..95a34ffd 100644 --- a/data/common/src/main/java/band/kessoku/lib/api/data/DataStructure.java +++ b/data/common/src/main/java/band/kessoku/lib/api/data/DataStructure.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2024 KessokuTeaTime + * + * Licensed under the GNU Lesser General Pubic License, Version 3 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.gnu.org/licenses/lgpl-3.0.html + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package band.kessoku.lib.api.data; public interface DataStructure { diff --git a/data/common/src/main/java/band/kessoku/lib/impl/Progress.java b/data/common/src/main/java/band/kessoku/lib/impl/Progress.java index 2246464f..4e5bee38 100644 --- a/data/common/src/main/java/band/kessoku/lib/impl/Progress.java +++ b/data/common/src/main/java/band/kessoku/lib/impl/Progress.java @@ -1,8 +1,24 @@ +/* + * Copyright (c) 2024 KessokuTeaTime + * + * Licensed under the GNU Lesser General Pubic License, Version 3 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.gnu.org/licenses/lgpl-3.0.html + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package band.kessoku.lib.impl; import band.kessoku.lib.api.data.Timer; import com.mojang.serialization.Codec; import com.mojang.serialization.codecs.RecordCodecBuilder; + import net.minecraft.network.RegistryByteBuf; import net.minecraft.network.codec.PacketCodec; diff --git a/registry/common/src/main/java/band/kessoku/lib/api/registry/KessokuRegistry.java b/registry/common/src/main/java/band/kessoku/lib/api/registry/KessokuRegistry.java index 5d591d92..6c582659 100644 --- a/registry/common/src/main/java/band/kessoku/lib/api/registry/KessokuRegistry.java +++ b/registry/common/src/main/java/band/kessoku/lib/api/registry/KessokuRegistry.java @@ -15,7 +15,12 @@ */ package band.kessoku.lib.api.registry; +import java.util.function.UnaryOperator; + import band.kessoku.lib.service.registry.RegistryService; +import org.slf4j.Marker; +import org.slf4j.MarkerFactory; + import net.minecraft.block.AbstractBlock; import net.minecraft.block.Block; import net.minecraft.component.ComponentType; @@ -24,10 +29,6 @@ import net.minecraft.registry.Registries; import net.minecraft.registry.entry.RegistryEntry; import net.minecraft.util.Identifier; -import org.slf4j.Marker; -import org.slf4j.MarkerFactory; - -import java.util.function.UnaryOperator; public final class KessokuRegistry { private KessokuRegistry() { diff --git a/transfer/common/src/main/java/band/kessoku/lib/api/transfer/KessokuTransfer.java b/transfer/common/src/main/java/band/kessoku/lib/api/transfer/KessokuTransfer.java index 9da27e77..3f683459 100644 --- a/transfer/common/src/main/java/band/kessoku/lib/api/transfer/KessokuTransfer.java +++ b/transfer/common/src/main/java/band/kessoku/lib/api/transfer/KessokuTransfer.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2024 KessokuTeaTime + * + * Licensed under the GNU Lesser General Pubic License, Version 3 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.gnu.org/licenses/lgpl-3.0.html + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package band.kessoku.lib.api.transfer; import org.slf4j.Marker; diff --git a/transfer/fabric/src/main/java/band/kessoku/lib/api/transfer/fabric/KessokuTransferFabric.java b/transfer/fabric/src/main/java/band/kessoku/lib/api/transfer/fabric/KessokuTransferFabric.java index 80200acd..29491343 100644 --- a/transfer/fabric/src/main/java/band/kessoku/lib/api/transfer/fabric/KessokuTransferFabric.java +++ b/transfer/fabric/src/main/java/band/kessoku/lib/api/transfer/fabric/KessokuTransferFabric.java @@ -17,6 +17,7 @@ import band.kessoku.lib.api.KessokuLib; import band.kessoku.lib.api.transfer.KessokuTransfer; + import net.fabricmc.api.ModInitializer; public final class KessokuTransferFabric implements ModInitializer { diff --git a/transfer/neo/src/main/java/band/kessoku/lib/api/transfer/neoforge/KessokuTransferNeoforge.java b/transfer/neo/src/main/java/band/kessoku/lib/api/transfer/neoforge/KessokuTransferNeoforge.java index 10695e75..f57ba442 100644 --- a/transfer/neo/src/main/java/band/kessoku/lib/api/transfer/neoforge/KessokuTransferNeoforge.java +++ b/transfer/neo/src/main/java/band/kessoku/lib/api/transfer/neoforge/KessokuTransferNeoforge.java @@ -17,6 +17,7 @@ import band.kessoku.lib.api.KessokuLib; import band.kessoku.lib.api.transfer.KessokuTransfer; + import net.neoforged.fml.common.Mod; @Mod(KessokuTransfer.MOD_ID)