From 601e3c5722bf90d294326edf0f462bff70974a2d Mon Sep 17 00:00:00 2001 From: shedaniel Date: Sat, 7 Nov 2020 00:47:08 +0800 Subject: [PATCH] Fix compile --- build.gradle | 2 +- .../event/events/CommandRegistrationEvent.java | 16 ++++++++++++++++ .../architectury/event/events/PlayerEvent.java | 16 ++++++++++++++++ .../registry/BlockEntityRenderers.java | 16 ++++++++++++++++ .../architectury/registry/CreativeTabs.java | 16 ++++++++++++++++ .../architectury/registry/KeyBindings.java | 16 ++++++++++++++++ .../architectury/registry/ReloadListeners.java | 16 ++++++++++++++++ .../architectury/registry/RenderTypes.java | 16 ++++++++++++++++ .../architectury/utils/GameInstance.java | 16 ++++++++++++++++ fabric/build.gradle | 7 +++++++ .../mixin/fabric/MixinPlayerList.java | 16 ++++++++++++++++ .../fabric/client/MixinClientPacketListener.java | 16 ++++++++++++++++ .../mixin/fabric/client/MixinMinecraft.java | 16 ++++++++++++++++ .../networking/fabric/NetworkManagerImpl.java | 16 ++++++++++++++++ .../fabric/BlockEntityRenderersImpl.java | 16 ++++++++++++++++ .../registry/fabric/CreativeTabsImpl.java | 16 ++++++++++++++++ .../registry/fabric/KeyBindingsImpl.java | 16 ++++++++++++++++ .../registry/fabric/ReloadListenersImpl.java | 16 ++++++++++++++++ .../registry/fabric/RenderTypesImpl.java | 16 ++++++++++++++++ .../utils/fabric/GameInstanceImpl.java | 16 ++++++++++++++++ forge/build.gradle | 2 +- .../forge/ClientNetworkingManager.java | 16 ++++++++++++++++ .../networking/forge/NetworkManagerImpl.java | 16 ++++++++++++++++ .../registry/forge/BlockEntityRenderersImpl.java | 16 ++++++++++++++++ .../registry/forge/CreativeTabsImpl.java | 16 ++++++++++++++++ .../registry/forge/KeyBindingsImpl.java | 16 ++++++++++++++++ .../registry/forge/ReloadListenersImpl.java | 16 ++++++++++++++++ .../registry/forge/RenderTypesImpl.java | 16 ++++++++++++++++ .../utils/forge/GameInstanceImpl.java | 16 ++++++++++++++++ gradle.properties | 4 ++-- 30 files changed, 427 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 466325d7..02e6b09b 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ allprojects { apply plugin: "org.cadixdev.licenser" archivesBaseName = rootProject.archives_base_name - version = rootProject.mod_version + "." + (System.getenv("GITHUB_RUN_NUMBER") == null ? "9999" : (System.getenv("GITHUB_RUN_NUMBER").toInteger() - (int) project.last_minor_build).toString()) + version = rootProject.mod_version + "." + (System.getenv("GITHUB_RUN_NUMBER") == null ? "9999" : (System.getenv("GITHUB_RUN_NUMBER").toInteger() - Integer.parseInt(rootProject.last_minor_build)).toString()) group = rootProject.maven_group tasks.withType(JavaCompile) { diff --git a/common/src/main/java/me/shedaniel/architectury/event/events/CommandRegistrationEvent.java b/common/src/main/java/me/shedaniel/architectury/event/events/CommandRegistrationEvent.java index 4ff4e412..99014fee 100644 --- a/common/src/main/java/me/shedaniel/architectury/event/events/CommandRegistrationEvent.java +++ b/common/src/main/java/me/shedaniel/architectury/event/events/CommandRegistrationEvent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.event.events; import com.mojang.brigadier.CommandDispatcher; diff --git a/common/src/main/java/me/shedaniel/architectury/event/events/PlayerEvent.java b/common/src/main/java/me/shedaniel/architectury/event/events/PlayerEvent.java index b56f097c..d3f3294e 100644 --- a/common/src/main/java/me/shedaniel/architectury/event/events/PlayerEvent.java +++ b/common/src/main/java/me/shedaniel/architectury/event/events/PlayerEvent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.event.events; import me.shedaniel.architectury.event.Event; diff --git a/common/src/main/java/me/shedaniel/architectury/registry/BlockEntityRenderers.java b/common/src/main/java/me/shedaniel/architectury/registry/BlockEntityRenderers.java index 0f4bd9a7..bf0990fe 100644 --- a/common/src/main/java/me/shedaniel/architectury/registry/BlockEntityRenderers.java +++ b/common/src/main/java/me/shedaniel/architectury/registry/BlockEntityRenderers.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.registry; import me.shedaniel.architectury.ArchitecturyPopulator; diff --git a/common/src/main/java/me/shedaniel/architectury/registry/CreativeTabs.java b/common/src/main/java/me/shedaniel/architectury/registry/CreativeTabs.java index fc549640..fa8915a7 100644 --- a/common/src/main/java/me/shedaniel/architectury/registry/CreativeTabs.java +++ b/common/src/main/java/me/shedaniel/architectury/registry/CreativeTabs.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.registry; import me.shedaniel.architectury.ArchitecturyPopulator; diff --git a/common/src/main/java/me/shedaniel/architectury/registry/KeyBindings.java b/common/src/main/java/me/shedaniel/architectury/registry/KeyBindings.java index 03dfcb12..ffb9b771 100644 --- a/common/src/main/java/me/shedaniel/architectury/registry/KeyBindings.java +++ b/common/src/main/java/me/shedaniel/architectury/registry/KeyBindings.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.registry; import me.shedaniel.architectury.ArchitecturyPopulator; diff --git a/common/src/main/java/me/shedaniel/architectury/registry/ReloadListeners.java b/common/src/main/java/me/shedaniel/architectury/registry/ReloadListeners.java index 1be6c21b..d494a707 100644 --- a/common/src/main/java/me/shedaniel/architectury/registry/ReloadListeners.java +++ b/common/src/main/java/me/shedaniel/architectury/registry/ReloadListeners.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.registry; import me.shedaniel.architectury.ArchitecturyPopulator; diff --git a/common/src/main/java/me/shedaniel/architectury/registry/RenderTypes.java b/common/src/main/java/me/shedaniel/architectury/registry/RenderTypes.java index 02a3bebd..f74e529e 100644 --- a/common/src/main/java/me/shedaniel/architectury/registry/RenderTypes.java +++ b/common/src/main/java/me/shedaniel/architectury/registry/RenderTypes.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.registry; import me.shedaniel.architectury.ArchitecturyPopulator; diff --git a/common/src/main/java/me/shedaniel/architectury/utils/GameInstance.java b/common/src/main/java/me/shedaniel/architectury/utils/GameInstance.java index 33dda031..6ae3878e 100644 --- a/common/src/main/java/me/shedaniel/architectury/utils/GameInstance.java +++ b/common/src/main/java/me/shedaniel/architectury/utils/GameInstance.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.utils; import me.shedaniel.architectury.ArchitecturyPopulator; diff --git a/fabric/build.gradle b/fabric/build.gradle index 0261c4e6..102a4c3a 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -22,6 +22,13 @@ dependencies { } } +processResources { + filesMatching("fabric.mod.json") { + expand "version": project.version + } + inputs.property "version", project.version +} + shadowJar { configurations = [project.configurations.shadow] classifier "shadow" diff --git a/fabric/src/main/java/me/shedaniel/architectury/mixin/fabric/MixinPlayerList.java b/fabric/src/main/java/me/shedaniel/architectury/mixin/fabric/MixinPlayerList.java index 0c49f648..0be7f789 100644 --- a/fabric/src/main/java/me/shedaniel/architectury/mixin/fabric/MixinPlayerList.java +++ b/fabric/src/main/java/me/shedaniel/architectury/mixin/fabric/MixinPlayerList.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.mixin.fabric; import me.shedaniel.architectury.event.events.PlayerEvent; diff --git a/fabric/src/main/java/me/shedaniel/architectury/mixin/fabric/client/MixinClientPacketListener.java b/fabric/src/main/java/me/shedaniel/architectury/mixin/fabric/client/MixinClientPacketListener.java index 2e1f2102..ae271cfb 100644 --- a/fabric/src/main/java/me/shedaniel/architectury/mixin/fabric/client/MixinClientPacketListener.java +++ b/fabric/src/main/java/me/shedaniel/architectury/mixin/fabric/client/MixinClientPacketListener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.mixin.fabric.client; import me.shedaniel.architectury.event.events.PlayerEvent; diff --git a/fabric/src/main/java/me/shedaniel/architectury/mixin/fabric/client/MixinMinecraft.java b/fabric/src/main/java/me/shedaniel/architectury/mixin/fabric/client/MixinMinecraft.java index 45a44bf0..0c6697eb 100644 --- a/fabric/src/main/java/me/shedaniel/architectury/mixin/fabric/client/MixinMinecraft.java +++ b/fabric/src/main/java/me/shedaniel/architectury/mixin/fabric/client/MixinMinecraft.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.mixin.fabric.client; import me.shedaniel.architectury.event.events.PlayerEvent; diff --git a/fabric/src/main/java/me/shedaniel/architectury/networking/fabric/NetworkManagerImpl.java b/fabric/src/main/java/me/shedaniel/architectury/networking/fabric/NetworkManagerImpl.java index 0b41ac94..84a43e2b 100644 --- a/fabric/src/main/java/me/shedaniel/architectury/networking/fabric/NetworkManagerImpl.java +++ b/fabric/src/main/java/me/shedaniel/architectury/networking/fabric/NetworkManagerImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.networking.fabric; import me.shedaniel.architectury.networking.NetworkManager; diff --git a/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/BlockEntityRenderersImpl.java b/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/BlockEntityRenderersImpl.java index 748fb198..812612a2 100644 --- a/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/BlockEntityRenderersImpl.java +++ b/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/BlockEntityRenderersImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.registry.fabric; import me.shedaniel.architectury.registry.BlockEntityRenderers; diff --git a/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/CreativeTabsImpl.java b/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/CreativeTabsImpl.java index c72fb89a..62ed2332 100644 --- a/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/CreativeTabsImpl.java +++ b/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/CreativeTabsImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.registry.fabric; import me.shedaniel.architectury.registry.CreativeTabs; diff --git a/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/KeyBindingsImpl.java b/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/KeyBindingsImpl.java index e8857b7e..ade053b2 100644 --- a/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/KeyBindingsImpl.java +++ b/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/KeyBindingsImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.registry.fabric; import me.shedaniel.architectury.registry.KeyBindings; diff --git a/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/ReloadListenersImpl.java b/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/ReloadListenersImpl.java index 30b7642e..27221769 100644 --- a/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/ReloadListenersImpl.java +++ b/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/ReloadListenersImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.registry.fabric; import com.google.common.primitives.Longs; diff --git a/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/RenderTypesImpl.java b/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/RenderTypesImpl.java index e6ccca8b..679fdadb 100644 --- a/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/RenderTypesImpl.java +++ b/fabric/src/main/java/me/shedaniel/architectury/registry/fabric/RenderTypesImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.registry.fabric; import me.shedaniel.architectury.registry.RenderTypes; diff --git a/fabric/src/main/java/me/shedaniel/architectury/utils/fabric/GameInstanceImpl.java b/fabric/src/main/java/me/shedaniel/architectury/utils/fabric/GameInstanceImpl.java index 2d45152f..6fff6d1f 100644 --- a/fabric/src/main/java/me/shedaniel/architectury/utils/fabric/GameInstanceImpl.java +++ b/fabric/src/main/java/me/shedaniel/architectury/utils/fabric/GameInstanceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.utils.fabric; import me.shedaniel.architectury.event.events.LifecycleEvent; diff --git a/forge/build.gradle b/forge/build.gradle index 1b2c5bca..091a78f3 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -72,7 +72,7 @@ reobf { publishing { publications { - mavenFabric(MavenPublication) { + mavenForge(MavenPublication) { artifact(file("${project.buildDir}/libs/${project.archivesBaseName}-${project.version}-forge.jar")) { builtBy shadowJar classifier "forge" diff --git a/forge/src/main/java/me/shedaniel/architectury/networking/forge/ClientNetworkingManager.java b/forge/src/main/java/me/shedaniel/architectury/networking/forge/ClientNetworkingManager.java index 51b29b69..796dc8d3 100644 --- a/forge/src/main/java/me/shedaniel/architectury/networking/forge/ClientNetworkingManager.java +++ b/forge/src/main/java/me/shedaniel/architectury/networking/forge/ClientNetworkingManager.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.networking.forge; import me.shedaniel.architectury.networking.NetworkManager; diff --git a/forge/src/main/java/me/shedaniel/architectury/networking/forge/NetworkManagerImpl.java b/forge/src/main/java/me/shedaniel/architectury/networking/forge/NetworkManagerImpl.java index d65ece89..1901954e 100644 --- a/forge/src/main/java/me/shedaniel/architectury/networking/forge/NetworkManagerImpl.java +++ b/forge/src/main/java/me/shedaniel/architectury/networking/forge/NetworkManagerImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.networking.forge; diff --git a/forge/src/main/java/me/shedaniel/architectury/registry/forge/BlockEntityRenderersImpl.java b/forge/src/main/java/me/shedaniel/architectury/registry/forge/BlockEntityRenderersImpl.java index 756e95b8..0df2ff29 100644 --- a/forge/src/main/java/me/shedaniel/architectury/registry/forge/BlockEntityRenderersImpl.java +++ b/forge/src/main/java/me/shedaniel/architectury/registry/forge/BlockEntityRenderersImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.registry.forge; import me.shedaniel.architectury.registry.BlockEntityRenderers; diff --git a/forge/src/main/java/me/shedaniel/architectury/registry/forge/CreativeTabsImpl.java b/forge/src/main/java/me/shedaniel/architectury/registry/forge/CreativeTabsImpl.java index 6baee4b1..155f5ca8 100644 --- a/forge/src/main/java/me/shedaniel/architectury/registry/forge/CreativeTabsImpl.java +++ b/forge/src/main/java/me/shedaniel/architectury/registry/forge/CreativeTabsImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.registry.forge; import me.shedaniel.architectury.registry.CreativeTabs; diff --git a/forge/src/main/java/me/shedaniel/architectury/registry/forge/KeyBindingsImpl.java b/forge/src/main/java/me/shedaniel/architectury/registry/forge/KeyBindingsImpl.java index 2ecb2c20..7999a773 100644 --- a/forge/src/main/java/me/shedaniel/architectury/registry/forge/KeyBindingsImpl.java +++ b/forge/src/main/java/me/shedaniel/architectury/registry/forge/KeyBindingsImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.registry.forge; import me.shedaniel.architectury.registry.KeyBindings; diff --git a/forge/src/main/java/me/shedaniel/architectury/registry/forge/ReloadListenersImpl.java b/forge/src/main/java/me/shedaniel/architectury/registry/forge/ReloadListenersImpl.java index 0d6e9942..4b9cccd5 100644 --- a/forge/src/main/java/me/shedaniel/architectury/registry/forge/ReloadListenersImpl.java +++ b/forge/src/main/java/me/shedaniel/architectury/registry/forge/ReloadListenersImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.registry.forge; import com.google.common.collect.Lists; diff --git a/forge/src/main/java/me/shedaniel/architectury/registry/forge/RenderTypesImpl.java b/forge/src/main/java/me/shedaniel/architectury/registry/forge/RenderTypesImpl.java index 42e88325..9eacd9c5 100644 --- a/forge/src/main/java/me/shedaniel/architectury/registry/forge/RenderTypesImpl.java +++ b/forge/src/main/java/me/shedaniel/architectury/registry/forge/RenderTypesImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.registry.forge; import me.shedaniel.architectury.registry.RenderTypes; diff --git a/forge/src/main/java/me/shedaniel/architectury/utils/forge/GameInstanceImpl.java b/forge/src/main/java/me/shedaniel/architectury/utils/forge/GameInstanceImpl.java index e4654a70..37802068 100644 --- a/forge/src/main/java/me/shedaniel/architectury/utils/forge/GameInstanceImpl.java +++ b/forge/src/main/java/me/shedaniel/architectury/utils/forge/GameInstanceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2020 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 me.shedaniel.architectury.utils.forge; import me.shedaniel.architectury.utils.GameInstance; diff --git a/gradle.properties b/gradle.properties index b1be3694..2e706e44 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,8 +1,8 @@ minecraft_version=1.16.3 archives_base_name=architectury -mod_version=1.0. -last_minor_build=1 +mod_version=1.0 +last_minor_build=2 maven_group=me.shedaniel fabric_loader_version=0.10.5+build.213