diff --git a/HEADER b/HEADER index 6e327003a..ee75f4fdb 100644 --- a/HEADER +++ b/HEADER @@ -1,6 +1,6 @@ This file is part of TechReborn, licensed under the MIT License (MIT). -Copyright (c) 2018 TechReborn +Copyright (c) 2020 TechReborn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/LICENSE.md b/LICENSE.md index 87e03a299..0976e5340 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,4 @@ -Copyright (c) 2018 modmuss50 and Gigabit101 - - +Copyright (c) 2020 TechReborn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -9,17 +7,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - - +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/build.gradle b/build.gradle index e2533fe37..bbf76441e 100644 --- a/build.gradle +++ b/build.gradle @@ -61,12 +61,12 @@ license { group = 'TechReborn' dependencies { - minecraft "com.mojang:minecraft:1.15" - mappings "net.fabricmc:yarn:1.15+build.2:v2" - modImplementation "net.fabricmc:fabric-loader:0.7.2+build.174" + minecraft "com.mojang:minecraft:1.15.1" + mappings "net.fabricmc:yarn:1.15.1+build.24:v2" + modImplementation "net.fabricmc:fabric-loader:0.7.3+build.176" //Fabric api - modImplementation "net.fabricmc.fabric-api:fabric-api:0.4.24+build.279-1.15" + modImplementation "net.fabricmc.fabric-api:fabric-api:0.4.27+build.286-1.15" optionalDependency ("me.shedaniel:RoughlyEnoughItems:3.2.31") optionalDependency ('io.github.cottonmc:LibCD:2.0.1+1.15') diff --git a/src/main/java/techreborn/TechReborn.java b/src/main/java/techreborn/TechReborn.java index 7d089b983..f430e455b 100644 --- a/src/main/java/techreborn/TechReborn.java +++ b/src/main/java/techreborn/TechReborn.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/TechRebornClient.java b/src/main/java/techreborn/TechRebornClient.java index ebe7ce252..49c925ddc 100644 --- a/src/main/java/techreborn/TechRebornClient.java +++ b/src/main/java/techreborn/TechRebornClient.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/api/generator/EFluidGenerator.java b/src/main/java/techreborn/api/generator/EFluidGenerator.java index 1d683691d..47c3e7bb8 100644 --- a/src/main/java/techreborn/api/generator/EFluidGenerator.java +++ b/src/main/java/techreborn/api/generator/EFluidGenerator.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/api/generator/FluidGeneratorRecipe.java b/src/main/java/techreborn/api/generator/FluidGeneratorRecipe.java index 1fab0324f..23fdde02c 100644 --- a/src/main/java/techreborn/api/generator/FluidGeneratorRecipe.java +++ b/src/main/java/techreborn/api/generator/FluidGeneratorRecipe.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/api/generator/FluidGeneratorRecipeList.java b/src/main/java/techreborn/api/generator/FluidGeneratorRecipeList.java index 6de9e4bd2..4120c1bcc 100644 --- a/src/main/java/techreborn/api/generator/FluidGeneratorRecipeList.java +++ b/src/main/java/techreborn/api/generator/FluidGeneratorRecipeList.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/api/generator/GeneratorRecipeHelper.java b/src/main/java/techreborn/api/generator/GeneratorRecipeHelper.java index 366abbb5e..3b8e78268 100644 --- a/src/main/java/techreborn/api/generator/GeneratorRecipeHelper.java +++ b/src/main/java/techreborn/api/generator/GeneratorRecipeHelper.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/api/recipe/ScrapboxRecipeCrafter.java b/src/main/java/techreborn/api/recipe/ScrapboxRecipeCrafter.java index 24372c222..84a086084 100644 --- a/src/main/java/techreborn/api/recipe/ScrapboxRecipeCrafter.java +++ b/src/main/java/techreborn/api/recipe/ScrapboxRecipeCrafter.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/api/recipe/recipes/BlastFurnaceRecipe.java b/src/main/java/techreborn/api/recipe/recipes/BlastFurnaceRecipe.java index f342a5f0c..c6a47feb1 100644 --- a/src/main/java/techreborn/api/recipe/recipes/BlastFurnaceRecipe.java +++ b/src/main/java/techreborn/api/recipe/recipes/BlastFurnaceRecipe.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/api/recipe/recipes/FluidReplicatorRecipe.java b/src/main/java/techreborn/api/recipe/recipes/FluidReplicatorRecipe.java index b9a6ede24..2c85ca446 100644 --- a/src/main/java/techreborn/api/recipe/recipes/FluidReplicatorRecipe.java +++ b/src/main/java/techreborn/api/recipe/recipes/FluidReplicatorRecipe.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/api/recipe/recipes/FusionReactorRecipe.java b/src/main/java/techreborn/api/recipe/recipes/FusionReactorRecipe.java index 156a349d8..040856f70 100644 --- a/src/main/java/techreborn/api/recipe/recipes/FusionReactorRecipe.java +++ b/src/main/java/techreborn/api/recipe/recipes/FusionReactorRecipe.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/api/recipe/recipes/IndustrialGrinderRecipe.java b/src/main/java/techreborn/api/recipe/recipes/IndustrialGrinderRecipe.java index a592e05f5..a45654bc7 100644 --- a/src/main/java/techreborn/api/recipe/recipes/IndustrialGrinderRecipe.java +++ b/src/main/java/techreborn/api/recipe/recipes/IndustrialGrinderRecipe.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/api/recipe/recipes/IndustrialSawmillRecipe.java b/src/main/java/techreborn/api/recipe/recipes/IndustrialSawmillRecipe.java index 7dcf9b88e..5b9d5a302 100644 --- a/src/main/java/techreborn/api/recipe/recipes/IndustrialSawmillRecipe.java +++ b/src/main/java/techreborn/api/recipe/recipes/IndustrialSawmillRecipe.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/api/recipe/recipes/RollingMachineRecipe.java b/src/main/java/techreborn/api/recipe/recipes/RollingMachineRecipe.java index 47c203f1a..e69a32eea 100644 --- a/src/main/java/techreborn/api/recipe/recipes/RollingMachineRecipe.java +++ b/src/main/java/techreborn/api/recipe/recipes/RollingMachineRecipe.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/cable/CableBlockEntity.java b/src/main/java/techreborn/blockentity/cable/CableBlockEntity.java index fd1c778e2..418d1cb2f 100644 --- a/src/main/java/techreborn/blockentity/cable/CableBlockEntity.java +++ b/src/main/java/techreborn/blockentity/cable/CableBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/data/DataDrivenBEProvider.java b/src/main/java/techreborn/blockentity/data/DataDrivenBEProvider.java index df7625503..0761b121a 100644 --- a/src/main/java/techreborn/blockentity/data/DataDrivenBEProvider.java +++ b/src/main/java/techreborn/blockentity/data/DataDrivenBEProvider.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/data/DataDrivenGui.java b/src/main/java/techreborn/blockentity/data/DataDrivenGui.java index 1913fe57d..26267bd65 100644 --- a/src/main/java/techreborn/blockentity/data/DataDrivenGui.java +++ b/src/main/java/techreborn/blockentity/data/DataDrivenGui.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/data/DataDrivenSlot.java b/src/main/java/techreborn/blockentity/data/DataDrivenSlot.java index a8c537a5e..250d7c31a 100644 --- a/src/main/java/techreborn/blockentity/data/DataDrivenSlot.java +++ b/src/main/java/techreborn/blockentity/data/DataDrivenSlot.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/data/SlotType.java b/src/main/java/techreborn/blockentity/data/SlotType.java index 7aa1c64b0..eb9813ab9 100644 --- a/src/main/java/techreborn/blockentity/data/SlotType.java +++ b/src/main/java/techreborn/blockentity/data/SlotType.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/generator/BaseFluidGeneratorBlockEntity.java b/src/main/java/techreborn/blockentity/generator/BaseFluidGeneratorBlockEntity.java index 003b794fd..4041bec6d 100644 --- a/src/main/java/techreborn/blockentity/generator/BaseFluidGeneratorBlockEntity.java +++ b/src/main/java/techreborn/blockentity/generator/BaseFluidGeneratorBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/generator/LightningRodBlockEntity.java b/src/main/java/techreborn/blockentity/generator/LightningRodBlockEntity.java index 2d96394c0..1af7231ae 100644 --- a/src/main/java/techreborn/blockentity/generator/LightningRodBlockEntity.java +++ b/src/main/java/techreborn/blockentity/generator/LightningRodBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/generator/PlasmaGeneratorBlockEntity.java b/src/main/java/techreborn/blockentity/generator/PlasmaGeneratorBlockEntity.java index 7904078bb..8a1ec0c95 100644 --- a/src/main/java/techreborn/blockentity/generator/PlasmaGeneratorBlockEntity.java +++ b/src/main/java/techreborn/blockentity/generator/PlasmaGeneratorBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/generator/SolarPanelBlockEntity.java b/src/main/java/techreborn/blockentity/generator/SolarPanelBlockEntity.java index 2998113a5..e8d7c5b90 100644 --- a/src/main/java/techreborn/blockentity/generator/SolarPanelBlockEntity.java +++ b/src/main/java/techreborn/blockentity/generator/SolarPanelBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/generator/advanced/DieselGeneratorBlockEntity.java b/src/main/java/techreborn/blockentity/generator/advanced/DieselGeneratorBlockEntity.java index 172a71a20..bb6f80ef8 100644 --- a/src/main/java/techreborn/blockentity/generator/advanced/DieselGeneratorBlockEntity.java +++ b/src/main/java/techreborn/blockentity/generator/advanced/DieselGeneratorBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/generator/advanced/DragonEggSyphonBlockEntity.java b/src/main/java/techreborn/blockentity/generator/advanced/DragonEggSyphonBlockEntity.java index 5d102c14b..b62287888 100644 --- a/src/main/java/techreborn/blockentity/generator/advanced/DragonEggSyphonBlockEntity.java +++ b/src/main/java/techreborn/blockentity/generator/advanced/DragonEggSyphonBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/generator/advanced/GasTurbineBlockEntity.java b/src/main/java/techreborn/blockentity/generator/advanced/GasTurbineBlockEntity.java index 510950e39..f1654eb74 100644 --- a/src/main/java/techreborn/blockentity/generator/advanced/GasTurbineBlockEntity.java +++ b/src/main/java/techreborn/blockentity/generator/advanced/GasTurbineBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/generator/advanced/SemiFluidGeneratorBlockEntity.java b/src/main/java/techreborn/blockentity/generator/advanced/SemiFluidGeneratorBlockEntity.java index 3279c0422..d016a72ea 100644 --- a/src/main/java/techreborn/blockentity/generator/advanced/SemiFluidGeneratorBlockEntity.java +++ b/src/main/java/techreborn/blockentity/generator/advanced/SemiFluidGeneratorBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/generator/advanced/ThermalGeneratorBlockEntity.java b/src/main/java/techreborn/blockentity/generator/advanced/ThermalGeneratorBlockEntity.java index 02e7e739f..9cf30b204 100644 --- a/src/main/java/techreborn/blockentity/generator/advanced/ThermalGeneratorBlockEntity.java +++ b/src/main/java/techreborn/blockentity/generator/advanced/ThermalGeneratorBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/generator/basic/SolidFuelGeneratorBlockEntity.java b/src/main/java/techreborn/blockentity/generator/basic/SolidFuelGeneratorBlockEntity.java index b403be7c6..b8b227d27 100644 --- a/src/main/java/techreborn/blockentity/generator/basic/SolidFuelGeneratorBlockEntity.java +++ b/src/main/java/techreborn/blockentity/generator/basic/SolidFuelGeneratorBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/generator/basic/WaterMillBlockEntity.java b/src/main/java/techreborn/blockentity/generator/basic/WaterMillBlockEntity.java index b5ce16e4a..fc13a6bc0 100644 --- a/src/main/java/techreborn/blockentity/generator/basic/WaterMillBlockEntity.java +++ b/src/main/java/techreborn/blockentity/generator/basic/WaterMillBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/generator/basic/WindMillBlockEntity.java b/src/main/java/techreborn/blockentity/generator/basic/WindMillBlockEntity.java index 41abe404c..37e808012 100644 --- a/src/main/java/techreborn/blockentity/generator/basic/WindMillBlockEntity.java +++ b/src/main/java/techreborn/blockentity/generator/basic/WindMillBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/lighting/LampBlockEntity.java b/src/main/java/techreborn/blockentity/lighting/LampBlockEntity.java index 36ddbea73..224fa9c62 100644 --- a/src/main/java/techreborn/blockentity/lighting/LampBlockEntity.java +++ b/src/main/java/techreborn/blockentity/lighting/LampBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/GenericMachineBlockEntity.java b/src/main/java/techreborn/blockentity/machine/GenericMachineBlockEntity.java index 814c39245..372fec70d 100644 --- a/src/main/java/techreborn/blockentity/machine/GenericMachineBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/GenericMachineBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/iron/AbstractIronMachineBlockEntity.java b/src/main/java/techreborn/blockentity/machine/iron/AbstractIronMachineBlockEntity.java index bc3048f92..734563f78 100644 --- a/src/main/java/techreborn/blockentity/machine/iron/AbstractIronMachineBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/iron/AbstractIronMachineBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/iron/IronAlloyFurnaceBlockEntity.java b/src/main/java/techreborn/blockentity/machine/iron/IronAlloyFurnaceBlockEntity.java index 33d28929f..c3f8da706 100644 --- a/src/main/java/techreborn/blockentity/machine/iron/IronAlloyFurnaceBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/iron/IronAlloyFurnaceBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/iron/IronFurnaceBlockEntity.java b/src/main/java/techreborn/blockentity/machine/iron/IronFurnaceBlockEntity.java index 3a0c97f64..4cc0a1592 100644 --- a/src/main/java/techreborn/blockentity/machine/iron/IronFurnaceBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/iron/IronFurnaceBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/misc/AlarmBlockEntity.java b/src/main/java/techreborn/blockentity/machine/misc/AlarmBlockEntity.java index 046325b08..1c9805b25 100644 --- a/src/main/java/techreborn/blockentity/machine/misc/AlarmBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/misc/AlarmBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/misc/ChargeOMatBlockEntity.java b/src/main/java/techreborn/blockentity/machine/misc/ChargeOMatBlockEntity.java index c294141da..4a716d51f 100644 --- a/src/main/java/techreborn/blockentity/machine/misc/ChargeOMatBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/misc/ChargeOMatBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/multiblock/DistillationTowerBlockEntity.java b/src/main/java/techreborn/blockentity/machine/multiblock/DistillationTowerBlockEntity.java index 3226201af..438cbf391 100644 --- a/src/main/java/techreborn/blockentity/machine/multiblock/DistillationTowerBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/multiblock/DistillationTowerBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/multiblock/FluidReplicatorBlockEntity.java b/src/main/java/techreborn/blockentity/machine/multiblock/FluidReplicatorBlockEntity.java index ab722dc51..270310fe9 100644 --- a/src/main/java/techreborn/blockentity/machine/multiblock/FluidReplicatorBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/multiblock/FluidReplicatorBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/multiblock/FusionControlComputerBlockEntity.java b/src/main/java/techreborn/blockentity/machine/multiblock/FusionControlComputerBlockEntity.java index 0fd1c6838..166319c23 100644 --- a/src/main/java/techreborn/blockentity/machine/multiblock/FusionControlComputerBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/multiblock/FusionControlComputerBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/multiblock/ImplosionCompressorBlockEntity.java b/src/main/java/techreborn/blockentity/machine/multiblock/ImplosionCompressorBlockEntity.java index c49945814..034febd6e 100644 --- a/src/main/java/techreborn/blockentity/machine/multiblock/ImplosionCompressorBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/multiblock/ImplosionCompressorBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/multiblock/IndustrialBlastFurnaceBlockEntity.java b/src/main/java/techreborn/blockentity/machine/multiblock/IndustrialBlastFurnaceBlockEntity.java index f17ece3aa..fd4f42077 100644 --- a/src/main/java/techreborn/blockentity/machine/multiblock/IndustrialBlastFurnaceBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/multiblock/IndustrialBlastFurnaceBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/multiblock/IndustrialGrinderBlockEntity.java b/src/main/java/techreborn/blockentity/machine/multiblock/IndustrialGrinderBlockEntity.java index ae7abb79a..41004dd64 100644 --- a/src/main/java/techreborn/blockentity/machine/multiblock/IndustrialGrinderBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/multiblock/IndustrialGrinderBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/multiblock/IndustrialSawmillBlockEntity.java b/src/main/java/techreborn/blockentity/machine/multiblock/IndustrialSawmillBlockEntity.java index 073664c63..dfaeac680 100644 --- a/src/main/java/techreborn/blockentity/machine/multiblock/IndustrialSawmillBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/multiblock/IndustrialSawmillBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/multiblock/MultiblockChecker.java b/src/main/java/techreborn/blockentity/machine/multiblock/MultiblockChecker.java index e7264a076..a241b080b 100644 --- a/src/main/java/techreborn/blockentity/machine/multiblock/MultiblockChecker.java +++ b/src/main/java/techreborn/blockentity/machine/multiblock/MultiblockChecker.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/multiblock/VacuumFreezerBlockEntity.java b/src/main/java/techreborn/blockentity/machine/multiblock/VacuumFreezerBlockEntity.java index 6e5cb316f..520021276 100644 --- a/src/main/java/techreborn/blockentity/machine/multiblock/VacuumFreezerBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/multiblock/VacuumFreezerBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/multiblock/casing/MachineCasingBlockEntity.java b/src/main/java/techreborn/blockentity/machine/multiblock/casing/MachineCasingBlockEntity.java index bca3b2ba2..11ec3e987 100644 --- a/src/main/java/techreborn/blockentity/machine/multiblock/casing/MachineCasingBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/multiblock/casing/MachineCasingBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier1/AlloySmelterBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier1/AlloySmelterBlockEntity.java index e006c1e0e..ea9fedcc6 100644 --- a/src/main/java/techreborn/blockentity/machine/tier1/AlloySmelterBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier1/AlloySmelterBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier1/AssemblingMachineBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier1/AssemblingMachineBlockEntity.java index dfe4e122e..2394e8351 100644 --- a/src/main/java/techreborn/blockentity/machine/tier1/AssemblingMachineBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier1/AssemblingMachineBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier1/AutoCraftingTableBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier1/AutoCraftingTableBlockEntity.java index cbf084500..6592ffa02 100644 --- a/src/main/java/techreborn/blockentity/machine/tier1/AutoCraftingTableBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier1/AutoCraftingTableBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier1/ChemicalReactorBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier1/ChemicalReactorBlockEntity.java index c566ebb2c..8e5082dc9 100644 --- a/src/main/java/techreborn/blockentity/machine/tier1/ChemicalReactorBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier1/ChemicalReactorBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier1/CompressorBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier1/CompressorBlockEntity.java index fe83210b0..4f3e50c67 100644 --- a/src/main/java/techreborn/blockentity/machine/tier1/CompressorBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier1/CompressorBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier1/ElectricFurnaceBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier1/ElectricFurnaceBlockEntity.java index a810e74b8..b4f420586 100644 --- a/src/main/java/techreborn/blockentity/machine/tier1/ElectricFurnaceBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier1/ElectricFurnaceBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier1/ExtractorBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier1/ExtractorBlockEntity.java index 93dac3d6d..654288ab0 100644 --- a/src/main/java/techreborn/blockentity/machine/tier1/ExtractorBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier1/ExtractorBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier1/GreenhouseControllerBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier1/GreenhouseControllerBlockEntity.java index 97714dc99..edc28487b 100644 --- a/src/main/java/techreborn/blockentity/machine/tier1/GreenhouseControllerBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier1/GreenhouseControllerBlockEntity.java @@ -1,3 +1,27 @@ +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + package techreborn.blockentity.machine.tier1; import net.minecraft.block.*; diff --git a/src/main/java/techreborn/blockentity/machine/tier1/IndustrialElectrolyzerBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier1/IndustrialElectrolyzerBlockEntity.java index e14fc1aa0..5811a6ae9 100644 --- a/src/main/java/techreborn/blockentity/machine/tier1/IndustrialElectrolyzerBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier1/IndustrialElectrolyzerBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier1/PlayerDectectorBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier1/PlayerDectectorBlockEntity.java index b4d4cf5ac..c8a6a30b9 100644 --- a/src/main/java/techreborn/blockentity/machine/tier1/PlayerDectectorBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier1/PlayerDectectorBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier1/RecyclerBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier1/RecyclerBlockEntity.java index 01028b53f..feefd2d60 100644 --- a/src/main/java/techreborn/blockentity/machine/tier1/RecyclerBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier1/RecyclerBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier1/RollingMachineBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier1/RollingMachineBlockEntity.java index 33f7d41e2..58eec059a 100644 --- a/src/main/java/techreborn/blockentity/machine/tier1/RollingMachineBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier1/RollingMachineBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier1/ScrapboxinatorBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier1/ScrapboxinatorBlockEntity.java index d40daf0fe..1647463b5 100644 --- a/src/main/java/techreborn/blockentity/machine/tier1/ScrapboxinatorBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier1/ScrapboxinatorBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier1/SoildCanningMachineBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier1/SoildCanningMachineBlockEntity.java index 9ab2739f5..ba9abc1b2 100644 --- a/src/main/java/techreborn/blockentity/machine/tier1/SoildCanningMachineBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier1/SoildCanningMachineBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier1/WireMillBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier1/WireMillBlockEntity.java index f88023968..43d25c22e 100644 --- a/src/main/java/techreborn/blockentity/machine/tier1/WireMillBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier1/WireMillBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier3/ChunkLoaderBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier3/ChunkLoaderBlockEntity.java index 19c68bf4d..2c7d14e43 100644 --- a/src/main/java/techreborn/blockentity/machine/tier3/ChunkLoaderBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier3/ChunkLoaderBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier3/IndustrialCentrifugeBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier3/IndustrialCentrifugeBlockEntity.java index e24db4c59..7e161ce4c 100644 --- a/src/main/java/techreborn/blockentity/machine/tier3/IndustrialCentrifugeBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier3/IndustrialCentrifugeBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/machine/tier3/MatterFabricatorBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier3/MatterFabricatorBlockEntity.java index 20c59f595..9b3a181a9 100644 --- a/src/main/java/techreborn/blockentity/machine/tier3/MatterFabricatorBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier3/MatterFabricatorBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/storage/energy/AdjustableSUBlockEntity.java b/src/main/java/techreborn/blockentity/storage/energy/AdjustableSUBlockEntity.java index 86857d63b..becda6dab 100644 --- a/src/main/java/techreborn/blockentity/storage/energy/AdjustableSUBlockEntity.java +++ b/src/main/java/techreborn/blockentity/storage/energy/AdjustableSUBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/storage/energy/EnergyStorageBlockEntity.java b/src/main/java/techreborn/blockentity/storage/energy/EnergyStorageBlockEntity.java index c39387d59..9f666740b 100644 --- a/src/main/java/techreborn/blockentity/storage/energy/EnergyStorageBlockEntity.java +++ b/src/main/java/techreborn/blockentity/storage/energy/EnergyStorageBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/storage/energy/HighVoltageSUBlockEntity.java b/src/main/java/techreborn/blockentity/storage/energy/HighVoltageSUBlockEntity.java index a4dbef700..429c5d99e 100644 --- a/src/main/java/techreborn/blockentity/storage/energy/HighVoltageSUBlockEntity.java +++ b/src/main/java/techreborn/blockentity/storage/energy/HighVoltageSUBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/storage/energy/LowVoltageSUBlockEntity.java b/src/main/java/techreborn/blockentity/storage/energy/LowVoltageSUBlockEntity.java index 1c5169505..d1a132f04 100644 --- a/src/main/java/techreborn/blockentity/storage/energy/LowVoltageSUBlockEntity.java +++ b/src/main/java/techreborn/blockentity/storage/energy/LowVoltageSUBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/storage/energy/MediumVoltageSUBlockEntity.java b/src/main/java/techreborn/blockentity/storage/energy/MediumVoltageSUBlockEntity.java index c1450e3fa..d3a20bcdb 100644 --- a/src/main/java/techreborn/blockentity/storage/energy/MediumVoltageSUBlockEntity.java +++ b/src/main/java/techreborn/blockentity/storage/energy/MediumVoltageSUBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/storage/energy/idsu/IDSUManager.java b/src/main/java/techreborn/blockentity/storage/energy/idsu/IDSUManager.java index 2b6763684..d9f42ef2a 100644 --- a/src/main/java/techreborn/blockentity/storage/energy/idsu/IDSUManager.java +++ b/src/main/java/techreborn/blockentity/storage/energy/idsu/IDSUManager.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/storage/energy/idsu/InterdimensionalSUBlockEntity.java b/src/main/java/techreborn/blockentity/storage/energy/idsu/InterdimensionalSUBlockEntity.java index 36c4497c2..4a29053a4 100644 --- a/src/main/java/techreborn/blockentity/storage/energy/idsu/InterdimensionalSUBlockEntity.java +++ b/src/main/java/techreborn/blockentity/storage/energy/idsu/InterdimensionalSUBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/storage/energy/lesu/LSUStorageBlockEntity.java b/src/main/java/techreborn/blockentity/storage/energy/lesu/LSUStorageBlockEntity.java index d910e8ca1..c987c4c6f 100644 --- a/src/main/java/techreborn/blockentity/storage/energy/lesu/LSUStorageBlockEntity.java +++ b/src/main/java/techreborn/blockentity/storage/energy/lesu/LSUStorageBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/storage/energy/lesu/LapotronicSUBlockEntity.java b/src/main/java/techreborn/blockentity/storage/energy/lesu/LapotronicSUBlockEntity.java index bf1c3e530..04f5a1552 100644 --- a/src/main/java/techreborn/blockentity/storage/energy/lesu/LapotronicSUBlockEntity.java +++ b/src/main/java/techreborn/blockentity/storage/energy/lesu/LapotronicSUBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/storage/energy/lesu/LesuNetwork.java b/src/main/java/techreborn/blockentity/storage/energy/lesu/LesuNetwork.java index 5199a53e0..ff7f25b35 100644 --- a/src/main/java/techreborn/blockentity/storage/energy/lesu/LesuNetwork.java +++ b/src/main/java/techreborn/blockentity/storage/energy/lesu/LesuNetwork.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/storage/fluid/CreativeQuantumTankBlockEntity.java b/src/main/java/techreborn/blockentity/storage/fluid/CreativeQuantumTankBlockEntity.java index 8d97a808a..65dd8de26 100644 --- a/src/main/java/techreborn/blockentity/storage/fluid/CreativeQuantumTankBlockEntity.java +++ b/src/main/java/techreborn/blockentity/storage/fluid/CreativeQuantumTankBlockEntity.java @@ -1,3 +1,27 @@ +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + package techreborn.blockentity.storage.fluid; import net.minecraft.block.BlockState; diff --git a/src/main/java/techreborn/blockentity/storage/fluid/QuantumTankBlockEntity.java b/src/main/java/techreborn/blockentity/storage/fluid/QuantumTankBlockEntity.java index c072757e1..f15969042 100644 --- a/src/main/java/techreborn/blockentity/storage/fluid/QuantumTankBlockEntity.java +++ b/src/main/java/techreborn/blockentity/storage/fluid/QuantumTankBlockEntity.java @@ -1,47 +1,71 @@ -package techreborn.blockentity.storage.fluid; - -import net.minecraft.block.BlockState; -import net.minecraft.entity.player.PlayerEntity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.math.BlockPos; -import net.minecraft.world.World; -import reborncore.common.util.Tank; -import techreborn.init.TRBlockEntities; -import techreborn.init.TRContent; - -@Deprecated -public class QuantumTankBlockEntity extends TankUnitBaseBlockEntity { - - // Save - public QuantumTankBlockEntity() { - super(TRBlockEntities.QUANTUM_TANK, TRContent.TankUnit.QUANTUM); - } - - @Override - public void onBreak(World world, PlayerEntity playerEntity, BlockPos blockPos, BlockState blockState) { - inventory.clear(); - } - - @Override - public void tick() { - - if (world.isClient()) { - return; - } - - Tank tank = this.getTank(); - - ItemStack inputSlotStack = getInvStack(0).copy(); - ItemStack outputSlotStack = getInvStack(1).copy(); - inventory.clear(); - - world.setBlockState(pos, TRContent.TankUnit.QUANTUM.block.getDefaultState()); - - TankUnitBaseBlockEntity tankEntity = (TankUnitBaseBlockEntity) world.getBlockEntity(pos); - - tankEntity.setTank(tank); - - tankEntity.setInvStack(0, inputSlotStack); - tankEntity.setInvStack(1, outputSlotStack); - } -} +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +package techreborn.blockentity.storage.fluid; + +import net.minecraft.block.BlockState; +import net.minecraft.entity.player.PlayerEntity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.math.BlockPos; +import net.minecraft.world.World; +import reborncore.common.util.Tank; +import techreborn.init.TRBlockEntities; +import techreborn.init.TRContent; + +@Deprecated +public class QuantumTankBlockEntity extends TankUnitBaseBlockEntity { + + // Save + public QuantumTankBlockEntity() { + super(TRBlockEntities.QUANTUM_TANK, TRContent.TankUnit.QUANTUM); + } + + @Override + public void onBreak(World world, PlayerEntity playerEntity, BlockPos blockPos, BlockState blockState) { + inventory.clear(); + } + + @Override + public void tick() { + + if (world.isClient()) { + return; + } + + Tank tank = this.getTank(); + + ItemStack inputSlotStack = getInvStack(0).copy(); + ItemStack outputSlotStack = getInvStack(1).copy(); + inventory.clear(); + + world.setBlockState(pos, TRContent.TankUnit.QUANTUM.block.getDefaultState()); + + TankUnitBaseBlockEntity tankEntity = (TankUnitBaseBlockEntity) world.getBlockEntity(pos); + + tankEntity.setTank(tank); + + tankEntity.setInvStack(0, inputSlotStack); + tankEntity.setInvStack(1, outputSlotStack); + } +} diff --git a/src/main/java/techreborn/blockentity/storage/fluid/TankUnitBaseBlockEntity.java b/src/main/java/techreborn/blockentity/storage/fluid/TankUnitBaseBlockEntity.java index cbca76bcb..e70a3b5ee 100644 --- a/src/main/java/techreborn/blockentity/storage/fluid/TankUnitBaseBlockEntity.java +++ b/src/main/java/techreborn/blockentity/storage/fluid/TankUnitBaseBlockEntity.java @@ -1,3 +1,27 @@ +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + package techreborn.blockentity.storage.fluid; import net.minecraft.block.entity.BlockEntityType; diff --git a/src/main/java/techreborn/blockentity/storage/item/CreativeQuantumChestBlockEntity.java b/src/main/java/techreborn/blockentity/storage/item/CreativeQuantumChestBlockEntity.java index 13b4e328d..d5a0dbd8a 100644 --- a/src/main/java/techreborn/blockentity/storage/item/CreativeQuantumChestBlockEntity.java +++ b/src/main/java/techreborn/blockentity/storage/item/CreativeQuantumChestBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/storage/item/DigitalChestBlockEntity.java b/src/main/java/techreborn/blockentity/storage/item/DigitalChestBlockEntity.java index f7f835fe3..514c2c5f1 100644 --- a/src/main/java/techreborn/blockentity/storage/item/DigitalChestBlockEntity.java +++ b/src/main/java/techreborn/blockentity/storage/item/DigitalChestBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/storage/item/QuantumChestBlockEntity.java b/src/main/java/techreborn/blockentity/storage/item/QuantumChestBlockEntity.java index 36f119400..d95cb304f 100644 --- a/src/main/java/techreborn/blockentity/storage/item/QuantumChestBlockEntity.java +++ b/src/main/java/techreborn/blockentity/storage/item/QuantumChestBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/storage/item/StorageUnitBaseBlockEntity.java b/src/main/java/techreborn/blockentity/storage/item/StorageUnitBaseBlockEntity.java index da19c5a90..a6cee036a 100644 --- a/src/main/java/techreborn/blockentity/storage/item/StorageUnitBaseBlockEntity.java +++ b/src/main/java/techreborn/blockentity/storage/item/StorageUnitBaseBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/transformers/EVTransformerBlockEntity.java b/src/main/java/techreborn/blockentity/transformers/EVTransformerBlockEntity.java index 5c3ddf18c..6b906fbf0 100644 --- a/src/main/java/techreborn/blockentity/transformers/EVTransformerBlockEntity.java +++ b/src/main/java/techreborn/blockentity/transformers/EVTransformerBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/transformers/HVTransformerBlockEntity.java b/src/main/java/techreborn/blockentity/transformers/HVTransformerBlockEntity.java index dd8ed63b8..350bd3493 100644 --- a/src/main/java/techreborn/blockentity/transformers/HVTransformerBlockEntity.java +++ b/src/main/java/techreborn/blockentity/transformers/HVTransformerBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/transformers/LVTransformerBlockEntity.java b/src/main/java/techreborn/blockentity/transformers/LVTransformerBlockEntity.java index 0693d9cfd..e7eeede5d 100644 --- a/src/main/java/techreborn/blockentity/transformers/LVTransformerBlockEntity.java +++ b/src/main/java/techreborn/blockentity/transformers/LVTransformerBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/transformers/MVTransformerBlockEntity.java b/src/main/java/techreborn/blockentity/transformers/MVTransformerBlockEntity.java index ffa0799be..dea989149 100644 --- a/src/main/java/techreborn/blockentity/transformers/MVTransformerBlockEntity.java +++ b/src/main/java/techreborn/blockentity/transformers/MVTransformerBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blockentity/transformers/TransformerBlockEntity.java b/src/main/java/techreborn/blockentity/transformers/TransformerBlockEntity.java index 1ec1fb7bd..676c2f2f3 100644 --- a/src/main/java/techreborn/blockentity/transformers/TransformerBlockEntity.java +++ b/src/main/java/techreborn/blockentity/transformers/TransformerBlockEntity.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/DataDrivenMachineBlock.java b/src/main/java/techreborn/blocks/DataDrivenMachineBlock.java index cb6923502..3825f87c8 100644 --- a/src/main/java/techreborn/blocks/DataDrivenMachineBlock.java +++ b/src/main/java/techreborn/blocks/DataDrivenMachineBlock.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/GenericMachineBlock.java b/src/main/java/techreborn/blocks/GenericMachineBlock.java index ad885242d..1876655e4 100644 --- a/src/main/java/techreborn/blocks/GenericMachineBlock.java +++ b/src/main/java/techreborn/blocks/GenericMachineBlock.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/cable/CableBlock.java b/src/main/java/techreborn/blocks/cable/CableBlock.java index f2733179d..e25e961c0 100644 --- a/src/main/java/techreborn/blocks/cable/CableBlock.java +++ b/src/main/java/techreborn/blocks/cable/CableBlock.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/cable/CableShapeUtil.java b/src/main/java/techreborn/blocks/cable/CableShapeUtil.java index b0726693c..e822d9a3d 100644 --- a/src/main/java/techreborn/blocks/cable/CableShapeUtil.java +++ b/src/main/java/techreborn/blocks/cable/CableShapeUtil.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/generator/BlockFusionCoil.java b/src/main/java/techreborn/blocks/generator/BlockFusionCoil.java index 00e0e5b60..eb192cd28 100644 --- a/src/main/java/techreborn/blocks/generator/BlockFusionCoil.java +++ b/src/main/java/techreborn/blocks/generator/BlockFusionCoil.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/generator/BlockFusionControlComputer.java b/src/main/java/techreborn/blocks/generator/BlockFusionControlComputer.java index eda064f24..de243b206 100644 --- a/src/main/java/techreborn/blocks/generator/BlockFusionControlComputer.java +++ b/src/main/java/techreborn/blocks/generator/BlockFusionControlComputer.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/generator/BlockMagicEnergyAbsorber.java b/src/main/java/techreborn/blocks/generator/BlockMagicEnergyAbsorber.java index cacd5901b..96aa97bf3 100644 --- a/src/main/java/techreborn/blocks/generator/BlockMagicEnergyAbsorber.java +++ b/src/main/java/techreborn/blocks/generator/BlockMagicEnergyAbsorber.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/generator/BlockMagicEnergyConverter.java b/src/main/java/techreborn/blocks/generator/BlockMagicEnergyConverter.java index b1a517ef6..b931f7338 100644 --- a/src/main/java/techreborn/blocks/generator/BlockMagicEnergyConverter.java +++ b/src/main/java/techreborn/blocks/generator/BlockMagicEnergyConverter.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/generator/BlockSolarPanel.java b/src/main/java/techreborn/blocks/generator/BlockSolarPanel.java index 865ab61c6..8b41f1f35 100644 --- a/src/main/java/techreborn/blocks/generator/BlockSolarPanel.java +++ b/src/main/java/techreborn/blocks/generator/BlockSolarPanel.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/generator/GenericGeneratorBlock.java b/src/main/java/techreborn/blocks/generator/GenericGeneratorBlock.java index 99055b134..be962a622 100644 --- a/src/main/java/techreborn/blocks/generator/GenericGeneratorBlock.java +++ b/src/main/java/techreborn/blocks/generator/GenericGeneratorBlock.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/lighting/BlockLamp.java b/src/main/java/techreborn/blocks/lighting/BlockLamp.java index 8f76c352b..d1dfea36d 100644 --- a/src/main/java/techreborn/blocks/lighting/BlockLamp.java +++ b/src/main/java/techreborn/blocks/lighting/BlockLamp.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/machine/tier0/IronAlloyFurnaceBlock.java b/src/main/java/techreborn/blocks/machine/tier0/IronAlloyFurnaceBlock.java index 1409e8174..d61f86ac9 100644 --- a/src/main/java/techreborn/blocks/machine/tier0/IronAlloyFurnaceBlock.java +++ b/src/main/java/techreborn/blocks/machine/tier0/IronAlloyFurnaceBlock.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/machine/tier0/IronFurnaceBlock.java b/src/main/java/techreborn/blocks/machine/tier0/IronFurnaceBlock.java index a9a3493a4..764b53071 100644 --- a/src/main/java/techreborn/blocks/machine/tier0/IronFurnaceBlock.java +++ b/src/main/java/techreborn/blocks/machine/tier0/IronFurnaceBlock.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/machine/tier1/BlockPlayerDetector.java b/src/main/java/techreborn/blocks/machine/tier1/BlockPlayerDetector.java index e06836f8e..17796bd24 100644 --- a/src/main/java/techreborn/blocks/machine/tier1/BlockPlayerDetector.java +++ b/src/main/java/techreborn/blocks/machine/tier1/BlockPlayerDetector.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/misc/BlockAlarm.java b/src/main/java/techreborn/blocks/misc/BlockAlarm.java index cd0233ae8..fce705239 100644 --- a/src/main/java/techreborn/blocks/misc/BlockAlarm.java +++ b/src/main/java/techreborn/blocks/misc/BlockAlarm.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/misc/BlockComputerCube.java b/src/main/java/techreborn/blocks/misc/BlockComputerCube.java index 8e04ba87b..dc6bdcc94 100644 --- a/src/main/java/techreborn/blocks/misc/BlockComputerCube.java +++ b/src/main/java/techreborn/blocks/misc/BlockComputerCube.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/misc/BlockMachineCasing.java b/src/main/java/techreborn/blocks/misc/BlockMachineCasing.java index e57552210..4b578fdc7 100644 --- a/src/main/java/techreborn/blocks/misc/BlockMachineCasing.java +++ b/src/main/java/techreborn/blocks/misc/BlockMachineCasing.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/misc/BlockMachineFrame.java b/src/main/java/techreborn/blocks/misc/BlockMachineFrame.java index 6b75d5811..50d49b74f 100644 --- a/src/main/java/techreborn/blocks/misc/BlockMachineFrame.java +++ b/src/main/java/techreborn/blocks/misc/BlockMachineFrame.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/misc/BlockNuke.java b/src/main/java/techreborn/blocks/misc/BlockNuke.java index 4aeb9579e..37ba0db91 100644 --- a/src/main/java/techreborn/blocks/misc/BlockNuke.java +++ b/src/main/java/techreborn/blocks/misc/BlockNuke.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/misc/BlockRefinedIronFence.java b/src/main/java/techreborn/blocks/misc/BlockRefinedIronFence.java index 88aa3482e..d94d7f3e1 100644 --- a/src/main/java/techreborn/blocks/misc/BlockRefinedIronFence.java +++ b/src/main/java/techreborn/blocks/misc/BlockRefinedIronFence.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/misc/BlockReinforcedGlass.java b/src/main/java/techreborn/blocks/misc/BlockReinforcedGlass.java index 872a3e6ad..61a0cc572 100644 --- a/src/main/java/techreborn/blocks/misc/BlockReinforcedGlass.java +++ b/src/main/java/techreborn/blocks/misc/BlockReinforcedGlass.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/misc/BlockRubberLeaves.java b/src/main/java/techreborn/blocks/misc/BlockRubberLeaves.java index f3cde08cb..da4f15f03 100644 --- a/src/main/java/techreborn/blocks/misc/BlockRubberLeaves.java +++ b/src/main/java/techreborn/blocks/misc/BlockRubberLeaves.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/misc/BlockRubberLog.java b/src/main/java/techreborn/blocks/misc/BlockRubberLog.java index 1a251733f..7c70ab13b 100644 --- a/src/main/java/techreborn/blocks/misc/BlockRubberLog.java +++ b/src/main/java/techreborn/blocks/misc/BlockRubberLog.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/misc/BlockRubberPlank.java b/src/main/java/techreborn/blocks/misc/BlockRubberPlank.java index 1c898c79d..3d6c03edb 100644 --- a/src/main/java/techreborn/blocks/misc/BlockRubberPlank.java +++ b/src/main/java/techreborn/blocks/misc/BlockRubberPlank.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/misc/BlockRubberPlankStair.java b/src/main/java/techreborn/blocks/misc/BlockRubberPlankStair.java index c0c396929..b23a21ab1 100644 --- a/src/main/java/techreborn/blocks/misc/BlockRubberPlankStair.java +++ b/src/main/java/techreborn/blocks/misc/BlockRubberPlankStair.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/misc/BlockRubberSapling.java b/src/main/java/techreborn/blocks/misc/BlockRubberSapling.java index c7fec4565..c0917ff36 100644 --- a/src/main/java/techreborn/blocks/misc/BlockRubberSapling.java +++ b/src/main/java/techreborn/blocks/misc/BlockRubberSapling.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/misc/BlockStorage.java b/src/main/java/techreborn/blocks/misc/BlockStorage.java index e0abe4ef1..bddc44792 100644 --- a/src/main/java/techreborn/blocks/misc/BlockStorage.java +++ b/src/main/java/techreborn/blocks/misc/BlockStorage.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/misc/BlockSupercondensator.java b/src/main/java/techreborn/blocks/misc/BlockSupercondensator.java index 11cdd17b7..269f881f4 100644 --- a/src/main/java/techreborn/blocks/misc/BlockSupercondensator.java +++ b/src/main/java/techreborn/blocks/misc/BlockSupercondensator.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/misc/RubberButtonBlock.java b/src/main/java/techreborn/blocks/misc/RubberButtonBlock.java index ab21abed7..e6c13c36e 100644 --- a/src/main/java/techreborn/blocks/misc/RubberButtonBlock.java +++ b/src/main/java/techreborn/blocks/misc/RubberButtonBlock.java @@ -1,39 +1,39 @@ -/* - * This file is part of TechReborn, licensed under the MIT License (MIT). - * - * Copyright (c) 2018 TechReborn - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -package techreborn.blocks.misc; - -import net.minecraft.block.WoodButtonBlock; -import techreborn.utils.InitUtils; - -/** - * @author drcrazy - * - */ -public class RubberButtonBlock extends WoodButtonBlock { - - public RubberButtonBlock() { - super(InitUtils.setupRubberBlockSettings(true, 0.5F, 0.5F)); - } -} +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +package techreborn.blocks.misc; + +import net.minecraft.block.WoodButtonBlock; +import techreborn.utils.InitUtils; + +/** + * @author drcrazy + * + */ +public class RubberButtonBlock extends WoodButtonBlock { + + public RubberButtonBlock() { + super(InitUtils.setupRubberBlockSettings(true, 0.5F, 0.5F)); + } +} diff --git a/src/main/java/techreborn/blocks/misc/RubberDoorBlock.java b/src/main/java/techreborn/blocks/misc/RubberDoorBlock.java index 8723b87ee..a12adbd6a 100644 --- a/src/main/java/techreborn/blocks/misc/RubberDoorBlock.java +++ b/src/main/java/techreborn/blocks/misc/RubberDoorBlock.java @@ -1,39 +1,39 @@ -/* - * This file is part of TechReborn, licensed under the MIT License (MIT). - * - * Copyright (c) 2018 TechReborn - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -package techreborn.blocks.misc; - -import net.minecraft.block.DoorBlock; -import techreborn.utils.InitUtils; - -/** - * @author drcrazy - * - */ -public class RubberDoorBlock extends DoorBlock { - - public RubberDoorBlock() { - super(InitUtils.setupRubberBlockSettings(3.0F, 3.0F)); - } -} +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +package techreborn.blocks.misc; + +import net.minecraft.block.DoorBlock; +import techreborn.utils.InitUtils; + +/** + * @author drcrazy + * + */ +public class RubberDoorBlock extends DoorBlock { + + public RubberDoorBlock() { + super(InitUtils.setupRubberBlockSettings(3.0F, 3.0F)); + } +} diff --git a/src/main/java/techreborn/blocks/misc/RubberPressurePlateBlock.java b/src/main/java/techreborn/blocks/misc/RubberPressurePlateBlock.java index 02c956acd..81aab8a50 100644 --- a/src/main/java/techreborn/blocks/misc/RubberPressurePlateBlock.java +++ b/src/main/java/techreborn/blocks/misc/RubberPressurePlateBlock.java @@ -1,40 +1,40 @@ -/* - * This file is part of TechReborn, licensed under the MIT License (MIT). - * - * Copyright (c) 2018 TechReborn - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -package techreborn.blocks.misc; - -import net.minecraft.block.PressurePlateBlock; -import techreborn.utils.InitUtils; - -/** - * @author drcrazy - * - */ -public class RubberPressurePlateBlock extends PressurePlateBlock { - - public RubberPressurePlateBlock() { - super(PressurePlateBlock.ActivationRule.EVERYTHING, InitUtils.setupRubberBlockSettings(true, 0.5F, 0.5F)); - } - -} +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +package techreborn.blocks.misc; + +import net.minecraft.block.PressurePlateBlock; +import techreborn.utils.InitUtils; + +/** + * @author drcrazy + * + */ +public class RubberPressurePlateBlock extends PressurePlateBlock { + + public RubberPressurePlateBlock() { + super(PressurePlateBlock.ActivationRule.EVERYTHING, InitUtils.setupRubberBlockSettings(true, 0.5F, 0.5F)); + } + +} diff --git a/src/main/java/techreborn/blocks/misc/RubberTrapdoorBlock.java b/src/main/java/techreborn/blocks/misc/RubberTrapdoorBlock.java index 8b77fb883..aafce3b81 100644 --- a/src/main/java/techreborn/blocks/misc/RubberTrapdoorBlock.java +++ b/src/main/java/techreborn/blocks/misc/RubberTrapdoorBlock.java @@ -1,39 +1,39 @@ -/* - * This file is part of TechReborn, licensed under the MIT License (MIT). - * - * Copyright (c) 2018 TechReborn - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -package techreborn.blocks.misc; - -import net.minecraft.block.TrapdoorBlock; -import techreborn.utils.InitUtils; - -/** - * @author drcrazy - * - */ -public class RubberTrapdoorBlock extends TrapdoorBlock { - - public RubberTrapdoorBlock() { - super(InitUtils.setupRubberBlockSettings(3.0F, 3.0F)); - } -} +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +package techreborn.blocks.misc; + +import net.minecraft.block.TrapdoorBlock; +import techreborn.utils.InitUtils; + +/** + * @author drcrazy + * + */ +public class RubberTrapdoorBlock extends TrapdoorBlock { + + public RubberTrapdoorBlock() { + super(InitUtils.setupRubberBlockSettings(3.0F, 3.0F)); + } +} diff --git a/src/main/java/techreborn/blocks/storage/OldBlock.java b/src/main/java/techreborn/blocks/storage/OldBlock.java index c72bc2db4..553fd77bc 100644 --- a/src/main/java/techreborn/blocks/storage/OldBlock.java +++ b/src/main/java/techreborn/blocks/storage/OldBlock.java @@ -1,3 +1,27 @@ +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + package techreborn.blocks.storage; import net.minecraft.block.BlockState; diff --git a/src/main/java/techreborn/blocks/storage/energy/AdjustableSUBlock.java b/src/main/java/techreborn/blocks/storage/energy/AdjustableSUBlock.java index 498b39171..c9380c777 100644 --- a/src/main/java/techreborn/blocks/storage/energy/AdjustableSUBlock.java +++ b/src/main/java/techreborn/blocks/storage/energy/AdjustableSUBlock.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/storage/energy/EnergyStorageBlock.java b/src/main/java/techreborn/blocks/storage/energy/EnergyStorageBlock.java index 1cfe77611..2440533bb 100644 --- a/src/main/java/techreborn/blocks/storage/energy/EnergyStorageBlock.java +++ b/src/main/java/techreborn/blocks/storage/energy/EnergyStorageBlock.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/storage/energy/HighVoltageSUBlock.java b/src/main/java/techreborn/blocks/storage/energy/HighVoltageSUBlock.java index 5b3399035..098fdd54f 100644 --- a/src/main/java/techreborn/blocks/storage/energy/HighVoltageSUBlock.java +++ b/src/main/java/techreborn/blocks/storage/energy/HighVoltageSUBlock.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/storage/energy/InterdimensionalSUBlock.java b/src/main/java/techreborn/blocks/storage/energy/InterdimensionalSUBlock.java index 7dca128f7..013a03dd3 100644 --- a/src/main/java/techreborn/blocks/storage/energy/InterdimensionalSUBlock.java +++ b/src/main/java/techreborn/blocks/storage/energy/InterdimensionalSUBlock.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/storage/energy/LSUStorageBlock.java b/src/main/java/techreborn/blocks/storage/energy/LSUStorageBlock.java index 15a46fa8f..bcc2d6be8 100644 --- a/src/main/java/techreborn/blocks/storage/energy/LSUStorageBlock.java +++ b/src/main/java/techreborn/blocks/storage/energy/LSUStorageBlock.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/storage/energy/LapotronicSUBlock.java b/src/main/java/techreborn/blocks/storage/energy/LapotronicSUBlock.java index 793969fd8..dacfb75d4 100644 --- a/src/main/java/techreborn/blocks/storage/energy/LapotronicSUBlock.java +++ b/src/main/java/techreborn/blocks/storage/energy/LapotronicSUBlock.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/storage/energy/LowVoltageSUBlock.java b/src/main/java/techreborn/blocks/storage/energy/LowVoltageSUBlock.java index 96e335155..7a3ba96d0 100644 --- a/src/main/java/techreborn/blocks/storage/energy/LowVoltageSUBlock.java +++ b/src/main/java/techreborn/blocks/storage/energy/LowVoltageSUBlock.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/storage/energy/MediumVoltageSUBlock.java b/src/main/java/techreborn/blocks/storage/energy/MediumVoltageSUBlock.java index 949332826..181ed6903 100644 --- a/src/main/java/techreborn/blocks/storage/energy/MediumVoltageSUBlock.java +++ b/src/main/java/techreborn/blocks/storage/energy/MediumVoltageSUBlock.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/storage/fluid/TankUnitBlock.java b/src/main/java/techreborn/blocks/storage/fluid/TankUnitBlock.java index 3a624d062..00dffd7fa 100644 --- a/src/main/java/techreborn/blocks/storage/fluid/TankUnitBlock.java +++ b/src/main/java/techreborn/blocks/storage/fluid/TankUnitBlock.java @@ -1,29 +1,53 @@ -package techreborn.blocks.storage.fluid; - -import net.minecraft.block.entity.BlockEntity; -import net.minecraft.world.BlockView; -import reborncore.api.blockentity.IMachineGuiHandler; -import reborncore.common.blocks.BlockMachineBase; -import techreborn.blockentity.storage.fluid.TankUnitBaseBlockEntity; -import techreborn.client.EGui; -import techreborn.init.TRContent; - -public class TankUnitBlock extends BlockMachineBase { - - public final TRContent.TankUnit unitType; - - public TankUnitBlock(TRContent.TankUnit unitType) { - super(); - this.unitType = unitType; - } - - @Override - public BlockEntity createBlockEntity(BlockView worldIn) { - return new TankUnitBaseBlockEntity(unitType); - } - - @Override - public IMachineGuiHandler getGui() { - return EGui.TANK_UNIT; - } -} +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +package techreborn.blocks.storage.fluid; + +import net.minecraft.block.entity.BlockEntity; +import net.minecraft.world.BlockView; +import reborncore.api.blockentity.IMachineGuiHandler; +import reborncore.common.blocks.BlockMachineBase; +import techreborn.blockentity.storage.fluid.TankUnitBaseBlockEntity; +import techreborn.client.EGui; +import techreborn.init.TRContent; + +public class TankUnitBlock extends BlockMachineBase { + + public final TRContent.TankUnit unitType; + + public TankUnitBlock(TRContent.TankUnit unitType) { + super(); + this.unitType = unitType; + } + + @Override + public BlockEntity createBlockEntity(BlockView worldIn) { + return new TankUnitBaseBlockEntity(unitType); + } + + @Override + public IMachineGuiHandler getGui() { + return EGui.TANK_UNIT; + } +} diff --git a/src/main/java/techreborn/blocks/storage/item/StorageUnitBlock.java b/src/main/java/techreborn/blocks/storage/item/StorageUnitBlock.java index 08132dd11..0e76c9862 100644 --- a/src/main/java/techreborn/blocks/storage/item/StorageUnitBlock.java +++ b/src/main/java/techreborn/blocks/storage/item/StorageUnitBlock.java @@ -1,61 +1,85 @@ -package techreborn.blocks.storage.item; - -import net.minecraft.block.BlockState; -import net.minecraft.block.entity.BlockEntity; -import net.minecraft.entity.player.PlayerEntity; -import net.minecraft.item.ItemStack; -import net.minecraft.util.ActionResult; -import net.minecraft.util.Hand; -import net.minecraft.util.hit.BlockHitResult; -import net.minecraft.util.math.BlockPos; -import net.minecraft.world.BlockView; -import net.minecraft.world.World; -import reborncore.api.blockentity.IMachineGuiHandler; -import reborncore.common.blocks.BlockMachineBase; -import techreborn.blockentity.storage.item.StorageUnitBaseBlockEntity; -import techreborn.client.EGui; -import techreborn.init.TRContent; - -public class StorageUnitBlock extends BlockMachineBase { - - public final TRContent.StorageUnit unitType; - - public StorageUnitBlock(TRContent.StorageUnit unitType) { - super(); - this.unitType = unitType; - } - - @Override - public BlockEntity createBlockEntity(BlockView worldIn) { - return new StorageUnitBaseBlockEntity(unitType); - } - - @Override - public ActionResult onUse(BlockState state, World worldIn, BlockPos pos, PlayerEntity playerIn, Hand hand, BlockHitResult hitResult) { - if (unitType == TRContent.StorageUnit.CREATIVE) { - return super.onUse(state, worldIn, pos, playerIn, hand, hitResult); - } - - final StorageUnitBaseBlockEntity storageEntity = (StorageUnitBaseBlockEntity) worldIn.getBlockEntity(pos); - ItemStack stackInHand = playerIn.getStackInHand(Hand.MAIN_HAND); - - if (storageEntity != null && storageEntity.isSameType(stackInHand)) { - - // Add item which is the same type (in users inventory) into storage - for (int i = 0; i < playerIn.inventory.getInvSize() && !storageEntity.isFull(); i++) { - ItemStack curStack = playerIn.inventory.getInvStack(i); - if (storageEntity.isSameType(curStack)) { - playerIn.inventory.setInvStack(i, storageEntity.processInput(curStack)); - } - } - - return ActionResult.SUCCESS; - } - return super.onUse(state, worldIn, pos, playerIn, hand, hitResult); - } - - @Override - public IMachineGuiHandler getGui() { - return EGui.STORAGE_UNIT; - } -} +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +package techreborn.blocks.storage.item; + +import net.minecraft.block.BlockState; +import net.minecraft.block.entity.BlockEntity; +import net.minecraft.entity.player.PlayerEntity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ActionResult; +import net.minecraft.util.Hand; +import net.minecraft.util.hit.BlockHitResult; +import net.minecraft.util.math.BlockPos; +import net.minecraft.world.BlockView; +import net.minecraft.world.World; +import reborncore.api.blockentity.IMachineGuiHandler; +import reborncore.common.blocks.BlockMachineBase; +import techreborn.blockentity.storage.item.StorageUnitBaseBlockEntity; +import techreborn.client.EGui; +import techreborn.init.TRContent; + +public class StorageUnitBlock extends BlockMachineBase { + + public final TRContent.StorageUnit unitType; + + public StorageUnitBlock(TRContent.StorageUnit unitType) { + super(); + this.unitType = unitType; + } + + @Override + public BlockEntity createBlockEntity(BlockView worldIn) { + return new StorageUnitBaseBlockEntity(unitType); + } + + @Override + public ActionResult onUse(BlockState state, World worldIn, BlockPos pos, PlayerEntity playerIn, Hand hand, BlockHitResult hitResult) { + if (unitType == TRContent.StorageUnit.CREATIVE) { + return super.onUse(state, worldIn, pos, playerIn, hand, hitResult); + } + + final StorageUnitBaseBlockEntity storageEntity = (StorageUnitBaseBlockEntity) worldIn.getBlockEntity(pos); + ItemStack stackInHand = playerIn.getStackInHand(Hand.MAIN_HAND); + + if (storageEntity != null && storageEntity.isSameType(stackInHand)) { + + // Add item which is the same type (in users inventory) into storage + for (int i = 0; i < playerIn.inventory.getInvSize() && !storageEntity.isFull(); i++) { + ItemStack curStack = playerIn.inventory.getInvStack(i); + if (storageEntity.isSameType(curStack)) { + playerIn.inventory.setInvStack(i, storageEntity.processInput(curStack)); + } + } + + return ActionResult.SUCCESS; + } + return super.onUse(state, worldIn, pos, playerIn, hand, hitResult); + } + + @Override + public IMachineGuiHandler getGui() { + return EGui.STORAGE_UNIT; + } +} diff --git a/src/main/java/techreborn/blocks/transformers/BlockEVTransformer.java b/src/main/java/techreborn/blocks/transformers/BlockEVTransformer.java index 3170f22a5..e06924890 100644 --- a/src/main/java/techreborn/blocks/transformers/BlockEVTransformer.java +++ b/src/main/java/techreborn/blocks/transformers/BlockEVTransformer.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/transformers/BlockHVTransformer.java b/src/main/java/techreborn/blocks/transformers/BlockHVTransformer.java index adef01ad7..4ec857179 100644 --- a/src/main/java/techreborn/blocks/transformers/BlockHVTransformer.java +++ b/src/main/java/techreborn/blocks/transformers/BlockHVTransformer.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/transformers/BlockLVTransformer.java b/src/main/java/techreborn/blocks/transformers/BlockLVTransformer.java index be7a31390..7d117c7a9 100644 --- a/src/main/java/techreborn/blocks/transformers/BlockLVTransformer.java +++ b/src/main/java/techreborn/blocks/transformers/BlockLVTransformer.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/transformers/BlockMVTransformer.java b/src/main/java/techreborn/blocks/transformers/BlockMVTransformer.java index 39b07c82b..21da9e75b 100644 --- a/src/main/java/techreborn/blocks/transformers/BlockMVTransformer.java +++ b/src/main/java/techreborn/blocks/transformers/BlockMVTransformer.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/blocks/transformers/BlockTransformer.java b/src/main/java/techreborn/blocks/transformers/BlockTransformer.java index 4dd665896..b657aa93d 100644 --- a/src/main/java/techreborn/blocks/transformers/BlockTransformer.java +++ b/src/main/java/techreborn/blocks/transformers/BlockTransformer.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/ClientEventHandler.java b/src/main/java/techreborn/client/ClientEventHandler.java index a16942d54..1f76b6a60 100644 --- a/src/main/java/techreborn/client/ClientEventHandler.java +++ b/src/main/java/techreborn/client/ClientEventHandler.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/EGui.java b/src/main/java/techreborn/client/EGui.java index cab893af0..f9668761f 100644 --- a/src/main/java/techreborn/client/EGui.java +++ b/src/main/java/techreborn/client/EGui.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/GuiHandler.java b/src/main/java/techreborn/client/GuiHandler.java index d750d0a80..b2a3c8cf0 100644 --- a/src/main/java/techreborn/client/GuiHandler.java +++ b/src/main/java/techreborn/client/GuiHandler.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/container/ContainerDestructoPack.java b/src/main/java/techreborn/client/container/ContainerDestructoPack.java index 67d55aa03..64b20b320 100644 --- a/src/main/java/techreborn/client/container/ContainerDestructoPack.java +++ b/src/main/java/techreborn/client/container/ContainerDestructoPack.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/container/builder/slot/FurnaceFuelSlot.java b/src/main/java/techreborn/client/container/builder/slot/FurnaceFuelSlot.java index 66ce6637a..43184fd9c 100644 --- a/src/main/java/techreborn/client/container/builder/slot/FurnaceFuelSlot.java +++ b/src/main/java/techreborn/client/container/builder/slot/FurnaceFuelSlot.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiAESU.java b/src/main/java/techreborn/client/gui/GuiAESU.java index 38b3398c5..8f532e9f6 100644 --- a/src/main/java/techreborn/client/gui/GuiAESU.java +++ b/src/main/java/techreborn/client/gui/GuiAESU.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiAlloyFurnace.java b/src/main/java/techreborn/client/gui/GuiAlloyFurnace.java index f5745f871..6be2bd1dc 100644 --- a/src/main/java/techreborn/client/gui/GuiAlloyFurnace.java +++ b/src/main/java/techreborn/client/gui/GuiAlloyFurnace.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiAlloySmelter.java b/src/main/java/techreborn/client/gui/GuiAlloySmelter.java index 015d3f236..289116fce 100644 --- a/src/main/java/techreborn/client/gui/GuiAlloySmelter.java +++ b/src/main/java/techreborn/client/gui/GuiAlloySmelter.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiAssemblingMachine.java b/src/main/java/techreborn/client/gui/GuiAssemblingMachine.java index ed9fa193a..cfae93744 100644 --- a/src/main/java/techreborn/client/gui/GuiAssemblingMachine.java +++ b/src/main/java/techreborn/client/gui/GuiAssemblingMachine.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiAutoCrafting.java b/src/main/java/techreborn/client/gui/GuiAutoCrafting.java index 9656e952d..b19ff9388 100644 --- a/src/main/java/techreborn/client/gui/GuiAutoCrafting.java +++ b/src/main/java/techreborn/client/gui/GuiAutoCrafting.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiBatbox.java b/src/main/java/techreborn/client/gui/GuiBatbox.java index 1b7e14c72..fbaa79def 100644 --- a/src/main/java/techreborn/client/gui/GuiBatbox.java +++ b/src/main/java/techreborn/client/gui/GuiBatbox.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiBlastFurnace.java b/src/main/java/techreborn/client/gui/GuiBlastFurnace.java index 38f5bbcdb..58506973a 100644 --- a/src/main/java/techreborn/client/gui/GuiBlastFurnace.java +++ b/src/main/java/techreborn/client/gui/GuiBlastFurnace.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiCentrifuge.java b/src/main/java/techreborn/client/gui/GuiCentrifuge.java index 84942e5ae..1be316872 100644 --- a/src/main/java/techreborn/client/gui/GuiCentrifuge.java +++ b/src/main/java/techreborn/client/gui/GuiCentrifuge.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiChargeBench.java b/src/main/java/techreborn/client/gui/GuiChargeBench.java index 065053d6f..c644dccf2 100644 --- a/src/main/java/techreborn/client/gui/GuiChargeBench.java +++ b/src/main/java/techreborn/client/gui/GuiChargeBench.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiChemicalReactor.java b/src/main/java/techreborn/client/gui/GuiChemicalReactor.java index fed2dfce5..4d3bb09c8 100644 --- a/src/main/java/techreborn/client/gui/GuiChemicalReactor.java +++ b/src/main/java/techreborn/client/gui/GuiChemicalReactor.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiChunkLoader.java b/src/main/java/techreborn/client/gui/GuiChunkLoader.java index 209b651c7..8c39c4424 100644 --- a/src/main/java/techreborn/client/gui/GuiChunkLoader.java +++ b/src/main/java/techreborn/client/gui/GuiChunkLoader.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiCompressor.java b/src/main/java/techreborn/client/gui/GuiCompressor.java index d0d699d99..0ff55a331 100644 --- a/src/main/java/techreborn/client/gui/GuiCompressor.java +++ b/src/main/java/techreborn/client/gui/GuiCompressor.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiDieselGenerator.java b/src/main/java/techreborn/client/gui/GuiDieselGenerator.java index 0c3715a19..3a48690ab 100644 --- a/src/main/java/techreborn/client/gui/GuiDieselGenerator.java +++ b/src/main/java/techreborn/client/gui/GuiDieselGenerator.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiDistillationTower.java b/src/main/java/techreborn/client/gui/GuiDistillationTower.java index a23a96e19..c8fa87970 100644 --- a/src/main/java/techreborn/client/gui/GuiDistillationTower.java +++ b/src/main/java/techreborn/client/gui/GuiDistillationTower.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiElectricFurnace.java b/src/main/java/techreborn/client/gui/GuiElectricFurnace.java index 892aec972..278536cdc 100644 --- a/src/main/java/techreborn/client/gui/GuiElectricFurnace.java +++ b/src/main/java/techreborn/client/gui/GuiElectricFurnace.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiExtractor.java b/src/main/java/techreborn/client/gui/GuiExtractor.java index 5058e6dfa..4268663d7 100644 --- a/src/main/java/techreborn/client/gui/GuiExtractor.java +++ b/src/main/java/techreborn/client/gui/GuiExtractor.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiFluidReplicator.java b/src/main/java/techreborn/client/gui/GuiFluidReplicator.java index 5357a15e3..f077a75ba 100644 --- a/src/main/java/techreborn/client/gui/GuiFluidReplicator.java +++ b/src/main/java/techreborn/client/gui/GuiFluidReplicator.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiFusionReactor.java b/src/main/java/techreborn/client/gui/GuiFusionReactor.java index 08ae05cd4..126bcac4a 100644 --- a/src/main/java/techreborn/client/gui/GuiFusionReactor.java +++ b/src/main/java/techreborn/client/gui/GuiFusionReactor.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiGasTurbine.java b/src/main/java/techreborn/client/gui/GuiGasTurbine.java index 1819b638a..e93f10f6c 100644 --- a/src/main/java/techreborn/client/gui/GuiGasTurbine.java +++ b/src/main/java/techreborn/client/gui/GuiGasTurbine.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiGenerator.java b/src/main/java/techreborn/client/gui/GuiGenerator.java index afd6de919..c8992eb4f 100644 --- a/src/main/java/techreborn/client/gui/GuiGenerator.java +++ b/src/main/java/techreborn/client/gui/GuiGenerator.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiGreenhouseController.java b/src/main/java/techreborn/client/gui/GuiGreenhouseController.java index ac739c3df..58cd48c9f 100644 --- a/src/main/java/techreborn/client/gui/GuiGreenhouseController.java +++ b/src/main/java/techreborn/client/gui/GuiGreenhouseController.java @@ -1,3 +1,27 @@ +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + package techreborn.client.gui; import com.mojang.blaze3d.systems.RenderSystem; diff --git a/src/main/java/techreborn/client/gui/GuiIDSU.java b/src/main/java/techreborn/client/gui/GuiIDSU.java index e83170c1e..a386076fc 100644 --- a/src/main/java/techreborn/client/gui/GuiIDSU.java +++ b/src/main/java/techreborn/client/gui/GuiIDSU.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiImplosionCompressor.java b/src/main/java/techreborn/client/gui/GuiImplosionCompressor.java index d97950717..4c4c66da9 100644 --- a/src/main/java/techreborn/client/gui/GuiImplosionCompressor.java +++ b/src/main/java/techreborn/client/gui/GuiImplosionCompressor.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiIndustrialElectrolyzer.java b/src/main/java/techreborn/client/gui/GuiIndustrialElectrolyzer.java index 0a760078b..b492cb3ed 100644 --- a/src/main/java/techreborn/client/gui/GuiIndustrialElectrolyzer.java +++ b/src/main/java/techreborn/client/gui/GuiIndustrialElectrolyzer.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiIndustrialGrinder.java b/src/main/java/techreborn/client/gui/GuiIndustrialGrinder.java index f41034bc3..838f409f7 100644 --- a/src/main/java/techreborn/client/gui/GuiIndustrialGrinder.java +++ b/src/main/java/techreborn/client/gui/GuiIndustrialGrinder.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiIndustrialSawmill.java b/src/main/java/techreborn/client/gui/GuiIndustrialSawmill.java index eb0b1ae15..463ad058c 100644 --- a/src/main/java/techreborn/client/gui/GuiIndustrialSawmill.java +++ b/src/main/java/techreborn/client/gui/GuiIndustrialSawmill.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiIronFurnace.java b/src/main/java/techreborn/client/gui/GuiIronFurnace.java index 7cadafff3..4aaf7b789 100644 --- a/src/main/java/techreborn/client/gui/GuiIronFurnace.java +++ b/src/main/java/techreborn/client/gui/GuiIronFurnace.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiLESU.java b/src/main/java/techreborn/client/gui/GuiLESU.java index 09e0e572f..4df936e03 100644 --- a/src/main/java/techreborn/client/gui/GuiLESU.java +++ b/src/main/java/techreborn/client/gui/GuiLESU.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiMFE.java b/src/main/java/techreborn/client/gui/GuiMFE.java index 6b2425cab..a03f56056 100644 --- a/src/main/java/techreborn/client/gui/GuiMFE.java +++ b/src/main/java/techreborn/client/gui/GuiMFE.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiMFSU.java b/src/main/java/techreborn/client/gui/GuiMFSU.java index a9ef0e1e2..6df35833a 100644 --- a/src/main/java/techreborn/client/gui/GuiMFSU.java +++ b/src/main/java/techreborn/client/gui/GuiMFSU.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiManual.java b/src/main/java/techreborn/client/gui/GuiManual.java index 51001cba9..267eb54a2 100644 --- a/src/main/java/techreborn/client/gui/GuiManual.java +++ b/src/main/java/techreborn/client/gui/GuiManual.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiMatterFabricator.java b/src/main/java/techreborn/client/gui/GuiMatterFabricator.java index 7b9f7e9b8..91e0d4187 100644 --- a/src/main/java/techreborn/client/gui/GuiMatterFabricator.java +++ b/src/main/java/techreborn/client/gui/GuiMatterFabricator.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiPlasmaGenerator.java b/src/main/java/techreborn/client/gui/GuiPlasmaGenerator.java index 502cb0ca6..b6630a1b4 100644 --- a/src/main/java/techreborn/client/gui/GuiPlasmaGenerator.java +++ b/src/main/java/techreborn/client/gui/GuiPlasmaGenerator.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiRecycler.java b/src/main/java/techreborn/client/gui/GuiRecycler.java index a359ab187..00d032073 100644 --- a/src/main/java/techreborn/client/gui/GuiRecycler.java +++ b/src/main/java/techreborn/client/gui/GuiRecycler.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiRollingMachine.java b/src/main/java/techreborn/client/gui/GuiRollingMachine.java index f69f9e8e9..3812abf5f 100644 --- a/src/main/java/techreborn/client/gui/GuiRollingMachine.java +++ b/src/main/java/techreborn/client/gui/GuiRollingMachine.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiScrapboxinator.java b/src/main/java/techreborn/client/gui/GuiScrapboxinator.java index 338f83666..e83cac2a2 100644 --- a/src/main/java/techreborn/client/gui/GuiScrapboxinator.java +++ b/src/main/java/techreborn/client/gui/GuiScrapboxinator.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiSemifluidGenerator.java b/src/main/java/techreborn/client/gui/GuiSemifluidGenerator.java index 59807d740..bff92e552 100644 --- a/src/main/java/techreborn/client/gui/GuiSemifluidGenerator.java +++ b/src/main/java/techreborn/client/gui/GuiSemifluidGenerator.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiSolar.java b/src/main/java/techreborn/client/gui/GuiSolar.java index 1f263c759..a64621391 100644 --- a/src/main/java/techreborn/client/gui/GuiSolar.java +++ b/src/main/java/techreborn/client/gui/GuiSolar.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiSolidCanningMachine.java b/src/main/java/techreborn/client/gui/GuiSolidCanningMachine.java index 9145ba931..2f4c899a6 100644 --- a/src/main/java/techreborn/client/gui/GuiSolidCanningMachine.java +++ b/src/main/java/techreborn/client/gui/GuiSolidCanningMachine.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiStorageUnit.java b/src/main/java/techreborn/client/gui/GuiStorageUnit.java index 32bcab4b0..48d6e8527 100644 --- a/src/main/java/techreborn/client/gui/GuiStorageUnit.java +++ b/src/main/java/techreborn/client/gui/GuiStorageUnit.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiTankUnit.java b/src/main/java/techreborn/client/gui/GuiTankUnit.java index 1b6cdd42c..e273c2b33 100644 --- a/src/main/java/techreborn/client/gui/GuiTankUnit.java +++ b/src/main/java/techreborn/client/gui/GuiTankUnit.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiThermalGenerator.java b/src/main/java/techreborn/client/gui/GuiThermalGenerator.java index 5b8fcbe21..8325fb63a 100644 --- a/src/main/java/techreborn/client/gui/GuiThermalGenerator.java +++ b/src/main/java/techreborn/client/gui/GuiThermalGenerator.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiVacuumFreezer.java b/src/main/java/techreborn/client/gui/GuiVacuumFreezer.java index 70ebcbf57..89a8a6447 100644 --- a/src/main/java/techreborn/client/gui/GuiVacuumFreezer.java +++ b/src/main/java/techreborn/client/gui/GuiVacuumFreezer.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/gui/GuiWireMill.java b/src/main/java/techreborn/client/gui/GuiWireMill.java index 6f5909622..86eeddcc9 100644 --- a/src/main/java/techreborn/client/gui/GuiWireMill.java +++ b/src/main/java/techreborn/client/gui/GuiWireMill.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/keybindings/KeyBindings.java b/src/main/java/techreborn/client/keybindings/KeyBindings.java index 9b25806c9..7c43b72a0 100644 --- a/src/main/java/techreborn/client/keybindings/KeyBindings.java +++ b/src/main/java/techreborn/client/keybindings/KeyBindings.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/render/BaseDynamicFluidBakedModel.java b/src/main/java/techreborn/client/render/BaseDynamicFluidBakedModel.java index 8502aef36..46905c1eb 100644 --- a/src/main/java/techreborn/client/render/BaseDynamicFluidBakedModel.java +++ b/src/main/java/techreborn/client/render/BaseDynamicFluidBakedModel.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/render/DynamicBucketBakedModel.java b/src/main/java/techreborn/client/render/DynamicBucketBakedModel.java index bd8074645..19d2d49fe 100644 --- a/src/main/java/techreborn/client/render/DynamicBucketBakedModel.java +++ b/src/main/java/techreborn/client/render/DynamicBucketBakedModel.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/render/DynamicCellBakedModel.java b/src/main/java/techreborn/client/render/DynamicCellBakedModel.java index 299102061..bfcfd9d44 100644 --- a/src/main/java/techreborn/client/render/DynamicCellBakedModel.java +++ b/src/main/java/techreborn/client/render/DynamicCellBakedModel.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/render/ModelHelper.java b/src/main/java/techreborn/client/render/ModelHelper.java index c209a175d..93ca0f485 100644 --- a/src/main/java/techreborn/client/render/ModelHelper.java +++ b/src/main/java/techreborn/client/render/ModelHelper.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/client/render/entitys/RenderNukePrimed.java b/src/main/java/techreborn/client/render/entitys/RenderNukePrimed.java index 78cc75009..fb6f50c6a 100644 --- a/src/main/java/techreborn/client/render/entitys/RenderNukePrimed.java +++ b/src/main/java/techreborn/client/render/entitys/RenderNukePrimed.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/compat/libcd/LibCDPlugin.java b/src/main/java/techreborn/compat/libcd/LibCDPlugin.java index 0fe94cbfc..876b0014a 100644 --- a/src/main/java/techreborn/compat/libcd/LibCDPlugin.java +++ b/src/main/java/techreborn/compat/libcd/LibCDPlugin.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/compat/libcd/TRRecipeParser.java b/src/main/java/techreborn/compat/libcd/TRRecipeParser.java index e076ee8e5..33ca3c4cb 100644 --- a/src/main/java/techreborn/compat/libcd/TRRecipeParser.java +++ b/src/main/java/techreborn/compat/libcd/TRRecipeParser.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/compat/libcd/TRTweaker.java b/src/main/java/techreborn/compat/libcd/TRTweaker.java index cfcbee280..0ff6f61be 100644 --- a/src/main/java/techreborn/compat/libcd/TRTweaker.java +++ b/src/main/java/techreborn/compat/libcd/TRTweaker.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/compat/rei/MachineRecipeCategory.java b/src/main/java/techreborn/compat/rei/MachineRecipeCategory.java index 77f5b4ada..ad17cde74 100644 --- a/src/main/java/techreborn/compat/rei/MachineRecipeCategory.java +++ b/src/main/java/techreborn/compat/rei/MachineRecipeCategory.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/compat/rei/MachineRecipeDisplay.java b/src/main/java/techreborn/compat/rei/MachineRecipeDisplay.java index d2dc4b139..403a07f00 100644 --- a/src/main/java/techreborn/compat/rei/MachineRecipeDisplay.java +++ b/src/main/java/techreborn/compat/rei/MachineRecipeDisplay.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/compat/rei/ReiPlugin.java b/src/main/java/techreborn/compat/rei/ReiPlugin.java index f23fd6d92..7503a983b 100644 --- a/src/main/java/techreborn/compat/rei/ReiPlugin.java +++ b/src/main/java/techreborn/compat/rei/ReiPlugin.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/compat/rei/fluidgenerator/FluidGeneratorRecipeCategory.java b/src/main/java/techreborn/compat/rei/fluidgenerator/FluidGeneratorRecipeCategory.java index 13117e21f..801d96172 100644 --- a/src/main/java/techreborn/compat/rei/fluidgenerator/FluidGeneratorRecipeCategory.java +++ b/src/main/java/techreborn/compat/rei/fluidgenerator/FluidGeneratorRecipeCategory.java @@ -1,3 +1,27 @@ +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + package techreborn.compat.rei.fluidgenerator; import me.shedaniel.math.api.Point; diff --git a/src/main/java/techreborn/compat/rei/fluidgenerator/FluidGeneratorRecipeDisplay.java b/src/main/java/techreborn/compat/rei/fluidgenerator/FluidGeneratorRecipeDisplay.java index d020085fa..aa5cebe5d 100644 --- a/src/main/java/techreborn/compat/rei/fluidgenerator/FluidGeneratorRecipeDisplay.java +++ b/src/main/java/techreborn/compat/rei/fluidgenerator/FluidGeneratorRecipeDisplay.java @@ -1,3 +1,27 @@ +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + package techreborn.compat.rei.fluidgenerator; import com.google.common.collect.Lists; diff --git a/src/main/java/techreborn/compat/rei/fluidreplicator/FluidReplicatorRecipeCategory.java b/src/main/java/techreborn/compat/rei/fluidreplicator/FluidReplicatorRecipeCategory.java index 705339999..f01bae8c3 100644 --- a/src/main/java/techreborn/compat/rei/fluidreplicator/FluidReplicatorRecipeCategory.java +++ b/src/main/java/techreborn/compat/rei/fluidreplicator/FluidReplicatorRecipeCategory.java @@ -1,98 +1,98 @@ -/* - * This file is part of TechReborn, licensed under the MIT License (MIT). - * - * Copyright (c) 2018 TechReborn - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -package techreborn.compat.rei.fluidreplicator; - -import me.shedaniel.math.api.Point; -import me.shedaniel.math.api.Rectangle; -import me.shedaniel.rei.api.EntryStack; -import me.shedaniel.rei.api.RecipeCategory; -import me.shedaniel.rei.gui.widget.*; -import me.shedaniel.rei.impl.ScreenHelper; -import net.minecraft.item.Items; -import net.minecraft.text.Text; -import net.minecraft.text.TranslatableText; -import net.minecraft.util.Identifier; -import reborncore.common.crafting.RebornRecipeType; -import reborncore.common.util.StringUtils; -import techreborn.api.recipe.recipes.FluidReplicatorRecipe; -import techreborn.compat.rei.ReiPlugin; - -import java.util.LinkedList; -import java.util.List; -import java.util.function.Supplier; - -public class FluidReplicatorRecipeCategory implements RecipeCategory { - - private final RebornRecipeType rebornRecipeType; - - public FluidReplicatorRecipeCategory(RebornRecipeType recipeType) { - this.rebornRecipeType = recipeType; - - } - - @Override - public Identifier getIdentifier() { - return rebornRecipeType.getName(); - } - - @Override - public String getCategoryName() { - return StringUtils.t(rebornRecipeType.getName().toString()); - } - - @Override - public EntryStack getLogo() { - return EntryStack.create(ReiPlugin.iconMap.getOrDefault(rebornRecipeType, () -> Items.DIAMOND_SHOVEL)); - } - - @Override - public List setupDisplay(Supplier recipeDisplaySupplier, Rectangle bounds) { - - FluidReplicatorRecipeDisplay machineRecipe = recipeDisplaySupplier.get(); - - Point startPoint = new Point(bounds.getCenterX() - 41, bounds.getCenterY() - 13); - - List widgets = new LinkedList<>(); - widgets.add(new RecipeBaseWidget(bounds)); - widgets.add(new RecipeArrowWidget(startPoint.x + 24, startPoint.y + 1, true)); - - int i = 0; - for (List inputs : machineRecipe.getInputEntries()) { - widgets.add(EntryWidget.create(startPoint.x + 1, startPoint.y + 1 + (i++ * 20)).entries(inputs)); - } - - Text energyPerTick = new TranslatableText("techreborn.jei.recipe.running.cost", "E", machineRecipe.getEnergy()); - LabelWidget costLabel; - widgets.add(costLabel = new LabelWidget(startPoint.x + 1, startPoint.y + 1 + (i++ * 20), energyPerTick.asFormattedString())); - costLabel.setHasShadows(false); - costLabel.setDefaultColor(ScreenHelper.isDarkModeEnabled() ? 0xFFBBBBBB : 0xFF404040); - - if (!machineRecipe.getOutputEntries().isEmpty()) - widgets.add(EntryWidget.create(startPoint.x + 61, startPoint.y + 1).entries(machineRecipe.getOutputEntries())); - - return widgets; - } - -} +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +package techreborn.compat.rei.fluidreplicator; + +import me.shedaniel.math.api.Point; +import me.shedaniel.math.api.Rectangle; +import me.shedaniel.rei.api.EntryStack; +import me.shedaniel.rei.api.RecipeCategory; +import me.shedaniel.rei.gui.widget.*; +import me.shedaniel.rei.impl.ScreenHelper; +import net.minecraft.item.Items; +import net.minecraft.text.Text; +import net.minecraft.text.TranslatableText; +import net.minecraft.util.Identifier; +import reborncore.common.crafting.RebornRecipeType; +import reborncore.common.util.StringUtils; +import techreborn.api.recipe.recipes.FluidReplicatorRecipe; +import techreborn.compat.rei.ReiPlugin; + +import java.util.LinkedList; +import java.util.List; +import java.util.function.Supplier; + +public class FluidReplicatorRecipeCategory implements RecipeCategory { + + private final RebornRecipeType rebornRecipeType; + + public FluidReplicatorRecipeCategory(RebornRecipeType recipeType) { + this.rebornRecipeType = recipeType; + + } + + @Override + public Identifier getIdentifier() { + return rebornRecipeType.getName(); + } + + @Override + public String getCategoryName() { + return StringUtils.t(rebornRecipeType.getName().toString()); + } + + @Override + public EntryStack getLogo() { + return EntryStack.create(ReiPlugin.iconMap.getOrDefault(rebornRecipeType, () -> Items.DIAMOND_SHOVEL)); + } + + @Override + public List setupDisplay(Supplier recipeDisplaySupplier, Rectangle bounds) { + + FluidReplicatorRecipeDisplay machineRecipe = recipeDisplaySupplier.get(); + + Point startPoint = new Point(bounds.getCenterX() - 41, bounds.getCenterY() - 13); + + List widgets = new LinkedList<>(); + widgets.add(new RecipeBaseWidget(bounds)); + widgets.add(new RecipeArrowWidget(startPoint.x + 24, startPoint.y + 1, true)); + + int i = 0; + for (List inputs : machineRecipe.getInputEntries()) { + widgets.add(EntryWidget.create(startPoint.x + 1, startPoint.y + 1 + (i++ * 20)).entries(inputs)); + } + + Text energyPerTick = new TranslatableText("techreborn.jei.recipe.running.cost", "E", machineRecipe.getEnergy()); + LabelWidget costLabel; + widgets.add(costLabel = new LabelWidget(startPoint.x + 1, startPoint.y + 1 + (i++ * 20), energyPerTick.asFormattedString())); + costLabel.setHasShadows(false); + costLabel.setDefaultColor(ScreenHelper.isDarkModeEnabled() ? 0xFFBBBBBB : 0xFF404040); + + if (!machineRecipe.getOutputEntries().isEmpty()) + widgets.add(EntryWidget.create(startPoint.x + 61, startPoint.y + 1).entries(machineRecipe.getOutputEntries())); + + return widgets; + } + +} diff --git a/src/main/java/techreborn/compat/rei/fluidreplicator/FluidReplicatorRecipeDisplay.java b/src/main/java/techreborn/compat/rei/fluidreplicator/FluidReplicatorRecipeDisplay.java index 5ea728dc3..fb3c9dcc4 100644 --- a/src/main/java/techreborn/compat/rei/fluidreplicator/FluidReplicatorRecipeDisplay.java +++ b/src/main/java/techreborn/compat/rei/fluidreplicator/FluidReplicatorRecipeDisplay.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/compat/rei/rollingmachine/RollingMachineCategory.java b/src/main/java/techreborn/compat/rei/rollingmachine/RollingMachineCategory.java index 9f8625159..1b928b0e7 100644 --- a/src/main/java/techreborn/compat/rei/rollingmachine/RollingMachineCategory.java +++ b/src/main/java/techreborn/compat/rei/rollingmachine/RollingMachineCategory.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/compat/rei/rollingmachine/RollingMachineDisplay.java b/src/main/java/techreborn/compat/rei/rollingmachine/RollingMachineDisplay.java index 6e315a8ec..f3da4d80c 100644 --- a/src/main/java/techreborn/compat/rei/rollingmachine/RollingMachineDisplay.java +++ b/src/main/java/techreborn/compat/rei/rollingmachine/RollingMachineDisplay.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/compat/towelette/TowelettePlugin.java b/src/main/java/techreborn/compat/towelette/TowelettePlugin.java index 176ada8f0..3ffedc5a2 100644 --- a/src/main/java/techreborn/compat/towelette/TowelettePlugin.java +++ b/src/main/java/techreborn/compat/towelette/TowelettePlugin.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/config/TechRebornConfig.java b/src/main/java/techreborn/config/TechRebornConfig.java index 0beba6520..3aaf57492 100644 --- a/src/main/java/techreborn/config/TechRebornConfig.java +++ b/src/main/java/techreborn/config/TechRebornConfig.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/entities/EntityNukePrimed.java b/src/main/java/techreborn/entities/EntityNukePrimed.java index 1b19ab721..f2eb6618d 100644 --- a/src/main/java/techreborn/entities/EntityNukePrimed.java +++ b/src/main/java/techreborn/entities/EntityNukePrimed.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/events/ModRegistry.java b/src/main/java/techreborn/events/ModRegistry.java index 6bae198b1..a0b308bb9 100644 --- a/src/main/java/techreborn/events/ModRegistry.java +++ b/src/main/java/techreborn/events/ModRegistry.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/events/StackToolTipHandler.java b/src/main/java/techreborn/events/StackToolTipHandler.java index aa28bef4f..c23ad10fc 100644 --- a/src/main/java/techreborn/events/StackToolTipHandler.java +++ b/src/main/java/techreborn/events/StackToolTipHandler.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/events/TRRecipeHandler.java b/src/main/java/techreborn/events/TRRecipeHandler.java index deb3df61e..7f4951151 100644 --- a/src/main/java/techreborn/events/TRRecipeHandler.java +++ b/src/main/java/techreborn/events/TRRecipeHandler.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/init/FluidGeneratorRecipes.java b/src/main/java/techreborn/init/FluidGeneratorRecipes.java index 1f6747e19..be4613796 100644 --- a/src/main/java/techreborn/init/FluidGeneratorRecipes.java +++ b/src/main/java/techreborn/init/FluidGeneratorRecipes.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/init/ModFluids.java b/src/main/java/techreborn/init/ModFluids.java index ad0176666..1df72a8b9 100644 --- a/src/main/java/techreborn/init/ModFluids.java +++ b/src/main/java/techreborn/init/ModFluids.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/init/ModLoot.java b/src/main/java/techreborn/init/ModLoot.java index 67b249b4e..f10cb78cd 100644 --- a/src/main/java/techreborn/init/ModLoot.java +++ b/src/main/java/techreborn/init/ModLoot.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/init/ModRecipes.java b/src/main/java/techreborn/init/ModRecipes.java index 33cc12d80..55ce231e2 100644 --- a/src/main/java/techreborn/init/ModRecipes.java +++ b/src/main/java/techreborn/init/ModRecipes.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/init/ModSounds.java b/src/main/java/techreborn/init/ModSounds.java index 131dabc6f..4a40e004a 100644 --- a/src/main/java/techreborn/init/ModSounds.java +++ b/src/main/java/techreborn/init/ModSounds.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/init/TRArmorMaterial.java b/src/main/java/techreborn/init/TRArmorMaterial.java index 430fab9c1..a38a6f581 100644 --- a/src/main/java/techreborn/init/TRArmorMaterial.java +++ b/src/main/java/techreborn/init/TRArmorMaterial.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/init/TRBlockEntities.java b/src/main/java/techreborn/init/TRBlockEntities.java index 22fd9ffea..a2d3d40b8 100644 --- a/src/main/java/techreborn/init/TRBlockEntities.java +++ b/src/main/java/techreborn/init/TRBlockEntities.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/init/TRContent.java b/src/main/java/techreborn/init/TRContent.java index 5e2bdebcc..27297cdf3 100644 --- a/src/main/java/techreborn/init/TRContent.java +++ b/src/main/java/techreborn/init/TRContent.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/init/TRToolTier.java b/src/main/java/techreborn/init/TRToolTier.java index 56ec41713..d4794d86a 100644 --- a/src/main/java/techreborn/init/TRToolTier.java +++ b/src/main/java/techreborn/init/TRToolTier.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/ItemDynamicCell.java b/src/main/java/techreborn/items/ItemDynamicCell.java index 77d9efa43..14132cab4 100644 --- a/src/main/java/techreborn/items/ItemDynamicCell.java +++ b/src/main/java/techreborn/items/ItemDynamicCell.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/ItemFrequencyTransmitter.java b/src/main/java/techreborn/items/ItemFrequencyTransmitter.java index cbd8cb844..0075b4763 100644 --- a/src/main/java/techreborn/items/ItemFrequencyTransmitter.java +++ b/src/main/java/techreborn/items/ItemFrequencyTransmitter.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/ItemManual.java b/src/main/java/techreborn/items/ItemManual.java index ef9fd4a2e..15338e1c4 100644 --- a/src/main/java/techreborn/items/ItemManual.java +++ b/src/main/java/techreborn/items/ItemManual.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/ItemScrapBox.java b/src/main/java/techreborn/items/ItemScrapBox.java index 45822c266..8abb831cd 100644 --- a/src/main/java/techreborn/items/ItemScrapBox.java +++ b/src/main/java/techreborn/items/ItemScrapBox.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/ItemUpgrade.java b/src/main/java/techreborn/items/ItemUpgrade.java index e7af9b2eb..2f6bf722a 100644 --- a/src/main/java/techreborn/items/ItemUpgrade.java +++ b/src/main/java/techreborn/items/ItemUpgrade.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/armor/ItemCloakingDevice.java b/src/main/java/techreborn/items/armor/ItemCloakingDevice.java index 5954adb94..0832cf22f 100644 --- a/src/main/java/techreborn/items/armor/ItemCloakingDevice.java +++ b/src/main/java/techreborn/items/armor/ItemCloakingDevice.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/armor/ItemLapotronicOrbpack.java b/src/main/java/techreborn/items/armor/ItemLapotronicOrbpack.java index cf5470b5e..2fd0b8db4 100644 --- a/src/main/java/techreborn/items/armor/ItemLapotronicOrbpack.java +++ b/src/main/java/techreborn/items/armor/ItemLapotronicOrbpack.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/armor/ItemLithiumIonBatpack.java b/src/main/java/techreborn/items/armor/ItemLithiumIonBatpack.java index f5b91747c..29db1f048 100644 --- a/src/main/java/techreborn/items/armor/ItemLithiumIonBatpack.java +++ b/src/main/java/techreborn/items/armor/ItemLithiumIonBatpack.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/armor/ItemQuantumSuit.java b/src/main/java/techreborn/items/armor/ItemQuantumSuit.java index b9b2f5b21..17e7d75ed 100644 --- a/src/main/java/techreborn/items/armor/ItemQuantumSuit.java +++ b/src/main/java/techreborn/items/armor/ItemQuantumSuit.java @@ -1,3 +1,27 @@ +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + package techreborn.items.armor; import com.google.common.collect.HashMultimap; diff --git a/src/main/java/techreborn/items/armor/ItemTRArmour.java b/src/main/java/techreborn/items/armor/ItemTRArmour.java index 9e004b105..434ea3c0a 100644 --- a/src/main/java/techreborn/items/armor/ItemTRArmour.java +++ b/src/main/java/techreborn/items/armor/ItemTRArmour.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/battery/ItemBattery.java b/src/main/java/techreborn/items/battery/ItemBattery.java index 73c07426e..f1ddfbc07 100644 --- a/src/main/java/techreborn/items/battery/ItemBattery.java +++ b/src/main/java/techreborn/items/battery/ItemBattery.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/battery/ItemEnergyCrystal.java b/src/main/java/techreborn/items/battery/ItemEnergyCrystal.java index 1b35417dd..5f71cde92 100644 --- a/src/main/java/techreborn/items/battery/ItemEnergyCrystal.java +++ b/src/main/java/techreborn/items/battery/ItemEnergyCrystal.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/battery/ItemLapotronCrystal.java b/src/main/java/techreborn/items/battery/ItemLapotronCrystal.java index 62b196d0f..ebf260c56 100644 --- a/src/main/java/techreborn/items/battery/ItemLapotronCrystal.java +++ b/src/main/java/techreborn/items/battery/ItemLapotronCrystal.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/battery/ItemLapotronicOrb.java b/src/main/java/techreborn/items/battery/ItemLapotronicOrb.java index 267e6042e..dba0922bb 100644 --- a/src/main/java/techreborn/items/battery/ItemLapotronicOrb.java +++ b/src/main/java/techreborn/items/battery/ItemLapotronicOrb.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/battery/ItemLithiumIonBattery.java b/src/main/java/techreborn/items/battery/ItemLithiumIonBattery.java index e4bffa26b..14a1d3f0b 100644 --- a/src/main/java/techreborn/items/battery/ItemLithiumIonBattery.java +++ b/src/main/java/techreborn/items/battery/ItemLithiumIonBattery.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/battery/ItemRedCellBattery.java b/src/main/java/techreborn/items/battery/ItemRedCellBattery.java index bb8a02e1b..9b8f74365 100644 --- a/src/main/java/techreborn/items/battery/ItemRedCellBattery.java +++ b/src/main/java/techreborn/items/battery/ItemRedCellBattery.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/ChainsawItem.java b/src/main/java/techreborn/items/tool/ChainsawItem.java index ba18e86da..40f42a506 100644 --- a/src/main/java/techreborn/items/tool/ChainsawItem.java +++ b/src/main/java/techreborn/items/tool/ChainsawItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/DebugToolItem.java b/src/main/java/techreborn/items/tool/DebugToolItem.java index 35e97f756..0a9a24185 100644 --- a/src/main/java/techreborn/items/tool/DebugToolItem.java +++ b/src/main/java/techreborn/items/tool/DebugToolItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/DrillItem.java b/src/main/java/techreborn/items/tool/DrillItem.java index 0c0d79bf7..9af3ba25f 100644 --- a/src/main/java/techreborn/items/tool/DrillItem.java +++ b/src/main/java/techreborn/items/tool/DrillItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/JackhammerItem.java b/src/main/java/techreborn/items/tool/JackhammerItem.java index 1ca73ea3b..b13e67ab0 100644 --- a/src/main/java/techreborn/items/tool/JackhammerItem.java +++ b/src/main/java/techreborn/items/tool/JackhammerItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/TreeTapItem.java b/src/main/java/techreborn/items/tool/TreeTapItem.java index f49533282..755c07d46 100644 --- a/src/main/java/techreborn/items/tool/TreeTapItem.java +++ b/src/main/java/techreborn/items/tool/TreeTapItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/WrenchItem.java b/src/main/java/techreborn/items/tool/WrenchItem.java index 4dbaff573..ac3b2a13b 100644 --- a/src/main/java/techreborn/items/tool/WrenchItem.java +++ b/src/main/java/techreborn/items/tool/WrenchItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/advanced/AdvancedChainsawItem.java b/src/main/java/techreborn/items/tool/advanced/AdvancedChainsawItem.java index 37fa9248e..e4c509a9a 100644 --- a/src/main/java/techreborn/items/tool/advanced/AdvancedChainsawItem.java +++ b/src/main/java/techreborn/items/tool/advanced/AdvancedChainsawItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/advanced/AdvancedDrillItem.java b/src/main/java/techreborn/items/tool/advanced/AdvancedDrillItem.java index f0423e199..6c95c500a 100644 --- a/src/main/java/techreborn/items/tool/advanced/AdvancedDrillItem.java +++ b/src/main/java/techreborn/items/tool/advanced/AdvancedDrillItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/advanced/AdvancedJackhammerItem.java b/src/main/java/techreborn/items/tool/advanced/AdvancedJackhammerItem.java index 89d091cfc..bdbdb8b08 100644 --- a/src/main/java/techreborn/items/tool/advanced/AdvancedJackhammerItem.java +++ b/src/main/java/techreborn/items/tool/advanced/AdvancedJackhammerItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/advanced/RockCutterItem.java b/src/main/java/techreborn/items/tool/advanced/RockCutterItem.java index 68fe27155..631eeeb10 100644 --- a/src/main/java/techreborn/items/tool/advanced/RockCutterItem.java +++ b/src/main/java/techreborn/items/tool/advanced/RockCutterItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/basic/BasicChainsawItem.java b/src/main/java/techreborn/items/tool/basic/BasicChainsawItem.java index 17cabf6ef..01dcd353b 100644 --- a/src/main/java/techreborn/items/tool/basic/BasicChainsawItem.java +++ b/src/main/java/techreborn/items/tool/basic/BasicChainsawItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/basic/BasicDrillItem.java b/src/main/java/techreborn/items/tool/basic/BasicDrillItem.java index 92157dd18..42481ba0c 100644 --- a/src/main/java/techreborn/items/tool/basic/BasicDrillItem.java +++ b/src/main/java/techreborn/items/tool/basic/BasicDrillItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/basic/BasicJackhammerItem.java b/src/main/java/techreborn/items/tool/basic/BasicJackhammerItem.java index 64231fe66..fa13d4c23 100644 --- a/src/main/java/techreborn/items/tool/basic/BasicJackhammerItem.java +++ b/src/main/java/techreborn/items/tool/basic/BasicJackhammerItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/basic/ElectricTreetapItem.java b/src/main/java/techreborn/items/tool/basic/ElectricTreetapItem.java index 24e4a888a..a94a05c9e 100644 --- a/src/main/java/techreborn/items/tool/basic/ElectricTreetapItem.java +++ b/src/main/java/techreborn/items/tool/basic/ElectricTreetapItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/industrial/IndustrialChainsawItem.java b/src/main/java/techreborn/items/tool/industrial/IndustrialChainsawItem.java index 7f530153c..c84cf2ad5 100644 --- a/src/main/java/techreborn/items/tool/industrial/IndustrialChainsawItem.java +++ b/src/main/java/techreborn/items/tool/industrial/IndustrialChainsawItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/industrial/IndustrialDrillItem.java b/src/main/java/techreborn/items/tool/industrial/IndustrialDrillItem.java index 9c5ee0f50..26a8729c9 100644 --- a/src/main/java/techreborn/items/tool/industrial/IndustrialDrillItem.java +++ b/src/main/java/techreborn/items/tool/industrial/IndustrialDrillItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/industrial/IndustrialJackhammerItem.java b/src/main/java/techreborn/items/tool/industrial/IndustrialJackhammerItem.java index 7b56bebfb..3b19c43fc 100644 --- a/src/main/java/techreborn/items/tool/industrial/IndustrialJackhammerItem.java +++ b/src/main/java/techreborn/items/tool/industrial/IndustrialJackhammerItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/industrial/NanosaberItem.java b/src/main/java/techreborn/items/tool/industrial/NanosaberItem.java index e590d6642..d0a1993c8 100644 --- a/src/main/java/techreborn/items/tool/industrial/NanosaberItem.java +++ b/src/main/java/techreborn/items/tool/industrial/NanosaberItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/industrial/OmniToolItem.java b/src/main/java/techreborn/items/tool/industrial/OmniToolItem.java index a26660432..603973fda 100644 --- a/src/main/java/techreborn/items/tool/industrial/OmniToolItem.java +++ b/src/main/java/techreborn/items/tool/industrial/OmniToolItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/vanilla/TRAxeItem.java b/src/main/java/techreborn/items/tool/vanilla/TRAxeItem.java index f0cdc1450..be7f4ca20 100644 --- a/src/main/java/techreborn/items/tool/vanilla/TRAxeItem.java +++ b/src/main/java/techreborn/items/tool/vanilla/TRAxeItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/vanilla/TRHoeItem.java b/src/main/java/techreborn/items/tool/vanilla/TRHoeItem.java index ebf686a86..f63633246 100644 --- a/src/main/java/techreborn/items/tool/vanilla/TRHoeItem.java +++ b/src/main/java/techreborn/items/tool/vanilla/TRHoeItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/vanilla/TRPickaxeItem.java b/src/main/java/techreborn/items/tool/vanilla/TRPickaxeItem.java index 550684fc1..18ae9334b 100644 --- a/src/main/java/techreborn/items/tool/vanilla/TRPickaxeItem.java +++ b/src/main/java/techreborn/items/tool/vanilla/TRPickaxeItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/vanilla/TRSpadeItem.java b/src/main/java/techreborn/items/tool/vanilla/TRSpadeItem.java index 3783d73c1..f18605b37 100644 --- a/src/main/java/techreborn/items/tool/vanilla/TRSpadeItem.java +++ b/src/main/java/techreborn/items/tool/vanilla/TRSpadeItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/items/tool/vanilla/TRSwordItem.java b/src/main/java/techreborn/items/tool/vanilla/TRSwordItem.java index 011677c7d..d55acbb5d 100644 --- a/src/main/java/techreborn/items/tool/vanilla/TRSwordItem.java +++ b/src/main/java/techreborn/items/tool/vanilla/TRSwordItem.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/multiblocks/MultiBlockCasing.java b/src/main/java/techreborn/multiblocks/MultiBlockCasing.java index 497c73380..b9b9c982e 100644 --- a/src/main/java/techreborn/multiblocks/MultiBlockCasing.java +++ b/src/main/java/techreborn/multiblocks/MultiBlockCasing.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/packets/ClientboundPackets.java b/src/main/java/techreborn/packets/ClientboundPackets.java index 474442a06..243937f62 100644 --- a/src/main/java/techreborn/packets/ClientboundPackets.java +++ b/src/main/java/techreborn/packets/ClientboundPackets.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/packets/ServerboundPackets.java b/src/main/java/techreborn/packets/ServerboundPackets.java index 96dad9b02..36cfaa6c3 100644 --- a/src/main/java/techreborn/packets/ServerboundPackets.java +++ b/src/main/java/techreborn/packets/ServerboundPackets.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/utils/BehaviorDispenseScrapbox.java b/src/main/java/techreborn/utils/BehaviorDispenseScrapbox.java index 5ad1e258d..d3424f996 100644 --- a/src/main/java/techreborn/utils/BehaviorDispenseScrapbox.java +++ b/src/main/java/techreborn/utils/BehaviorDispenseScrapbox.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/utils/DocumentAssistUtils.java b/src/main/java/techreborn/utils/DocumentAssistUtils.java index 7785efa89..6b7741fa7 100644 --- a/src/main/java/techreborn/utils/DocumentAssistUtils.java +++ b/src/main/java/techreborn/utils/DocumentAssistUtils.java @@ -1,3 +1,27 @@ +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + package techreborn.utils; import net.minecraft.client.gui.screen.Screen; diff --git a/src/main/java/techreborn/utils/FluidUtils.java b/src/main/java/techreborn/utils/FluidUtils.java index b1c98bc55..bc086d0e6 100644 --- a/src/main/java/techreborn/utils/FluidUtils.java +++ b/src/main/java/techreborn/utils/FluidUtils.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/utils/InitUtils.java b/src/main/java/techreborn/utils/InitUtils.java index a72081c11..e17a0a3c8 100644 --- a/src/main/java/techreborn/utils/InitUtils.java +++ b/src/main/java/techreborn/utils/InitUtils.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/utils/MessageIDs.java b/src/main/java/techreborn/utils/MessageIDs.java index 8c2ba09a3..a66f97694 100644 --- a/src/main/java/techreborn/utils/MessageIDs.java +++ b/src/main/java/techreborn/utils/MessageIDs.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/utils/PlayerUtils.java b/src/main/java/techreborn/utils/PlayerUtils.java index 80c2b1f74..b6303c805 100644 --- a/src/main/java/techreborn/utils/PlayerUtils.java +++ b/src/main/java/techreborn/utils/PlayerUtils.java @@ -1,41 +1,41 @@ -/* - * This file is part of TechReborn, licensed under the MIT License (MIT). - * - * Copyright (c) 2018 TechReborn - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -package techreborn.utils; - -/** - * @author drcrazy - * - */ -public class PlayerUtils { - - public static int getLevelExperience(int level) { - if (level >= 30) { - return 112 + (level - 30) * 9; - } - return level >= 15 ? 37 + (level - 15) * 5 : 7 + level * 2; - - } - -} +/* + * This file is part of TechReborn, licensed under the MIT License (MIT). + * + * Copyright (c) 2020 TechReborn + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +package techreborn.utils; + +/** + * @author drcrazy + * + */ +public class PlayerUtils { + + public static int getLevelExperience(int level) { + if (level >= 30) { + return 112 + (level - 30) * 9; + } + return level >= 15 ? 37 + (level - 15) * 5 : 7 + level * 2; + + } + +} diff --git a/src/main/java/techreborn/utils/RecipeUtils.java b/src/main/java/techreborn/utils/RecipeUtils.java index 0b3bf7b90..add6ce722 100644 --- a/src/main/java/techreborn/utils/RecipeUtils.java +++ b/src/main/java/techreborn/utils/RecipeUtils.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/utils/StackWIPHandler.java b/src/main/java/techreborn/utils/StackWIPHandler.java index 9e6a96740..127b5d8cd 100644 --- a/src/main/java/techreborn/utils/StackWIPHandler.java +++ b/src/main/java/techreborn/utils/StackWIPHandler.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/utils/TagUtils.java b/src/main/java/techreborn/utils/TagUtils.java index f1be5ab08..58cf56971 100644 --- a/src/main/java/techreborn/utils/TagUtils.java +++ b/src/main/java/techreborn/utils/TagUtils.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/utils/ToolsUtil.java b/src/main/java/techreborn/utils/ToolsUtil.java index acd0ba522..eaa66e410 100644 --- a/src/main/java/techreborn/utils/ToolsUtil.java +++ b/src/main/java/techreborn/utils/ToolsUtil.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/utils/damageSources/ElectrialShockSource.java b/src/main/java/techreborn/utils/damageSources/ElectrialShockSource.java index 3777cae17..9f5f8ce17 100644 --- a/src/main/java/techreborn/utils/damageSources/ElectrialShockSource.java +++ b/src/main/java/techreborn/utils/damageSources/ElectrialShockSource.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/utils/damageSources/FusionDamageSource.java b/src/main/java/techreborn/utils/damageSources/FusionDamageSource.java index 5bc5b5f5a..5545f2883 100644 --- a/src/main/java/techreborn/utils/damageSources/FusionDamageSource.java +++ b/src/main/java/techreborn/utils/damageSources/FusionDamageSource.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/world/RubberSaplingGenerator.java b/src/main/java/techreborn/world/RubberSaplingGenerator.java index d9003eb81..4fc375075 100644 --- a/src/main/java/techreborn/world/RubberSaplingGenerator.java +++ b/src/main/java/techreborn/world/RubberSaplingGenerator.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/world/RubberTreeFeature.java b/src/main/java/techreborn/world/RubberTreeFeature.java index 83b005a0e..11fbd68f1 100644 --- a/src/main/java/techreborn/world/RubberTreeFeature.java +++ b/src/main/java/techreborn/world/RubberTreeFeature.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/java/techreborn/world/WorldGenerator.java b/src/main/java/techreborn/world/WorldGenerator.java index c57ffb316..63ef82741 100644 --- a/src/main/java/techreborn/world/WorldGenerator.java +++ b/src/main/java/techreborn/world/WorldGenerator.java @@ -1,7 +1,7 @@ /* * This file is part of TechReborn, licensed under the MIT License (MIT). * - * Copyright (c) 2018 TechReborn + * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal