From 8005d10d8f77644dd078f89f04fd73697777df94 Mon Sep 17 00:00:00 2001 From: Su5eD Date: Mon, 3 Jul 2023 22:18:21 +0200 Subject: [PATCH] Apply license headers --- README.md | 5 +++-- build.gradle | 4 ++++ .../impl/base/event/FabricApiBaseMod.java | 17 +++++++++++++++++ .../fabric/test/base/FabricApiBaseTestMod.java | 16 ++++++++++++++++ .../fabric/impl/biome/BiomeApiImpl.java | 16 ++++++++++++++++ .../biome/SpawnSettingsBuilderAccessor.java | 16 ++++++++++++++++ .../fabric/impl/block/BlockApiImpl.java | 16 ++++++++++++++++ .../fabric/test/block/BlockApiTest.java | 16 ++++++++++++++++ .../fabric/test/block/BlockApiTestImpl.java | 16 ++++++++++++++++ .../fabric/test/block/ExampleBlock.java | 16 ++++++++++++++++ .../BlockRenderLayerClientInit.java | 16 ++++++++++++++++ .../blockrenderlayer/BlockRenderLayerImpl.java | 16 ++++++++++++++++ .../blockrenderlayer/BlockRenderLayerTest.java | 16 ++++++++++++++++ .../fabric/impl/command/CommandApiImpl.java | 16 ++++++++++++++++ .../content/registry/BrewingRegistryImpl.java | 16 ++++++++++++++++ .../content/registry/ContentRegistryImpl.java | 16 ++++++++++++++++ .../impl/content/registry/ReadOnlyWorld.java | 16 ++++++++++++++++ .../registry/TillableBlockRegistryImpl.java | 16 ++++++++++++++++ .../impl/tag/convention/ConventionTagsImpl.java | 16 ++++++++++++++++ .../impl/datagen/DataGeneratorExtension.java | 16 ++++++++++++++++ .../fabric/impl/datagen/FabricDatagenImpl.java | 16 ++++++++++++++++ .../mixin/datagen/DataGeneratorMixin.java | 16 ++++++++++++++++ .../fabric/impl/dimension/SimpleTeleporter.java | 16 ++++++++++++++++ .../impl/entity/event/EntityEventHooks.java | 16 ++++++++++++++++ .../impl/entity/event/EntityEventsImpl.java | 16 ++++++++++++++++ .../interaction/InteractionEventHooks.java | 16 ++++++++++++++++ .../interaction/EntityInteractionTestMod.java | 16 ++++++++++++++++ .../fabric/impl/gamerule/GameRuleApiImpl.java | 16 ++++++++++++++++ .../impl/gamerule/GameRuleReflectionUtils.java | 16 ++++++++++++++++ .../client/item/ItemApiClientEventHooks.java | 16 ++++++++++++++++ .../fabric/impl/item/FabricItemImpl.java | 16 ++++++++++++++++ .../fabric/test/item/FabricItemTestsImpl.java | 16 ++++++++++++++++ .../impl/itemgroup/ItemGroupsApiImpl.java | 16 ++++++++++++++++ .../event/lifecycle/LifecycleEventsTestMod.java | 16 ++++++++++++++++ .../net/fabricmc/fabric/impl/loot/LootImpl.java | 16 ++++++++++++++++ .../mixin/loot/ResourcePackLoaderAccessor.java | 16 ++++++++++++++++ .../fabric/impl/message/MessagesImpl.java | 16 ++++++++++++++++ .../impl/mininglevel/MiningLevelImpl.java | 16 ++++++++++++++++ .../fabric/impl/client/model/ModelsImpl.java | 16 ++++++++++++++++ .../FabricDefaultAttributeRegistryImpl.java | 16 ++++++++++++++++ .../object/builder/ObjectBuilderApiImpl.java | 16 ++++++++++++++++ .../fabric/impl/particle/ParticlesImpl.java | 16 ++++++++++++++++ .../fabric/test/particle/ParticleTestMod.java | 16 ++++++++++++++++ .../particle/client/ParticleTestModClient.java | 16 ++++++++++++++++ .../impl/recipe/ingredient/RecipesImpl.java | 16 ++++++++++++++++ .../recipe/ingredient/IngredientTestsImpl.java | 16 ++++++++++++++++ .../registry/sync/RegistryManagerMixin.java | 16 ++++++++++++++++ .../fabric/impl/renderer/RendererImpl.java | 16 ++++++++++++++++ .../attachment/RenderingDataAttachmentImpl.java | 16 ++++++++++++++++ .../rendering/fluid/FluidRenderingImpl.java | 16 ++++++++++++++++ .../client/rendering/fluid/BlockStateMixin.java | 16 ++++++++++++++++ .../rendering/ClientRenderingEventHooks.java | 16 ++++++++++++++++ .../impl/client/rendering/HackyValueHolder.java | 16 ++++++++++++++++ .../impl/client/rendering/RenderingImpl.java | 16 ++++++++++++++++ .../conditions/ResourceConditionsMod.java | 16 ++++++++++++++++ .../resource/loader/ResourceLoaderClient.java | 16 ++++++++++++++++ .../resource/loader/ResourceLoaderImpl.java | 16 ++++++++++++++++ .../impl/resource/loader/SafeApiHandler.java | 16 ++++++++++++++++ .../resource/loader/ResourceLoaderTestImpl.java | 16 ++++++++++++++++ .../impl/client/screen/MouseExtensions.java | 16 ++++++++++++++++ .../impl/client/screen/ScreenApiImpl.java | 16 ++++++++++++++++ .../impl/client/screen/ScreenEventHooks.java | 16 ++++++++++++++++ .../impl/screenhandler/ScreenHandlerImpl.java | 16 ++++++++++++++++ .../mixin/screenhandler/NetworkHooksMixin.java | 16 ++++++++++++++++ ...SimpleNamedScreenHandlerFactoryAccessor.java | 16 ++++++++++++++++ .../fabric/impl/client/sound/SoundsImpl.java | 16 ++++++++++++++++ .../compat/FluidStorageFluidHandler.java | 16 ++++++++++++++++ .../compat/FluidStorageFluidHandlerItem.java | 16 ++++++++++++++++ .../impl/transfer/compat/ForgeCompatUtil.java | 16 ++++++++++++++++ .../impl/transfer/compat/ForgeFluidStorage.java | 16 ++++++++++++++++ .../impl/transfer/compat/ForgeFluidView.java | 16 ++++++++++++++++ .../impl/transfer/compat/ForgeItemStorage.java | 16 ++++++++++++++++ .../impl/transfer/compat/ForgeItemView.java | 16 ++++++++++++++++ .../transfer/compat/ItemStorageItemHandler.java | 16 ++++++++++++++++ .../compat/SlottedItemStorageItemHandler.java | 16 ++++++++++++++++ .../transfer/compat/TransferApiForgeCompat.java | 16 ++++++++++++++++ .../fabric/test/transfer/TransferApiTests.java | 16 ++++++++++++++++ 77 files changed, 1208 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 805855fb4..73bec9492 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Missing -> Added -> Tested | fabric-entity-events-v1 | ✅ Tested | Stable | | fabric-events-interaction-v0 | ✅ Tested | Stable | | fabric-game-rule-api-v1 | ✅ Tested | Stable | -| fabric-gametest-api-v1 | ⚠️ Missing | Stable | +| fabric-gametest-api-v1 | 🚧 Not Planned [[2]](#2) | Stable | | fabric-item-api-v1 | ✅ Tested | Stable | | fabric-item-group-api-v1 | ✅ Tested | Stable | | fabric-key-binding-api-v1 | ✅ Tested | Stable | @@ -66,7 +66,8 @@ Missing -> Added -> Tested | fabric-renderer-registries-v1 | ⚠️ Missing | Deprecated | | fabric-rendering-v0 | ⚠️ Missing | Deprecated | -[1] Does not provide an API, features already implemented by FML. +[1] Does not provide an API, features already implemented by FML.
+[2] Forge's GameTest runner provides the same capabilities. ## Modules diff --git a/build.gradle b/build.gradle index fb40bf816..b959094bb 100644 --- a/build.gradle +++ b/build.gradle @@ -960,6 +960,10 @@ allprojects { artifacts { remappedJars(signingEnabled ? tasks.named("signRemapJar") : remapJar) } + // Because it dies on try-with-resources statements + spotlessGroovyGradle { + enabled = false + } } configurations { diff --git a/fabric-api-base/src/main/java/net/fabricmc/fabric/impl/base/event/FabricApiBaseMod.java b/fabric-api-base/src/main/java/net/fabricmc/fabric/impl/base/event/FabricApiBaseMod.java index 1e9a90c1e..64206bd10 100644 --- a/fabric-api-base/src/main/java/net/fabricmc/fabric/impl/base/event/FabricApiBaseMod.java +++ b/fabric-api-base/src/main/java/net/fabricmc/fabric/impl/base/event/FabricApiBaseMod.java @@ -1,7 +1,24 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.base.event; import net.minecraftforge.fml.common.Mod; @Mod("fabric_api_base") public class FabricApiBaseMod { + } diff --git a/fabric-api-base/src/testmod/java/net/fabricmc/fabric/test/base/FabricApiBaseTestMod.java b/fabric-api-base/src/testmod/java/net/fabricmc/fabric/test/base/FabricApiBaseTestMod.java index 531271412..73f4ad7b3 100644 --- a/fabric-api-base/src/testmod/java/net/fabricmc/fabric/test/base/FabricApiBaseTestMod.java +++ b/fabric-api-base/src/testmod/java/net/fabricmc/fabric/test/base/FabricApiBaseTestMod.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.test.base; import net.minecraftforge.api.distmarker.Dist; diff --git a/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/impl/biome/BiomeApiImpl.java b/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/impl/biome/BiomeApiImpl.java index bb93a2144..d30097f60 100644 --- a/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/impl/biome/BiomeApiImpl.java +++ b/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/impl/biome/BiomeApiImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.biome; import net.fabricmc.fabric.impl.biome.modification.BiomeModificationImpl; diff --git a/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/mixin/biome/SpawnSettingsBuilderAccessor.java b/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/mixin/biome/SpawnSettingsBuilderAccessor.java index 4428dea82..53c2a1e06 100644 --- a/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/mixin/biome/SpawnSettingsBuilderAccessor.java +++ b/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/mixin/biome/SpawnSettingsBuilderAccessor.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.mixin.biome; import java.util.Map; diff --git a/fabric-block-api-v1/src/main/java/net/fabricmc/fabric/impl/block/BlockApiImpl.java b/fabric-block-api-v1/src/main/java/net/fabricmc/fabric/impl/block/BlockApiImpl.java index 433ce8edc..1f7cd15b7 100644 --- a/fabric-block-api-v1/src/main/java/net/fabricmc/fabric/impl/block/BlockApiImpl.java +++ b/fabric-block-api-v1/src/main/java/net/fabricmc/fabric/impl/block/BlockApiImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.block; import net.minecraftforge.fml.common.Mod; diff --git a/fabric-block-api-v1/src/testmod/java/net/fabricmc/fabric/test/block/BlockApiTest.java b/fabric-block-api-v1/src/testmod/java/net/fabricmc/fabric/test/block/BlockApiTest.java index 32f6c0078..3171a48dd 100644 --- a/fabric-block-api-v1/src/testmod/java/net/fabricmc/fabric/test/block/BlockApiTest.java +++ b/fabric-block-api-v1/src/testmod/java/net/fabricmc/fabric/test/block/BlockApiTest.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.test.block; import net.minecraftforge.gametest.GameTestHolder; diff --git a/fabric-block-api-v1/src/testmod/java/net/fabricmc/fabric/test/block/BlockApiTestImpl.java b/fabric-block-api-v1/src/testmod/java/net/fabricmc/fabric/test/block/BlockApiTestImpl.java index c0ac12662..22a73445c 100644 --- a/fabric-block-api-v1/src/testmod/java/net/fabricmc/fabric/test/block/BlockApiTestImpl.java +++ b/fabric-block-api-v1/src/testmod/java/net/fabricmc/fabric/test/block/BlockApiTestImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.test.block; import net.minecraftforge.eventbus.api.IEventBus; diff --git a/fabric-block-api-v1/src/testmod/java/net/fabricmc/fabric/test/block/ExampleBlock.java b/fabric-block-api-v1/src/testmod/java/net/fabricmc/fabric/test/block/ExampleBlock.java index 7ab40c23d..48742a850 100644 --- a/fabric-block-api-v1/src/testmod/java/net/fabricmc/fabric/test/block/ExampleBlock.java +++ b/fabric-block-api-v1/src/testmod/java/net/fabricmc/fabric/test/block/ExampleBlock.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.test.block; import org.jetbrains.annotations.Nullable; diff --git a/fabric-blockrenderlayer-v1/src/client/java/net/fabricmc/fabric/impl/blockrenderlayer/BlockRenderLayerClientInit.java b/fabric-blockrenderlayer-v1/src/client/java/net/fabricmc/fabric/impl/blockrenderlayer/BlockRenderLayerClientInit.java index 1e693d815..c0c53afcf 100644 --- a/fabric-blockrenderlayer-v1/src/client/java/net/fabricmc/fabric/impl/blockrenderlayer/BlockRenderLayerClientInit.java +++ b/fabric-blockrenderlayer-v1/src/client/java/net/fabricmc/fabric/impl/blockrenderlayer/BlockRenderLayerClientInit.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.blockrenderlayer; import net.minecraft.client.render.RenderLayers; diff --git a/fabric-blockrenderlayer-v1/src/client/java/net/fabricmc/fabric/impl/blockrenderlayer/BlockRenderLayerImpl.java b/fabric-blockrenderlayer-v1/src/client/java/net/fabricmc/fabric/impl/blockrenderlayer/BlockRenderLayerImpl.java index 83779a912..1cc2bdaa0 100644 --- a/fabric-blockrenderlayer-v1/src/client/java/net/fabricmc/fabric/impl/blockrenderlayer/BlockRenderLayerImpl.java +++ b/fabric-blockrenderlayer-v1/src/client/java/net/fabricmc/fabric/impl/blockrenderlayer/BlockRenderLayerImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.blockrenderlayer; import net.minecraftforge.api.distmarker.Dist; diff --git a/fabric-blockrenderlayer-v1/src/testmod/java/net/fabricmc/fabric/test/blockrenderlayer/BlockRenderLayerTest.java b/fabric-blockrenderlayer-v1/src/testmod/java/net/fabricmc/fabric/test/blockrenderlayer/BlockRenderLayerTest.java index bd0cc160e..cb962ec73 100644 --- a/fabric-blockrenderlayer-v1/src/testmod/java/net/fabricmc/fabric/test/blockrenderlayer/BlockRenderLayerTest.java +++ b/fabric-blockrenderlayer-v1/src/testmod/java/net/fabricmc/fabric/test/blockrenderlayer/BlockRenderLayerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.test.blockrenderlayer; import com.mojang.logging.LogUtils; diff --git a/fabric-command-api-v2/src/main/java/net/fabricmc/fabric/impl/command/CommandApiImpl.java b/fabric-command-api-v2/src/main/java/net/fabricmc/fabric/impl/command/CommandApiImpl.java index 6de70ba2c..1268ca734 100644 --- a/fabric-command-api-v2/src/main/java/net/fabricmc/fabric/impl/command/CommandApiImpl.java +++ b/fabric-command-api-v2/src/main/java/net/fabricmc/fabric/impl/command/CommandApiImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.command; import java.util.HashMap; diff --git a/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/BrewingRegistryImpl.java b/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/BrewingRegistryImpl.java index 0c0e2d8e0..5e8abd303 100644 --- a/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/BrewingRegistryImpl.java +++ b/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/BrewingRegistryImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.content.registry; import net.minecraftforge.registries.ForgeRegistries; diff --git a/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/ContentRegistryImpl.java b/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/ContentRegistryImpl.java index 6fd8a7586..687170dc8 100644 --- a/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/ContentRegistryImpl.java +++ b/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/ContentRegistryImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.content.registry; import net.minecraftforge.common.MinecraftForge; diff --git a/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/ReadOnlyWorld.java b/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/ReadOnlyWorld.java index c88e32c87..a646c05b9 100644 --- a/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/ReadOnlyWorld.java +++ b/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/ReadOnlyWorld.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.content.registry; import java.util.List; diff --git a/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/TillableBlockRegistryImpl.java b/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/TillableBlockRegistryImpl.java index 75da98740..451481b9a 100644 --- a/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/TillableBlockRegistryImpl.java +++ b/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/impl/content/registry/TillableBlockRegistryImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.content.registry; import java.util.IdentityHashMap; diff --git a/fabric-convention-tags-v1/src/main/java/net/fabricmc/fabric/impl/tag/convention/ConventionTagsImpl.java b/fabric-convention-tags-v1/src/main/java/net/fabricmc/fabric/impl/tag/convention/ConventionTagsImpl.java index 255329fad..2da9c605f 100644 --- a/fabric-convention-tags-v1/src/main/java/net/fabricmc/fabric/impl/tag/convention/ConventionTagsImpl.java +++ b/fabric-convention-tags-v1/src/main/java/net/fabricmc/fabric/impl/tag/convention/ConventionTagsImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.tag.convention; import net.minecraftforge.fml.common.Mod; diff --git a/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/impl/datagen/DataGeneratorExtension.java b/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/impl/datagen/DataGeneratorExtension.java index ad99798ac..26a2763c9 100644 --- a/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/impl/datagen/DataGeneratorExtension.java +++ b/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/impl/datagen/DataGeneratorExtension.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.datagen; import java.nio.file.Path; diff --git a/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/impl/datagen/FabricDatagenImpl.java b/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/impl/datagen/FabricDatagenImpl.java index 567d1bb30..92359e5d3 100644 --- a/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/impl/datagen/FabricDatagenImpl.java +++ b/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/impl/datagen/FabricDatagenImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.datagen; import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap; diff --git a/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/mixin/datagen/DataGeneratorMixin.java b/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/mixin/datagen/DataGeneratorMixin.java index 0e96e64b5..8b1ab10f4 100644 --- a/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/mixin/datagen/DataGeneratorMixin.java +++ b/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/mixin/datagen/DataGeneratorMixin.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.mixin.datagen; import java.nio.file.Path; diff --git a/fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/impl/dimension/SimpleTeleporter.java b/fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/impl/dimension/SimpleTeleporter.java index 45b16c536..3aebe6297 100644 --- a/fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/impl/dimension/SimpleTeleporter.java +++ b/fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/impl/dimension/SimpleTeleporter.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.dimension; import java.util.function.Function; diff --git a/fabric-entity-events-v1/src/main/java/net/fabricmc/fabric/impl/entity/event/EntityEventHooks.java b/fabric-entity-events-v1/src/main/java/net/fabricmc/fabric/impl/entity/event/EntityEventHooks.java index ce4581acb..c8a47d2f9 100644 --- a/fabric-entity-events-v1/src/main/java/net/fabricmc/fabric/impl/entity/event/EntityEventHooks.java +++ b/fabric-entity-events-v1/src/main/java/net/fabricmc/fabric/impl/entity/event/EntityEventHooks.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.entity.event; import net.minecraftforge.event.entity.living.LivingAttackEvent; diff --git a/fabric-entity-events-v1/src/main/java/net/fabricmc/fabric/impl/entity/event/EntityEventsImpl.java b/fabric-entity-events-v1/src/main/java/net/fabricmc/fabric/impl/entity/event/EntityEventsImpl.java index 230b68044..37717e780 100644 --- a/fabric-entity-events-v1/src/main/java/net/fabricmc/fabric/impl/entity/event/EntityEventsImpl.java +++ b/fabric-entity-events-v1/src/main/java/net/fabricmc/fabric/impl/entity/event/EntityEventsImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.entity.event; import net.minecraftforge.common.MinecraftForge; diff --git a/fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/impl/event/interaction/InteractionEventHooks.java b/fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/impl/event/interaction/InteractionEventHooks.java index 67ae54890..2be4f70fd 100644 --- a/fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/impl/event/interaction/InteractionEventHooks.java +++ b/fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/impl/event/interaction/InteractionEventHooks.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.event.interaction; import net.minecraftforge.event.entity.player.AttackEntityEvent; diff --git a/fabric-events-interaction-v0/src/testmod/java/net/fabricmc/fabric/test/event/interaction/EntityInteractionTestMod.java b/fabric-events-interaction-v0/src/testmod/java/net/fabricmc/fabric/test/event/interaction/EntityInteractionTestMod.java index eed5ecdde..d9bdc25a1 100644 --- a/fabric-events-interaction-v0/src/testmod/java/net/fabricmc/fabric/test/event/interaction/EntityInteractionTestMod.java +++ b/fabric-events-interaction-v0/src/testmod/java/net/fabricmc/fabric/test/event/interaction/EntityInteractionTestMod.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.test.event.interaction; import net.minecraftforge.api.distmarker.Dist; diff --git a/fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/impl/gamerule/GameRuleApiImpl.java b/fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/impl/gamerule/GameRuleApiImpl.java index c6aad8df1..9d40ac05b 100644 --- a/fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/impl/gamerule/GameRuleApiImpl.java +++ b/fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/impl/gamerule/GameRuleApiImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.gamerule; import net.minecraftforge.fml.common.Mod; diff --git a/fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/impl/gamerule/GameRuleReflectionUtils.java b/fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/impl/gamerule/GameRuleReflectionUtils.java index b73a54495..7d6ab423d 100644 --- a/fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/impl/gamerule/GameRuleReflectionUtils.java +++ b/fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/impl/gamerule/GameRuleReflectionUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.gamerule; import java.lang.invoke.MethodHandles; diff --git a/fabric-item-api-v1/src/client/java/net/fabricmc/fabric/impl/client/item/ItemApiClientEventHooks.java b/fabric-item-api-v1/src/client/java/net/fabricmc/fabric/impl/client/item/ItemApiClientEventHooks.java index de29b294b..38c00203e 100644 --- a/fabric-item-api-v1/src/client/java/net/fabricmc/fabric/impl/client/item/ItemApiClientEventHooks.java +++ b/fabric-item-api-v1/src/client/java/net/fabricmc/fabric/impl/client/item/ItemApiClientEventHooks.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.client.item; import net.minecraftforge.event.entity.player.ItemTooltipEvent; diff --git a/fabric-item-api-v1/src/main/java/net/fabricmc/fabric/impl/item/FabricItemImpl.java b/fabric-item-api-v1/src/main/java/net/fabricmc/fabric/impl/item/FabricItemImpl.java index e2e8d7d43..b27200007 100644 --- a/fabric-item-api-v1/src/main/java/net/fabricmc/fabric/impl/item/FabricItemImpl.java +++ b/fabric-item-api-v1/src/main/java/net/fabricmc/fabric/impl/item/FabricItemImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.item; import net.minecraftforge.api.distmarker.Dist; diff --git a/fabric-item-api-v1/src/testmod/java/net/fabricmc/fabric/test/item/FabricItemTestsImpl.java b/fabric-item-api-v1/src/testmod/java/net/fabricmc/fabric/test/item/FabricItemTestsImpl.java index 572004f08..a571169ac 100644 --- a/fabric-item-api-v1/src/testmod/java/net/fabricmc/fabric/test/item/FabricItemTestsImpl.java +++ b/fabric-item-api-v1/src/testmod/java/net/fabricmc/fabric/test/item/FabricItemTestsImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.test.item; import net.fabricmc.fabric.test.item.client.TooltipTests; diff --git a/fabric-item-group-api-v1/src/main/java/net/fabricmc/fabric/impl/itemgroup/ItemGroupsApiImpl.java b/fabric-item-group-api-v1/src/main/java/net/fabricmc/fabric/impl/itemgroup/ItemGroupsApiImpl.java index 1666b9925..468a00172 100644 --- a/fabric-item-group-api-v1/src/main/java/net/fabricmc/fabric/impl/itemgroup/ItemGroupsApiImpl.java +++ b/fabric-item-group-api-v1/src/main/java/net/fabricmc/fabric/impl/itemgroup/ItemGroupsApiImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.itemgroup; import net.minecraftforge.eventbus.api.IEventBus; diff --git a/fabric-lifecycle-events-v1/src/testmod/java/net/fabricmc/fabric/test/event/lifecycle/LifecycleEventsTestMod.java b/fabric-lifecycle-events-v1/src/testmod/java/net/fabricmc/fabric/test/event/lifecycle/LifecycleEventsTestMod.java index 4434fd43f..59adcca79 100644 --- a/fabric-lifecycle-events-v1/src/testmod/java/net/fabricmc/fabric/test/event/lifecycle/LifecycleEventsTestMod.java +++ b/fabric-lifecycle-events-v1/src/testmod/java/net/fabricmc/fabric/test/event/lifecycle/LifecycleEventsTestMod.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.test.event.lifecycle; import net.minecraftforge.api.distmarker.Dist; diff --git a/fabric-loot-api-v2/src/main/java/net/fabricmc/fabric/impl/loot/LootImpl.java b/fabric-loot-api-v2/src/main/java/net/fabricmc/fabric/impl/loot/LootImpl.java index 419612fec..828cbcb03 100644 --- a/fabric-loot-api-v2/src/main/java/net/fabricmc/fabric/impl/loot/LootImpl.java +++ b/fabric-loot-api-v2/src/main/java/net/fabricmc/fabric/impl/loot/LootImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.loot; import net.minecraftforge.fml.common.Mod; diff --git a/fabric-loot-api-v2/src/main/java/net/fabricmc/fabric/mixin/loot/ResourcePackLoaderAccessor.java b/fabric-loot-api-v2/src/main/java/net/fabricmc/fabric/mixin/loot/ResourcePackLoaderAccessor.java index 52c678868..e9024cd43 100644 --- a/fabric-loot-api-v2/src/main/java/net/fabricmc/fabric/mixin/loot/ResourcePackLoaderAccessor.java +++ b/fabric-loot-api-v2/src/main/java/net/fabricmc/fabric/mixin/loot/ResourcePackLoaderAccessor.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.mixin.loot; import java.util.Map; diff --git a/fabric-message-api-v1/src/main/java/net/fabricmc/fabric/impl/message/MessagesImpl.java b/fabric-message-api-v1/src/main/java/net/fabricmc/fabric/impl/message/MessagesImpl.java index 29e369632..c50c04378 100644 --- a/fabric-message-api-v1/src/main/java/net/fabricmc/fabric/impl/message/MessagesImpl.java +++ b/fabric-message-api-v1/src/main/java/net/fabricmc/fabric/impl/message/MessagesImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.message; import net.minecraftforge.fml.common.Mod; diff --git a/fabric-mining-level-api-v1/src/main/java/net/fabricmc/fabric/impl/mininglevel/MiningLevelImpl.java b/fabric-mining-level-api-v1/src/main/java/net/fabricmc/fabric/impl/mininglevel/MiningLevelImpl.java index d4223d37d..9940b34d0 100644 --- a/fabric-mining-level-api-v1/src/main/java/net/fabricmc/fabric/impl/mininglevel/MiningLevelImpl.java +++ b/fabric-mining-level-api-v1/src/main/java/net/fabricmc/fabric/impl/mininglevel/MiningLevelImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.mininglevel; import net.minecraftforge.fml.common.Mod; diff --git a/fabric-models-v0/src/client/java/net/fabricmc/fabric/impl/client/model/ModelsImpl.java b/fabric-models-v0/src/client/java/net/fabricmc/fabric/impl/client/model/ModelsImpl.java index 61d2f65e2..6b95244f8 100644 --- a/fabric-models-v0/src/client/java/net/fabricmc/fabric/impl/client/model/ModelsImpl.java +++ b/fabric-models-v0/src/client/java/net/fabricmc/fabric/impl/client/model/ModelsImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.client.model; import net.minecraftforge.api.distmarker.Dist; diff --git a/fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/impl/object/builder/FabricDefaultAttributeRegistryImpl.java b/fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/impl/object/builder/FabricDefaultAttributeRegistryImpl.java index 530fa9e5e..d66fddb97 100644 --- a/fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/impl/object/builder/FabricDefaultAttributeRegistryImpl.java +++ b/fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/impl/object/builder/FabricDefaultAttributeRegistryImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.object.builder; import java.util.HashMap; diff --git a/fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/impl/object/builder/ObjectBuilderApiImpl.java b/fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/impl/object/builder/ObjectBuilderApiImpl.java index 369d7e161..98bb24c1f 100644 --- a/fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/impl/object/builder/ObjectBuilderApiImpl.java +++ b/fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/impl/object/builder/ObjectBuilderApiImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.object.builder; import net.minecraftforge.common.MinecraftForge; diff --git a/fabric-particles-v1/src/main/java/net/fabricmc/fabric/impl/particle/ParticlesImpl.java b/fabric-particles-v1/src/main/java/net/fabricmc/fabric/impl/particle/ParticlesImpl.java index e2f373ab6..3d05f2e1d 100644 --- a/fabric-particles-v1/src/main/java/net/fabricmc/fabric/impl/particle/ParticlesImpl.java +++ b/fabric-particles-v1/src/main/java/net/fabricmc/fabric/impl/particle/ParticlesImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.particle; import net.minecraftforge.fml.common.Mod; diff --git a/fabric-particles-v1/src/testmod/java/net/fabricmc/fabric/test/particle/ParticleTestMod.java b/fabric-particles-v1/src/testmod/java/net/fabricmc/fabric/test/particle/ParticleTestMod.java index 9371bd845..031e81b1f 100644 --- a/fabric-particles-v1/src/testmod/java/net/fabricmc/fabric/test/particle/ParticleTestMod.java +++ b/fabric-particles-v1/src/testmod/java/net/fabricmc/fabric/test/particle/ParticleTestMod.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.test.particle; import net.minecraftforge.api.distmarker.Dist; diff --git a/fabric-particles-v1/src/testmod/java/net/fabricmc/fabric/test/particle/client/ParticleTestModClient.java b/fabric-particles-v1/src/testmod/java/net/fabricmc/fabric/test/particle/client/ParticleTestModClient.java index c4c7c8b56..8fa44d614 100644 --- a/fabric-particles-v1/src/testmod/java/net/fabricmc/fabric/test/particle/client/ParticleTestModClient.java +++ b/fabric-particles-v1/src/testmod/java/net/fabricmc/fabric/test/particle/client/ParticleTestModClient.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.test.particle.client; import net.fabricmc.fabric.api.client.particle.v1.ParticleFactoryRegistry; diff --git a/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/impl/recipe/ingredient/RecipesImpl.java b/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/impl/recipe/ingredient/RecipesImpl.java index 48084e2b7..c63cdfa4e 100644 --- a/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/impl/recipe/ingredient/RecipesImpl.java +++ b/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/impl/recipe/ingredient/RecipesImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.recipe.ingredient; import net.minecraftforge.api.distmarker.Dist; diff --git a/fabric-recipe-api-v1/src/testmod/java/net/fabricmc/fabric/test/recipe/ingredient/IngredientTestsImpl.java b/fabric-recipe-api-v1/src/testmod/java/net/fabricmc/fabric/test/recipe/ingredient/IngredientTestsImpl.java index df5e17138..93141d6e3 100644 --- a/fabric-recipe-api-v1/src/testmod/java/net/fabricmc/fabric/test/recipe/ingredient/IngredientTestsImpl.java +++ b/fabric-recipe-api-v1/src/testmod/java/net/fabricmc/fabric/test/recipe/ingredient/IngredientTestsImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.test.recipe.ingredient; import net.minecraftforge.fml.common.Mod; diff --git a/fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/mixin/registry/sync/RegistryManagerMixin.java b/fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/mixin/registry/sync/RegistryManagerMixin.java index 37dc4a1f2..eea7296a5 100644 --- a/fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/mixin/registry/sync/RegistryManagerMixin.java +++ b/fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/mixin/registry/sync/RegistryManagerMixin.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.mixin.registry.sync; import net.fabricmc.fabric.impl.registry.sync.FabricRegistryInit; diff --git a/fabric-renderer-api-v1/src/client/java/net/fabricmc/fabric/impl/renderer/RendererImpl.java b/fabric-renderer-api-v1/src/client/java/net/fabricmc/fabric/impl/renderer/RendererImpl.java index fea29046f..55f147ef0 100644 --- a/fabric-renderer-api-v1/src/client/java/net/fabricmc/fabric/impl/renderer/RendererImpl.java +++ b/fabric-renderer-api-v1/src/client/java/net/fabricmc/fabric/impl/renderer/RendererImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.renderer; import net.minecraftforge.fml.common.Mod; diff --git a/fabric-rendering-data-attachment-v1/src/main/java/net/fabricmc/fabric/impl/rendering/data/attachment/RenderingDataAttachmentImpl.java b/fabric-rendering-data-attachment-v1/src/main/java/net/fabricmc/fabric/impl/rendering/data/attachment/RenderingDataAttachmentImpl.java index 7b3076f92..5525ce98d 100644 --- a/fabric-rendering-data-attachment-v1/src/main/java/net/fabricmc/fabric/impl/rendering/data/attachment/RenderingDataAttachmentImpl.java +++ b/fabric-rendering-data-attachment-v1/src/main/java/net/fabricmc/fabric/impl/rendering/data/attachment/RenderingDataAttachmentImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.rendering.data.attachment; import net.minecraftforge.fml.common.Mod; diff --git a/fabric-rendering-fluids-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/fluid/FluidRenderingImpl.java b/fabric-rendering-fluids-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/fluid/FluidRenderingImpl.java index d4290f14f..052a45824 100644 --- a/fabric-rendering-fluids-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/fluid/FluidRenderingImpl.java +++ b/fabric-rendering-fluids-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/fluid/FluidRenderingImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.client.rendering.fluid; import net.minecraftforge.fml.common.Mod; diff --git a/fabric-rendering-fluids-v1/src/client/java/net/fabricmc/fabric/mixin/client/rendering/fluid/BlockStateMixin.java b/fabric-rendering-fluids-v1/src/client/java/net/fabricmc/fabric/mixin/client/rendering/fluid/BlockStateMixin.java index bb3672991..7ac257e92 100644 --- a/fabric-rendering-fluids-v1/src/client/java/net/fabricmc/fabric/mixin/client/rendering/fluid/BlockStateMixin.java +++ b/fabric-rendering-fluids-v1/src/client/java/net/fabricmc/fabric/mixin/client/rendering/fluid/BlockStateMixin.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.mixin.client.rendering.fluid; import com.google.common.collect.ImmutableMap; diff --git a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/ClientRenderingEventHooks.java b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/ClientRenderingEventHooks.java index 617c17697..3e9fa9cc8 100644 --- a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/ClientRenderingEventHooks.java +++ b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/ClientRenderingEventHooks.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.client.rendering; import java.io.IOException; diff --git a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/HackyValueHolder.java b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/HackyValueHolder.java index 4be3024a5..059f6f776 100644 --- a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/HackyValueHolder.java +++ b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/HackyValueHolder.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.client.rendering; public final class HackyValueHolder { diff --git a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/RenderingImpl.java b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/RenderingImpl.java index 1d7f57e61..f429407af 100644 --- a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/RenderingImpl.java +++ b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/impl/client/rendering/RenderingImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.client.rendering; import net.minecraftforge.api.distmarker.Dist; diff --git a/fabric-resource-conditions-api-v1/src/main/java/net/fabricmc/fabric/impl/resource/conditions/ResourceConditionsMod.java b/fabric-resource-conditions-api-v1/src/main/java/net/fabricmc/fabric/impl/resource/conditions/ResourceConditionsMod.java index 763f52ca9..e320eca09 100644 --- a/fabric-resource-conditions-api-v1/src/main/java/net/fabricmc/fabric/impl/resource/conditions/ResourceConditionsMod.java +++ b/fabric-resource-conditions-api-v1/src/main/java/net/fabricmc/fabric/impl/resource/conditions/ResourceConditionsMod.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.resource.conditions; import net.minecraftforge.fml.common.Mod; diff --git a/fabric-resource-loader-v0/src/client/java/net/fabricmc/fabric/impl/client/resource/loader/ResourceLoaderClient.java b/fabric-resource-loader-v0/src/client/java/net/fabricmc/fabric/impl/client/resource/loader/ResourceLoaderClient.java index 44a5e73a8..d84e7f7df 100644 --- a/fabric-resource-loader-v0/src/client/java/net/fabricmc/fabric/impl/client/resource/loader/ResourceLoaderClient.java +++ b/fabric-resource-loader-v0/src/client/java/net/fabricmc/fabric/impl/client/resource/loader/ResourceLoaderClient.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.client.resource.loader; import java.util.List; diff --git a/fabric-resource-loader-v0/src/main/java/net/fabricmc/fabric/impl/resource/loader/ResourceLoaderImpl.java b/fabric-resource-loader-v0/src/main/java/net/fabricmc/fabric/impl/resource/loader/ResourceLoaderImpl.java index 8be783e9e..984909f27 100644 --- a/fabric-resource-loader-v0/src/main/java/net/fabricmc/fabric/impl/resource/loader/ResourceLoaderImpl.java +++ b/fabric-resource-loader-v0/src/main/java/net/fabricmc/fabric/impl/resource/loader/ResourceLoaderImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.resource.loader; import java.nio.file.Path; diff --git a/fabric-resource-loader-v0/src/main/java/net/fabricmc/fabric/impl/resource/loader/SafeApiHandler.java b/fabric-resource-loader-v0/src/main/java/net/fabricmc/fabric/impl/resource/loader/SafeApiHandler.java index 6f43e6ef8..c915bd884 100644 --- a/fabric-resource-loader-v0/src/main/java/net/fabricmc/fabric/impl/resource/loader/SafeApiHandler.java +++ b/fabric-resource-loader-v0/src/main/java/net/fabricmc/fabric/impl/resource/loader/SafeApiHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.resource.loader; import com.mojang.datafixers.util.Either; diff --git a/fabric-resource-loader-v0/src/testmod/java/net/fabricmc/fabric/test/resource/loader/ResourceLoaderTestImpl.java b/fabric-resource-loader-v0/src/testmod/java/net/fabricmc/fabric/test/resource/loader/ResourceLoaderTestImpl.java index f7ae1189b..109e7bb63 100644 --- a/fabric-resource-loader-v0/src/testmod/java/net/fabricmc/fabric/test/resource/loader/ResourceLoaderTestImpl.java +++ b/fabric-resource-loader-v0/src/testmod/java/net/fabricmc/fabric/test/resource/loader/ResourceLoaderTestImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.test.resource.loader; import net.minecraftforge.api.distmarker.Dist; diff --git a/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/impl/client/screen/MouseExtensions.java b/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/impl/client/screen/MouseExtensions.java index f7e45d915..3542a578f 100644 --- a/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/impl/client/screen/MouseExtensions.java +++ b/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/impl/client/screen/MouseExtensions.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.client.screen; public interface MouseExtensions { diff --git a/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/impl/client/screen/ScreenApiImpl.java b/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/impl/client/screen/ScreenApiImpl.java index e21384059..aa71f491b 100644 --- a/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/impl/client/screen/ScreenApiImpl.java +++ b/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/impl/client/screen/ScreenApiImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.client.screen; import net.minecraftforge.api.distmarker.Dist; diff --git a/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/impl/client/screen/ScreenEventHooks.java b/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/impl/client/screen/ScreenEventHooks.java index 393f49873..86e8da574 100644 --- a/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/impl/client/screen/ScreenEventHooks.java +++ b/fabric-screen-api-v1/src/client/java/net/fabricmc/fabric/impl/client/screen/ScreenEventHooks.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.client.screen; import net.minecraftforge.client.event.ScreenEvent; diff --git a/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/impl/screenhandler/ScreenHandlerImpl.java b/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/impl/screenhandler/ScreenHandlerImpl.java index 5edbac85c..fbb847460 100644 --- a/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/impl/screenhandler/ScreenHandlerImpl.java +++ b/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/impl/screenhandler/ScreenHandlerImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.screenhandler; import net.minecraftforge.fml.common.Mod; diff --git a/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/mixin/screenhandler/NetworkHooksMixin.java b/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/mixin/screenhandler/NetworkHooksMixin.java index 8cfe258ff..1806f3d1a 100644 --- a/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/mixin/screenhandler/NetworkHooksMixin.java +++ b/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/mixin/screenhandler/NetworkHooksMixin.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.mixin.screenhandler; import java.util.function.Consumer; diff --git a/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/mixin/screenhandler/SimpleNamedScreenHandlerFactoryAccessor.java b/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/mixin/screenhandler/SimpleNamedScreenHandlerFactoryAccessor.java index 1fc8a99a2..ba298dcd1 100644 --- a/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/mixin/screenhandler/SimpleNamedScreenHandlerFactoryAccessor.java +++ b/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/mixin/screenhandler/SimpleNamedScreenHandlerFactoryAccessor.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.mixin.screenhandler; import org.spongepowered.asm.mixin.Mixin; diff --git a/fabric-sound-api-v1/src/client/java/net/fabricmc/fabric/impl/client/sound/SoundsImpl.java b/fabric-sound-api-v1/src/client/java/net/fabricmc/fabric/impl/client/sound/SoundsImpl.java index 78ddde1af..4c5dc1879 100644 --- a/fabric-sound-api-v1/src/client/java/net/fabricmc/fabric/impl/client/sound/SoundsImpl.java +++ b/fabric-sound-api-v1/src/client/java/net/fabricmc/fabric/impl/client/sound/SoundsImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.client.sound; import net.minecraftforge.fml.common.Mod; diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/FluidStorageFluidHandler.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/FluidStorageFluidHandler.java index 9b5ffc74d..db3bca1ae 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/FluidStorageFluidHandler.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/FluidStorageFluidHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.transfer.compat; import it.unimi.dsi.fastutil.ints.Int2ObjectMap; diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/FluidStorageFluidHandlerItem.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/FluidStorageFluidHandlerItem.java index 6f54ac7c9..4499c0047 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/FluidStorageFluidHandlerItem.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/FluidStorageFluidHandlerItem.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.transfer.compat; import net.minecraftforge.fluids.capability.IFluidHandlerItem; diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeCompatUtil.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeCompatUtil.java index 2591f73c9..ca27ac052 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeCompatUtil.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeCompatUtil.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.transfer.compat; import net.minecraftforge.fluids.FluidStack; diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeFluidStorage.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeFluidStorage.java index e0e4039bd..a736a0a60 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeFluidStorage.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeFluidStorage.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.transfer.compat; import java.util.ArrayList; diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeFluidView.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeFluidView.java index 89149faf0..922e6979a 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeFluidView.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeFluidView.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.transfer.compat; import net.minecraftforge.fluids.FluidStack; diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeItemStorage.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeItemStorage.java index cbae24914..3e2b91e81 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeItemStorage.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeItemStorage.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.transfer.compat; import java.util.ArrayList; diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeItemView.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeItemView.java index 2607930e3..a070c51d1 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeItemView.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ForgeItemView.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.transfer.compat; import net.minecraftforge.items.IItemHandler; diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ItemStorageItemHandler.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ItemStorageItemHandler.java index 7c1f3a625..446381922 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ItemStorageItemHandler.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/ItemStorageItemHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.transfer.compat; import it.unimi.dsi.fastutil.ints.Int2ObjectMap; diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/SlottedItemStorageItemHandler.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/SlottedItemStorageItemHandler.java index 7e504c23e..211fef1af 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/SlottedItemStorageItemHandler.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/SlottedItemStorageItemHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.transfer.compat; import net.minecraftforge.items.IItemHandler; diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/TransferApiForgeCompat.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/TransferApiForgeCompat.java index c9d338c1a..fe7d6b37a 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/TransferApiForgeCompat.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/compat/TransferApiForgeCompat.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.impl.transfer.compat; import java.util.HashMap; diff --git a/fabric-transfer-api-v1/src/testmod/java/net/fabricmc/fabric/test/transfer/TransferApiTests.java b/fabric-transfer-api-v1/src/testmod/java/net/fabricmc/fabric/test/transfer/TransferApiTests.java index 980abbe24..0e40027da 100644 --- a/fabric-transfer-api-v1/src/testmod/java/net/fabricmc/fabric/test/transfer/TransferApiTests.java +++ b/fabric-transfer-api-v1/src/testmod/java/net/fabricmc/fabric/test/transfer/TransferApiTests.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2016, 2017, 2018, 2019 FabricMC + * + * 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 net.fabricmc.fabric.test.transfer; import net.minecraftforge.api.distmarker.Dist;