From f632b99554050273f28ec8a3463394a9db728014 Mon Sep 17 00:00:00 2001 From: XiaoMoMi <70987828+Xiao-MoMi@users.noreply.github.com> Date: Sat, 31 Aug 2024 23:24:02 +0800 Subject: [PATCH] 3.6 --- .../api/action/AbstractActionManager.java | 25 ++++++++++--- .../api/context/AbstractContext.java | 17 +++++++++ .../api/context/BlockContextImpl.java | 17 +++++++++ .../api/core/AbstractCustomEventListener.java | 17 +++++++++ .../api/core/AbstractItemManager.java | 17 +++++++++ .../api/core/BuiltInBlockMechanics.java | 17 +++++++++ .../api/core/BuiltInItemMechanics.java | 17 +++++++++ .../api/core/ClearableMappedRegistry.java | 17 +++++++++ .../api/core/ClearableRegistry.java | 17 +++++++++ .../customcrops/api/core/ConfigManager.java | 4 +-- .../customcrops/api/core/CustomForm.java | 17 +++++++++ .../api/core/CustomItemProvider.java | 17 +++++++++ .../customcrops/api/core/ExistenceForm.java | 17 +++++++++ .../api/core/FurnitureRotation.java | 17 +++++++++ .../customcrops/api/core/IdMap.java | 17 +++++++++ .../api/core/InteractionResult.java | 17 +++++++++ .../customcrops/api/core/ItemManager.java | 17 +++++++++ .../customcrops/api/core/MappedRegistry.java | 17 +++++++++ .../customcrops/api/core/Registries.java | 17 +++++++++ .../customcrops/api/core/Registry.java | 17 +++++++++ .../customcrops/api/core/RegistryAccess.java | 17 +++++++++ .../api/core/SimpleRegistryAccess.java | 17 +++++++++ .../customcrops/api/core/StatedItem.java | 17 +++++++++ .../api/core/WriteableRegistry.java | 17 +++++++++ .../core/block/AbstractCustomCropsBlock.java | 17 +++++++++ .../api/core/block/BreakReason.java | 21 ++++++++--- .../customcrops/api/core/block/CropBlock.java | 17 +++++++++ .../api/core/block/CropConfig.java | 17 +++++++++ .../api/core/block/CropConfigImpl.java | 17 +++++++++ .../api/core/block/CropStageConfig.java | 17 +++++++++ .../api/core/block/CropStageConfigImpl.java | 17 +++++++++ .../api/core/block/CustomCropsBlock.java | 17 +++++++++ .../api/core/block/DeathCondition.java | 17 +++++++++ .../api/core/block/GreenhouseBlock.java | 17 +++++++++ .../api/core/block/GrowCondition.java | 17 +++++++++ .../customcrops/api/core/block/PotBlock.java | 19 +++++++++- .../customcrops/api/core/block/PotConfig.java | 21 +++++++++-- .../api/core/block/PotConfigImpl.java | 21 +++++++++-- .../api/core/block/ScarecrowBlock.java | 17 +++++++++ .../api/core/block/SprinklerBlock.java | 19 +++++++++- .../api/core/block/SprinklerConfig.java | 21 +++++++++-- .../api/core/block/SprinklerConfigImpl.java | 21 +++++++++-- .../core/item/AbstractCustomCropsItem.java | 17 +++++++++ .../core/item/AbstractFertilizerConfig.java | 17 +++++++++ .../api/core/item/CustomCropsItem.java | 17 +++++++++ .../customcrops/api/core/item/Fertilizer.java | 17 +++++++++ .../api/core/item/FertilizerConfig.java | 17 +++++++++ .../api/core/item/FertilizerImpl.java | 17 +++++++++ .../api/core/item/FertilizerItem.java | 17 +++++++++ .../customcrops/api/core/item/Quality.java | 17 +++++++++ .../api/core/item/QualityImpl.java | 17 +++++++++ .../customcrops/api/core/item/SeedItem.java | 17 +++++++++ .../customcrops/api/core/item/SoilRetain.java | 17 +++++++++ .../api/core/item/SoilRetainImpl.java | 17 +++++++++ .../customcrops/api/core/item/SpeedGrow.java | 17 +++++++++ .../api/core/item/SpeedGrowImpl.java | 17 +++++++++ .../api/core/item/SprinklerItem.java | 17 +++++++++ .../customcrops/api/core/item/Variation.java | 17 +++++++++ .../api/core/item/VariationImpl.java | 17 +++++++++ .../api/core/item/WateringCanConfig.java | 21 +++++++++-- .../api/core/item/WateringCanConfigImpl.java | 21 +++++++++-- .../api/core/item/WateringCanItem.java | 19 +++++++++- .../api/core/item/YieldIncrease.java | 17 +++++++++ .../api/core/item/YieldIncreaseImpl.java | 17 +++++++++ .../api/core/world/CustomCropsBlockState.java | 17 +++++++++ .../core/world/CustomCropsBlockStateImpl.java | 17 +++++++++ .../api/core/world/CustomCropsChunkImpl.java | 17 +++++++++ .../api/core/world/CustomCropsRegionImpl.java | 17 +++++++++ .../core/world/CustomCropsSectionImpl.java | 17 +++++++++ .../api/core/world/CustomCropsWorldImpl.java | 17 +++++++++ .../api/core/world/WorldManager.java | 17 +++++++++ .../world/adaptor/AbstractWorldAdaptor.java | 17 +++++++++ .../api/core/world/adaptor/WorldAdaptor.java | 17 +++++++++ .../api/core/wrapper/WrappedBreakEvent.java | 17 +++++++++ .../core/wrapper/WrappedInteractAirEvent.java | 17 +++++++++ .../core/wrapper/WrappedInteractEvent.java | 17 +++++++++ .../api/core/wrapper/WrappedPlaceEvent.java | 17 +++++++++ .../customcrops/api/event/PotFillEvent.java | 2 +- .../api/event/SprinklerFillEvent.java | 2 +- .../api/event/WateringCanFillEvent.java | 2 +- .../{core => misc}/water/AbstractMethod.java | 2 +- .../api/{core => misc}/water/FillMethod.java | 2 +- .../api/misc/{ => water}/WaterBar.java | 2 +- .../{core => misc}/water/WateringMethod.java | 2 +- .../AbstractRequirementManager.java | 17 +++++++++ .../api/util/DummyCancellable.java | 35 +++++++++++++++++++ .../customcrops/api/util/FakeCancellable.java | 18 ---------- .../customcrops/api/util/PluginUtils.java | 17 +++++++++ .../customcrops/api/util/StringUtils.java | 17 +++++++++ .../common/annotation/DoNotUse.java | 17 +++++++++ .../customcrops/common/util/Key.java | 17 +++++++++ .../adaptor/asp_r1/SlimeWorldAdaptorR1.java | 17 +++++++++ .../itemsadder_r1/ItemsAdderListener.java | 21 +++++++++-- .../itemsadder_r1/ItemsAdderProvider.java | 17 +++++++++ .../custom/oraxen_r1/OraxenListener.java | 17 +++++++++ .../custom/oraxen_r1/OraxenProvider.java | 17 +++++++++ .../custom/oraxen_r2/OraxenListener.java | 17 +++++++++ .../custom/oraxen_r2/OraxenProvider.java | 17 +++++++++ .../integration/papi/CustomCropsPapi.java | 17 +++++++++ .../bukkit/BukkitCustomCropsPluginImpl.java | 17 +++++++++ .../bukkit/action/BlockActionManager.java | 17 +++++++++ .../bukkit/action/PlayerActionManager.java | 17 +++++++++ .../bukkit/config/BukkitConfigManager.java | 17 +++++++++ .../customcrops/bukkit/config/ConfigType.java | 2 +- .../adaptor/BukkitWorldAdaptor.java | 17 +++++++++ .../bukkit/item/BukkitItemFactory.java | 17 +++++++++ .../bukkit/item/BukkitItemManager.java | 17 +++++++++ .../bukkit/item/ComponentItemFactory.java | 17 +++++++++ .../bukkit/item/UniversalItemFactory.java | 17 +++++++++ .../requirement/BlockRequirementManager.java | 17 +++++++++ .../requirement/PlayerRequirementManager.java | 17 +++++++++ .../bukkit/scheduler/DummyTask.java | 17 +++++++++ .../bukkit/world/BukkitWorldManager.java | 17 +++++++++ 113 files changed, 1800 insertions(+), 53 deletions(-) rename api/src/main/java/net/momirealms/customcrops/api/{core => misc}/water/AbstractMethod.java (97%) rename api/src/main/java/net/momirealms/customcrops/api/{core => misc}/water/FillMethod.java (96%) rename api/src/main/java/net/momirealms/customcrops/api/misc/{ => water}/WaterBar.java (95%) rename api/src/main/java/net/momirealms/customcrops/api/{core => misc}/water/WateringMethod.java (97%) create mode 100644 api/src/main/java/net/momirealms/customcrops/api/util/DummyCancellable.java delete mode 100644 api/src/main/java/net/momirealms/customcrops/api/util/FakeCancellable.java diff --git a/api/src/main/java/net/momirealms/customcrops/api/action/AbstractActionManager.java b/api/src/main/java/net/momirealms/customcrops/api/action/AbstractActionManager.java index 5edb738..b4f5fd5 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/action/AbstractActionManager.java +++ b/api/src/main/java/net/momirealms/customcrops/api/action/AbstractActionManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.action; import dev.dejvokep.boostedyaml.block.implementation.Section; @@ -871,15 +888,15 @@ public abstract class AbstractActionManager implements ActionManager { if (context.holder() instanceof Player p) { player = p; } - FakeCancellable fakeCancellable = new FakeCancellable(); + DummyCancellable dummyCancellable = new DummyCancellable(); if (player != null) { EquipmentSlot slot = requireNonNull(context.arg(ContextKeys.SLOT)); ItemStack itemStack = player.getInventory().getItem(slot); - state.type().onBreak(new WrappedBreakEvent(player, null, world, location, stageConfig.stageID(), itemStack, plugin.getItemManager().id(itemStack), BreakReason.ACTION, fakeCancellable)); + state.type().onBreak(new WrappedBreakEvent(player, null, world, location, stageConfig.stageID(), itemStack, plugin.getItemManager().id(itemStack), BreakReason.ACTION, dummyCancellable)); } else { - state.type().onBreak(new WrappedBreakEvent(null, null, world, location, stageConfig.stageID(), null, null, BreakReason.ACTION, fakeCancellable)); + state.type().onBreak(new WrappedBreakEvent(null, null, world, location, stageConfig.stageID(), null, null, BreakReason.ACTION, dummyCancellable)); } - if (fakeCancellable.isCancelled()) { + if (dummyCancellable.isCancelled()) { return; } } diff --git a/api/src/main/java/net/momirealms/customcrops/api/context/AbstractContext.java b/api/src/main/java/net/momirealms/customcrops/api/context/AbstractContext.java index effa86c..111ddf9 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/context/AbstractContext.java +++ b/api/src/main/java/net/momirealms/customcrops/api/context/AbstractContext.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.context; import org.jetbrains.annotations.Nullable; diff --git a/api/src/main/java/net/momirealms/customcrops/api/context/BlockContextImpl.java b/api/src/main/java/net/momirealms/customcrops/api/context/BlockContextImpl.java index c39cf7e..5d28e18 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/context/BlockContextImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/context/BlockContextImpl.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.context; import net.momirealms.customcrops.api.core.world.CustomCropsBlockState; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/AbstractCustomEventListener.java b/api/src/main/java/net/momirealms/customcrops/api/core/AbstractCustomEventListener.java index 098b70c..172f783 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/AbstractCustomEventListener.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/AbstractCustomEventListener.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; import net.momirealms.customcrops.common.helper.VersionHelper; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/AbstractItemManager.java b/api/src/main/java/net/momirealms/customcrops/api/core/AbstractItemManager.java index 7000bef..b8f3a23 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/AbstractItemManager.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/AbstractItemManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; import org.bukkit.Location; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/BuiltInBlockMechanics.java b/api/src/main/java/net/momirealms/customcrops/api/core/BuiltInBlockMechanics.java index 2a7a6ce..986697d 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/BuiltInBlockMechanics.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/BuiltInBlockMechanics.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; import com.flowpowered.nbt.CompoundMap; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/BuiltInItemMechanics.java b/api/src/main/java/net/momirealms/customcrops/api/core/BuiltInItemMechanics.java index 5e8dad9..97624fe 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/BuiltInItemMechanics.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/BuiltInItemMechanics.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; import net.momirealms.customcrops.common.util.Key; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/ClearableMappedRegistry.java b/api/src/main/java/net/momirealms/customcrops/api/core/ClearableMappedRegistry.java index 5fdb9bc..81ea6f6 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/ClearableMappedRegistry.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/ClearableMappedRegistry.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; import net.momirealms.customcrops.common.util.Key; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/ClearableRegistry.java b/api/src/main/java/net/momirealms/customcrops/api/core/ClearableRegistry.java index e1c539e..219b822 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/ClearableRegistry.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/ClearableRegistry.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; public interface ClearableRegistry extends WriteableRegistry { diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/ConfigManager.java b/api/src/main/java/net/momirealms/customcrops/api/core/ConfigManager.java index 4b99df8..915614c 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/ConfigManager.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/ConfigManager.java @@ -16,8 +16,8 @@ import net.momirealms.customcrops.api.core.block.*; import net.momirealms.customcrops.api.core.item.FertilizerConfig; import net.momirealms.customcrops.api.core.item.FertilizerType; import net.momirealms.customcrops.api.core.item.WateringCanConfig; -import net.momirealms.customcrops.api.core.water.FillMethod; -import net.momirealms.customcrops.api.core.water.WateringMethod; +import net.momirealms.customcrops.api.misc.water.FillMethod; +import net.momirealms.customcrops.api.misc.water.WateringMethod; import net.momirealms.customcrops.api.core.world.CustomCropsBlockState; import net.momirealms.customcrops.api.util.PluginUtils; import net.momirealms.customcrops.common.config.ConfigLoader; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/CustomForm.java b/api/src/main/java/net/momirealms/customcrops/api/core/CustomForm.java index c3d5e01..622af3d 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/CustomForm.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/CustomForm.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; public enum CustomForm { diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/CustomItemProvider.java b/api/src/main/java/net/momirealms/customcrops/api/core/CustomItemProvider.java index eaf913b..2d62a3f 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/CustomItemProvider.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/CustomItemProvider.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; import org.bukkit.Location; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/ExistenceForm.java b/api/src/main/java/net/momirealms/customcrops/api/core/ExistenceForm.java index 1a3a53d..113daee 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/ExistenceForm.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/ExistenceForm.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; public enum ExistenceForm { diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/FurnitureRotation.java b/api/src/main/java/net/momirealms/customcrops/api/core/FurnitureRotation.java index 481776e..57409f9 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/FurnitureRotation.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/FurnitureRotation.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; import net.momirealms.customcrops.common.util.RandomUtils; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/IdMap.java b/api/src/main/java/net/momirealms/customcrops/api/core/IdMap.java index 4dded1c..c9e7b54 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/IdMap.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/IdMap.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; import javax.annotation.Nullable; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/InteractionResult.java b/api/src/main/java/net/momirealms/customcrops/api/core/InteractionResult.java index f2af6f7..8c5c86b 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/InteractionResult.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/InteractionResult.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; public enum InteractionResult { diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/ItemManager.java b/api/src/main/java/net/momirealms/customcrops/api/core/ItemManager.java index bedbaca..e667237 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/ItemManager.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/ItemManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; import net.momirealms.customcrops.common.item.Item; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/MappedRegistry.java b/api/src/main/java/net/momirealms/customcrops/api/core/MappedRegistry.java index 0d576e0..53994b4 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/MappedRegistry.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/MappedRegistry.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; import net.momirealms.customcrops.common.util.Key; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/Registries.java b/api/src/main/java/net/momirealms/customcrops/api/core/Registries.java index e84e4de..d189432 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/Registries.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/Registries.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; import net.momirealms.customcrops.api.core.block.CropConfig; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/Registry.java b/api/src/main/java/net/momirealms/customcrops/api/core/Registry.java index d092e71..f4ee23f 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/Registry.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/Registry.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; import net.momirealms.customcrops.common.util.Key; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/RegistryAccess.java b/api/src/main/java/net/momirealms/customcrops/api/core/RegistryAccess.java index 923cae2..c5cfa9e 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/RegistryAccess.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/RegistryAccess.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; import net.momirealms.customcrops.common.util.Key; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/SimpleRegistryAccess.java b/api/src/main/java/net/momirealms/customcrops/api/core/SimpleRegistryAccess.java index 861227c..3a80d8d 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/SimpleRegistryAccess.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/SimpleRegistryAccess.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; import net.momirealms.customcrops.common.util.Key; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/StatedItem.java b/api/src/main/java/net/momirealms/customcrops/api/core/StatedItem.java index f04bd0d..4dc3573 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/StatedItem.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/StatedItem.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; import net.momirealms.customcrops.api.context.Context; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/WriteableRegistry.java b/api/src/main/java/net/momirealms/customcrops/api/core/WriteableRegistry.java index a839a32..d5caf87 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/WriteableRegistry.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/WriteableRegistry.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core; public interface WriteableRegistry extends Registry { diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/AbstractCustomCropsBlock.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/AbstractCustomCropsBlock.java index 8424c8c..21813ff 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/AbstractCustomCropsBlock.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/AbstractCustomCropsBlock.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import com.flowpowered.nbt.CompoundMap; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/BreakReason.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/BreakReason.java index f2b85a7..e381777 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/BreakReason.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/BreakReason.java @@ -1,12 +1,25 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; public enum BreakReason { - // Crop was broken by a player BREAK, - // Crop was trampled TRAMPLE, - // Crop was broken due to an explosion (block or entity) EXPLODE, - // Crop was broken due to a specific action ACTION } diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/CropBlock.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/CropBlock.java index 5143368..616d490 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/CropBlock.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/CropBlock.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import com.flowpowered.nbt.IntTag; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/CropConfig.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/CropConfig.java index a917314..08ee3aa 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/CropConfig.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/CropConfig.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import net.momirealms.customcrops.api.action.Action; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/CropConfigImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/CropConfigImpl.java index bc0554a..e0862ec 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/CropConfigImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/CropConfigImpl.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import com.google.common.base.Preconditions; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/CropStageConfig.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/CropStageConfig.java index beb9448..0ec236c 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/CropStageConfig.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/CropStageConfig.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import net.momirealms.customcrops.api.action.Action; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/CropStageConfigImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/CropStageConfigImpl.java index 4650289..8a2f1d7 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/CropStageConfigImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/CropStageConfigImpl.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import net.momirealms.customcrops.api.action.Action; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/CustomCropsBlock.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/CustomCropsBlock.java index 9515fc3..c40d088 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/CustomCropsBlock.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/CustomCropsBlock.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import com.flowpowered.nbt.CompoundMap; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/DeathCondition.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/DeathCondition.java index e15a32d..cfedff1 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/DeathCondition.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/DeathCondition.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import net.momirealms.customcrops.api.context.Context; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/GreenhouseBlock.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/GreenhouseBlock.java index b0dbc8e..d742276 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/GreenhouseBlock.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/GreenhouseBlock.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import net.momirealms.customcrops.api.BukkitCustomCropsPlugin; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/GrowCondition.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/GrowCondition.java index b8f8561..c03b598 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/GrowCondition.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/GrowCondition.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import net.momirealms.customcrops.api.context.Context; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/PotBlock.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/PotBlock.java index 0080691..4a12594 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/PotBlock.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/PotBlock.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import com.flowpowered.nbt.*; @@ -7,7 +24,7 @@ import net.momirealms.customcrops.api.context.Context; import net.momirealms.customcrops.api.core.*; import net.momirealms.customcrops.api.core.item.Fertilizer; import net.momirealms.customcrops.api.core.item.FertilizerConfig; -import net.momirealms.customcrops.api.core.water.WateringMethod; +import net.momirealms.customcrops.api.misc.water.WateringMethod; import net.momirealms.customcrops.api.core.world.CustomCropsBlockState; import net.momirealms.customcrops.api.core.world.CustomCropsWorld; import net.momirealms.customcrops.api.core.world.Pos3; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/PotConfig.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/PotConfig.java index 7ec309e..5de6fdd 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/PotConfig.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/PotConfig.java @@ -1,10 +1,27 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import net.momirealms.customcrops.api.action.Action; import net.momirealms.customcrops.api.core.item.FertilizerType; -import net.momirealms.customcrops.api.core.water.WateringMethod; +import net.momirealms.customcrops.api.misc.water.WateringMethod; import net.momirealms.customcrops.api.core.world.CustomCropsBlockState; -import net.momirealms.customcrops.api.misc.WaterBar; +import net.momirealms.customcrops.api.misc.water.WaterBar; import net.momirealms.customcrops.api.requirement.Requirement; import net.momirealms.customcrops.common.util.Pair; import org.bukkit.entity.Player; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/PotConfigImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/PotConfigImpl.java index 18b115e..05cb6ba 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/PotConfigImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/PotConfigImpl.java @@ -1,11 +1,28 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import net.momirealms.customcrops.api.action.Action; import net.momirealms.customcrops.api.core.ExistenceForm; import net.momirealms.customcrops.api.core.item.FertilizerType; -import net.momirealms.customcrops.api.core.water.WateringMethod; +import net.momirealms.customcrops.api.misc.water.WateringMethod; import net.momirealms.customcrops.api.core.world.CustomCropsBlockState; -import net.momirealms.customcrops.api.misc.WaterBar; +import net.momirealms.customcrops.api.misc.water.WaterBar; import net.momirealms.customcrops.api.requirement.Requirement; import net.momirealms.customcrops.common.util.Pair; import org.bukkit.entity.Player; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/ScarecrowBlock.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/ScarecrowBlock.java index 1880824..5ac78b9 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/ScarecrowBlock.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/ScarecrowBlock.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import net.momirealms.customcrops.api.BukkitCustomCropsPlugin; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/SprinklerBlock.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/SprinklerBlock.java index 3b6373a..850b816 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/SprinklerBlock.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/SprinklerBlock.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import com.flowpowered.nbt.IntTag; @@ -5,7 +22,7 @@ import net.momirealms.customcrops.api.BukkitCustomCropsPlugin; import net.momirealms.customcrops.api.action.ActionManager; import net.momirealms.customcrops.api.context.Context; import net.momirealms.customcrops.api.core.*; -import net.momirealms.customcrops.api.core.water.WateringMethod; +import net.momirealms.customcrops.api.misc.water.WateringMethod; import net.momirealms.customcrops.api.core.world.CustomCropsBlockState; import net.momirealms.customcrops.api.core.world.CustomCropsWorld; import net.momirealms.customcrops.api.core.world.Pos3; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/SprinklerConfig.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/SprinklerConfig.java index c9a85b9..9b6c95e 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/SprinklerConfig.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/SprinklerConfig.java @@ -1,10 +1,27 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import net.momirealms.customcrops.api.action.Action; import net.momirealms.customcrops.api.core.ExistenceForm; -import net.momirealms.customcrops.api.core.water.WateringMethod; +import net.momirealms.customcrops.api.misc.water.WateringMethod; import net.momirealms.customcrops.api.core.world.CustomCropsBlockState; -import net.momirealms.customcrops.api.misc.WaterBar; +import net.momirealms.customcrops.api.misc.water.WaterBar; import net.momirealms.customcrops.api.requirement.Requirement; import org.bukkit.entity.Player; import org.jetbrains.annotations.NotNull; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/block/SprinklerConfigImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/block/SprinklerConfigImpl.java index 3a3a52a..58472ec 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/block/SprinklerConfigImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/block/SprinklerConfigImpl.java @@ -1,10 +1,27 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.block; import net.momirealms.customcrops.api.action.Action; import net.momirealms.customcrops.api.core.ExistenceForm; -import net.momirealms.customcrops.api.core.water.WateringMethod; +import net.momirealms.customcrops.api.misc.water.WateringMethod; import net.momirealms.customcrops.api.core.world.CustomCropsBlockState; -import net.momirealms.customcrops.api.misc.WaterBar; +import net.momirealms.customcrops.api.misc.water.WaterBar; import net.momirealms.customcrops.api.requirement.Requirement; import org.bukkit.entity.Player; import org.jetbrains.annotations.NotNull; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/AbstractCustomCropsItem.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/AbstractCustomCropsItem.java index b6c307f..5913a3d 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/AbstractCustomCropsItem.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/AbstractCustomCropsItem.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.common.util.Key; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/AbstractFertilizerConfig.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/AbstractFertilizerConfig.java index f0f6088..1f930b9 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/AbstractFertilizerConfig.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/AbstractFertilizerConfig.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.action.Action; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/CustomCropsItem.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/CustomCropsItem.java index 6358f3f..2b3198c 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/CustomCropsItem.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/CustomCropsItem.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.common.util.Key; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/Fertilizer.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/Fertilizer.java index b685e7a..0577292 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/Fertilizer.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/Fertilizer.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.core.Registries; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/FertilizerConfig.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/FertilizerConfig.java index e556e57..6919c43 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/FertilizerConfig.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/FertilizerConfig.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.action.Action; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/FertilizerImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/FertilizerImpl.java index 562d7f8..53013ac 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/FertilizerImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/FertilizerImpl.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; public class FertilizerImpl implements Fertilizer { diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/FertilizerItem.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/FertilizerItem.java index 47724e9..82bdfcb 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/FertilizerItem.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/FertilizerItem.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.BukkitCustomCropsPlugin; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/Quality.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/Quality.java index e7ab798..80db0ff 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/Quality.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/Quality.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.action.Action; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/QualityImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/QualityImpl.java index 6370c93..3895ed8 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/QualityImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/QualityImpl.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.action.Action; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/SeedItem.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/SeedItem.java index ea7fc87..9cd844a 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/SeedItem.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/SeedItem.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.BukkitCustomCropsPlugin; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/SoilRetain.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/SoilRetain.java index 70f39e5..36d045f 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/SoilRetain.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/SoilRetain.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.action.Action; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/SoilRetainImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/SoilRetainImpl.java index 965d58c..8a923b8 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/SoilRetainImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/SoilRetainImpl.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.action.Action; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/SpeedGrow.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/SpeedGrow.java index 141cb6b..416898e 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/SpeedGrow.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/SpeedGrow.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.action.Action; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/SpeedGrowImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/SpeedGrowImpl.java index 0734d2f..48f1c2a 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/SpeedGrowImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/SpeedGrowImpl.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.action.Action; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/SprinklerItem.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/SprinklerItem.java index eebd8de..93cf1ca 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/SprinklerItem.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/SprinklerItem.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.BukkitCustomCropsPlugin; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/Variation.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/Variation.java index 289b86b..c57482e 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/Variation.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/Variation.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.action.Action; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/VariationImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/VariationImpl.java index 45b4384..5d2b850 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/VariationImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/VariationImpl.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.action.Action; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/WateringCanConfig.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/WateringCanConfig.java index 68ddbef..ce67f54 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/WateringCanConfig.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/WateringCanConfig.java @@ -1,8 +1,25 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.action.Action; -import net.momirealms.customcrops.api.core.water.FillMethod; -import net.momirealms.customcrops.api.misc.WaterBar; +import net.momirealms.customcrops.api.misc.water.FillMethod; +import net.momirealms.customcrops.api.misc.water.WaterBar; import net.momirealms.customcrops.api.misc.value.TextValue; import net.momirealms.customcrops.api.requirement.Requirement; import org.bukkit.entity.Player; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/WateringCanConfigImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/WateringCanConfigImpl.java index 1906816..ca1d61c 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/WateringCanConfigImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/WateringCanConfigImpl.java @@ -1,8 +1,25 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.action.Action; -import net.momirealms.customcrops.api.core.water.FillMethod; -import net.momirealms.customcrops.api.misc.WaterBar; +import net.momirealms.customcrops.api.misc.water.FillMethod; +import net.momirealms.customcrops.api.misc.water.WaterBar; import net.momirealms.customcrops.api.misc.value.TextValue; import net.momirealms.customcrops.api.requirement.Requirement; import org.bukkit.entity.Player; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/WateringCanItem.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/WateringCanItem.java index 96bb2ef..2d5218c 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/WateringCanItem.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/WateringCanItem.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.kyori.adventure.text.Component; @@ -8,7 +25,7 @@ import net.momirealms.customcrops.api.context.Context; import net.momirealms.customcrops.api.context.ContextKeys; import net.momirealms.customcrops.api.core.*; import net.momirealms.customcrops.api.core.block.*; -import net.momirealms.customcrops.api.core.water.FillMethod; +import net.momirealms.customcrops.api.misc.water.FillMethod; import net.momirealms.customcrops.api.core.world.CustomCropsBlockState; import net.momirealms.customcrops.api.core.world.CustomCropsWorld; import net.momirealms.customcrops.api.core.world.Pos3; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/YieldIncrease.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/YieldIncrease.java index ed352b5..f455f50 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/YieldIncrease.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/YieldIncrease.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.action.Action; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/item/YieldIncreaseImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/item/YieldIncreaseImpl.java index d7da16b..8679467 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/item/YieldIncreaseImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/item/YieldIncreaseImpl.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.item; import net.momirealms.customcrops.api.action.Action; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsBlockState.java b/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsBlockState.java index 6b1dec8..acd2c11 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsBlockState.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsBlockState.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.world; import com.flowpowered.nbt.CompoundMap; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsBlockStateImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsBlockStateImpl.java index 5dd6a2d..2f41cd8 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsBlockStateImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsBlockStateImpl.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.world; import com.flowpowered.nbt.CompoundMap; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsChunkImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsChunkImpl.java index 77fc3aa..ba3269a 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsChunkImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsChunkImpl.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.world; import net.momirealms.customcrops.common.util.RandomUtils; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsRegionImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsRegionImpl.java index a6ebed2..04afd67 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsRegionImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsRegionImpl.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.world; import org.jetbrains.annotations.NotNull; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsSectionImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsSectionImpl.java index 891afa0..af71593 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsSectionImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsSectionImpl.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.world; import org.jetbrains.annotations.NotNull; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsWorldImpl.java b/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsWorldImpl.java index 1c8744c..cd92342 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsWorldImpl.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/world/CustomCropsWorldImpl.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.world; import net.momirealms.customcrops.api.BukkitCustomCropsPlugin; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/world/WorldManager.java b/api/src/main/java/net/momirealms/customcrops/api/core/world/WorldManager.java index 3905e5e..6dcaef6 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/world/WorldManager.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/world/WorldManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.world; import net.momirealms.customcrops.api.core.world.adaptor.WorldAdaptor; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/world/adaptor/AbstractWorldAdaptor.java b/api/src/main/java/net/momirealms/customcrops/api/core/world/adaptor/AbstractWorldAdaptor.java index 4934a6f..e14d250 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/world/adaptor/AbstractWorldAdaptor.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/world/adaptor/AbstractWorldAdaptor.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.world.adaptor; import com.flowpowered.nbt.CompoundMap; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/world/adaptor/WorldAdaptor.java b/api/src/main/java/net/momirealms/customcrops/api/core/world/adaptor/WorldAdaptor.java index 8e578c5..82272b0 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/world/adaptor/WorldAdaptor.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/world/adaptor/WorldAdaptor.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.world.adaptor; import net.momirealms.customcrops.api.core.world.*; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedBreakEvent.java b/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedBreakEvent.java index 8870935..5d28aac 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedBreakEvent.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedBreakEvent.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.wrapper; import net.momirealms.customcrops.api.core.block.BreakReason; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedInteractAirEvent.java b/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedInteractAirEvent.java index c827c2f..c6a2987 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedInteractAirEvent.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedInteractAirEvent.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.wrapper; import net.momirealms.customcrops.api.core.world.CustomCropsWorld; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedInteractEvent.java b/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedInteractEvent.java index c114d3d..0647eef 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedInteractEvent.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedInteractEvent.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.wrapper; import net.momirealms.customcrops.api.core.ExistenceForm; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedPlaceEvent.java b/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedPlaceEvent.java index 612e799..0880267 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedPlaceEvent.java +++ b/api/src/main/java/net/momirealms/customcrops/api/core/wrapper/WrappedPlaceEvent.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.core.wrapper; import net.momirealms.customcrops.api.core.world.CustomCropsWorld; diff --git a/api/src/main/java/net/momirealms/customcrops/api/event/PotFillEvent.java b/api/src/main/java/net/momirealms/customcrops/api/event/PotFillEvent.java index 2b73233..3d5141c 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/event/PotFillEvent.java +++ b/api/src/main/java/net/momirealms/customcrops/api/event/PotFillEvent.java @@ -18,7 +18,7 @@ package net.momirealms.customcrops.api.event; import net.momirealms.customcrops.api.core.block.PotConfig; -import net.momirealms.customcrops.api.core.water.WateringMethod; +import net.momirealms.customcrops.api.misc.water.WateringMethod; import net.momirealms.customcrops.api.core.world.CustomCropsBlockState; import org.bukkit.Location; import org.bukkit.entity.Player; diff --git a/api/src/main/java/net/momirealms/customcrops/api/event/SprinklerFillEvent.java b/api/src/main/java/net/momirealms/customcrops/api/event/SprinklerFillEvent.java index ae59f85..ace165e 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/event/SprinklerFillEvent.java +++ b/api/src/main/java/net/momirealms/customcrops/api/event/SprinklerFillEvent.java @@ -18,7 +18,7 @@ package net.momirealms.customcrops.api.event; import net.momirealms.customcrops.api.core.block.SprinklerConfig; -import net.momirealms.customcrops.api.core.water.WateringMethod; +import net.momirealms.customcrops.api.misc.water.WateringMethod; import net.momirealms.customcrops.api.core.world.CustomCropsBlockState; import org.bukkit.Location; import org.bukkit.entity.Player; diff --git a/api/src/main/java/net/momirealms/customcrops/api/event/WateringCanFillEvent.java b/api/src/main/java/net/momirealms/customcrops/api/event/WateringCanFillEvent.java index 05b930a..6dce329 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/event/WateringCanFillEvent.java +++ b/api/src/main/java/net/momirealms/customcrops/api/event/WateringCanFillEvent.java @@ -18,7 +18,7 @@ package net.momirealms.customcrops.api.event; import net.momirealms.customcrops.api.core.item.WateringCanConfig; -import net.momirealms.customcrops.api.core.water.FillMethod; +import net.momirealms.customcrops.api.misc.water.FillMethod; import org.bukkit.Location; import org.bukkit.entity.Player; import org.bukkit.event.Cancellable; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/water/AbstractMethod.java b/api/src/main/java/net/momirealms/customcrops/api/misc/water/AbstractMethod.java similarity index 97% rename from api/src/main/java/net/momirealms/customcrops/api/core/water/AbstractMethod.java rename to api/src/main/java/net/momirealms/customcrops/api/misc/water/AbstractMethod.java index e634ffb..1504598 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/water/AbstractMethod.java +++ b/api/src/main/java/net/momirealms/customcrops/api/misc/water/AbstractMethod.java @@ -15,7 +15,7 @@ * along with this program. If not, see . */ -package net.momirealms.customcrops.api.core.water; +package net.momirealms.customcrops.api.misc.water; import net.momirealms.customcrops.api.action.Action; import net.momirealms.customcrops.api.action.ActionManager; diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/water/FillMethod.java b/api/src/main/java/net/momirealms/customcrops/api/misc/water/FillMethod.java similarity index 96% rename from api/src/main/java/net/momirealms/customcrops/api/core/water/FillMethod.java rename to api/src/main/java/net/momirealms/customcrops/api/misc/water/FillMethod.java index 0bc43f1..a514ae2 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/water/FillMethod.java +++ b/api/src/main/java/net/momirealms/customcrops/api/misc/water/FillMethod.java @@ -15,7 +15,7 @@ * along with this program. If not, see . */ -package net.momirealms.customcrops.api.core.water; +package net.momirealms.customcrops.api.misc.water; import net.momirealms.customcrops.api.action.Action; import net.momirealms.customcrops.api.requirement.Requirement; diff --git a/api/src/main/java/net/momirealms/customcrops/api/misc/WaterBar.java b/api/src/main/java/net/momirealms/customcrops/api/misc/water/WaterBar.java similarity index 95% rename from api/src/main/java/net/momirealms/customcrops/api/misc/WaterBar.java rename to api/src/main/java/net/momirealms/customcrops/api/misc/water/WaterBar.java index 87339d6..db04298 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/misc/WaterBar.java +++ b/api/src/main/java/net/momirealms/customcrops/api/misc/water/WaterBar.java @@ -15,7 +15,7 @@ * along with this program. If not, see . */ -package net.momirealms.customcrops.api.misc; +package net.momirealms.customcrops.api.misc.water; public record WaterBar(String left, String empty, String full, String right) { diff --git a/api/src/main/java/net/momirealms/customcrops/api/core/water/WateringMethod.java b/api/src/main/java/net/momirealms/customcrops/api/misc/water/WateringMethod.java similarity index 97% rename from api/src/main/java/net/momirealms/customcrops/api/core/water/WateringMethod.java rename to api/src/main/java/net/momirealms/customcrops/api/misc/water/WateringMethod.java index a549187..5fccaf5 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/core/water/WateringMethod.java +++ b/api/src/main/java/net/momirealms/customcrops/api/misc/water/WateringMethod.java @@ -15,7 +15,7 @@ * along with this program. If not, see . */ -package net.momirealms.customcrops.api.core.water; +package net.momirealms.customcrops.api.misc.water; import net.momirealms.customcrops.api.action.Action; import net.momirealms.customcrops.api.requirement.Requirement; diff --git a/api/src/main/java/net/momirealms/customcrops/api/requirement/AbstractRequirementManager.java b/api/src/main/java/net/momirealms/customcrops/api/requirement/AbstractRequirementManager.java index 4e6b727..aa3fb72 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/requirement/AbstractRequirementManager.java +++ b/api/src/main/java/net/momirealms/customcrops/api/requirement/AbstractRequirementManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.requirement; import dev.dejvokep.boostedyaml.block.implementation.Section; diff --git a/api/src/main/java/net/momirealms/customcrops/api/util/DummyCancellable.java b/api/src/main/java/net/momirealms/customcrops/api/util/DummyCancellable.java new file mode 100644 index 0000000..fd47f9a --- /dev/null +++ b/api/src/main/java/net/momirealms/customcrops/api/util/DummyCancellable.java @@ -0,0 +1,35 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package net.momirealms.customcrops.api.util; + +import org.bukkit.event.Cancellable; + +public class DummyCancellable implements Cancellable { + + private boolean cancelled; + + @Override + public boolean isCancelled() { + return cancelled; + } + + @Override + public void setCancelled(boolean cancel) { + this.cancelled = cancel; + } +} diff --git a/api/src/main/java/net/momirealms/customcrops/api/util/FakeCancellable.java b/api/src/main/java/net/momirealms/customcrops/api/util/FakeCancellable.java deleted file mode 100644 index 3202bc7..0000000 --- a/api/src/main/java/net/momirealms/customcrops/api/util/FakeCancellable.java +++ /dev/null @@ -1,18 +0,0 @@ -package net.momirealms.customcrops.api.util; - -import org.bukkit.event.Cancellable; - -public class FakeCancellable implements Cancellable { - - private boolean cancelled; - - @Override - public boolean isCancelled() { - return cancelled; - } - - @Override - public void setCancelled(boolean cancel) { - this.cancelled = cancel; - } -} diff --git a/api/src/main/java/net/momirealms/customcrops/api/util/PluginUtils.java b/api/src/main/java/net/momirealms/customcrops/api/util/PluginUtils.java index 982e7ca..bab29e7 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/util/PluginUtils.java +++ b/api/src/main/java/net/momirealms/customcrops/api/util/PluginUtils.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.util; import org.bukkit.Bukkit; diff --git a/api/src/main/java/net/momirealms/customcrops/api/util/StringUtils.java b/api/src/main/java/net/momirealms/customcrops/api/util/StringUtils.java index 860ac8f..b67834e 100644 --- a/api/src/main/java/net/momirealms/customcrops/api/util/StringUtils.java +++ b/api/src/main/java/net/momirealms/customcrops/api/util/StringUtils.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.api.util; public class StringUtils { diff --git a/common/src/main/java/net/momirealms/customcrops/common/annotation/DoNotUse.java b/common/src/main/java/net/momirealms/customcrops/common/annotation/DoNotUse.java index ef22d08..4af0862 100644 --- a/common/src/main/java/net/momirealms/customcrops/common/annotation/DoNotUse.java +++ b/common/src/main/java/net/momirealms/customcrops/common/annotation/DoNotUse.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.common.annotation; import org.jetbrains.annotations.ApiStatus; diff --git a/common/src/main/java/net/momirealms/customcrops/common/util/Key.java b/common/src/main/java/net/momirealms/customcrops/common/util/Key.java index 2835d74..17488d9 100644 --- a/common/src/main/java/net/momirealms/customcrops/common/util/Key.java +++ b/common/src/main/java/net/momirealms/customcrops/common/util/Key.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.common.util; public class Key { diff --git a/compatibility-asp-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/adaptor/asp_r1/SlimeWorldAdaptorR1.java b/compatibility-asp-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/adaptor/asp_r1/SlimeWorldAdaptorR1.java index b29042f..6dbaaf1 100644 --- a/compatibility-asp-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/adaptor/asp_r1/SlimeWorldAdaptorR1.java +++ b/compatibility-asp-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/adaptor/asp_r1/SlimeWorldAdaptorR1.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.integration.adaptor.asp_r1; import com.flowpowered.nbt.*; diff --git a/compatibility-itemsadder-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/itemsadder_r1/ItemsAdderListener.java b/compatibility-itemsadder-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/itemsadder_r1/ItemsAdderListener.java index 217383d..7b611cd 100644 --- a/compatibility-itemsadder-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/itemsadder_r1/ItemsAdderListener.java +++ b/compatibility-itemsadder-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/itemsadder_r1/ItemsAdderListener.java @@ -1,9 +1,26 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.integration.custom.itemsadder_r1; import dev.lone.itemsadder.api.Events.*; import net.momirealms.customcrops.api.core.AbstractCustomEventListener; import net.momirealms.customcrops.api.core.AbstractItemManager; -import net.momirealms.customcrops.api.util.FakeCancellable; +import net.momirealms.customcrops.api.util.DummyCancellable; import org.bukkit.event.EventHandler; import org.bukkit.inventory.EquipmentSlot; @@ -73,7 +90,7 @@ public class ItemsAdderListener extends AbstractCustomEventListener { event.getNamespacedID(), EquipmentSlot.HAND, event.getPlayer().getInventory().getItemInMainHand(), - new FakeCancellable() + new DummyCancellable() ); } } diff --git a/compatibility-itemsadder-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/itemsadder_r1/ItemsAdderProvider.java b/compatibility-itemsadder-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/itemsadder_r1/ItemsAdderProvider.java index 23f0f43..3d42b97 100644 --- a/compatibility-itemsadder-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/itemsadder_r1/ItemsAdderProvider.java +++ b/compatibility-itemsadder-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/itemsadder_r1/ItemsAdderProvider.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.integration.custom.itemsadder_r1; import dev.lone.itemsadder.api.CustomBlock; diff --git a/compatibility-oraxen-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r1/OraxenListener.java b/compatibility-oraxen-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r1/OraxenListener.java index a9a9e30..4f957e8 100644 --- a/compatibility-oraxen-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r1/OraxenListener.java +++ b/compatibility-oraxen-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r1/OraxenListener.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.integration.custom.oraxen_r1; import io.th0rgal.oraxen.api.events.furniture.OraxenFurnitureBreakEvent; diff --git a/compatibility-oraxen-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r1/OraxenProvider.java b/compatibility-oraxen-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r1/OraxenProvider.java index 6be0cb5..a491aba 100644 --- a/compatibility-oraxen-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r1/OraxenProvider.java +++ b/compatibility-oraxen-r1/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r1/OraxenProvider.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.integration.custom.oraxen_r1; import io.th0rgal.oraxen.api.OraxenBlocks; diff --git a/compatibility-oraxen-r2/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r2/OraxenListener.java b/compatibility-oraxen-r2/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r2/OraxenListener.java index c6a0b2c..b5c7945 100644 --- a/compatibility-oraxen-r2/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r2/OraxenListener.java +++ b/compatibility-oraxen-r2/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r2/OraxenListener.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.integration.custom.oraxen_r2; import io.th0rgal.oraxen.api.events.custom_block.noteblock.OraxenNoteBlockBreakEvent; diff --git a/compatibility-oraxen-r2/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r2/OraxenProvider.java b/compatibility-oraxen-r2/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r2/OraxenProvider.java index 7999c17..81293d1 100644 --- a/compatibility-oraxen-r2/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r2/OraxenProvider.java +++ b/compatibility-oraxen-r2/src/main/java/net/momirealms/customcrops/bukkit/integration/custom/oraxen_r2/OraxenProvider.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.integration.custom.oraxen_r2; import io.th0rgal.oraxen.api.OraxenBlocks; diff --git a/compatibility/src/main/java/net/momirealms/customcrops/bukkit/integration/papi/CustomCropsPapi.java b/compatibility/src/main/java/net/momirealms/customcrops/bukkit/integration/papi/CustomCropsPapi.java index 91c836b..05b9aa1 100644 --- a/compatibility/src/main/java/net/momirealms/customcrops/bukkit/integration/papi/CustomCropsPapi.java +++ b/compatibility/src/main/java/net/momirealms/customcrops/bukkit/integration/papi/CustomCropsPapi.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.integration.papi; import me.clip.placeholderapi.expansion.PlaceholderExpansion; diff --git a/plugin/src/main/java/net/momirealms/customcrops/bukkit/BukkitCustomCropsPluginImpl.java b/plugin/src/main/java/net/momirealms/customcrops/bukkit/BukkitCustomCropsPluginImpl.java index 852394a..3882e21 100644 --- a/plugin/src/main/java/net/momirealms/customcrops/bukkit/BukkitCustomCropsPluginImpl.java +++ b/plugin/src/main/java/net/momirealms/customcrops/bukkit/BukkitCustomCropsPluginImpl.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit; import net.momirealms.customcrops.api.BukkitCustomCropsPlugin; diff --git a/plugin/src/main/java/net/momirealms/customcrops/bukkit/action/BlockActionManager.java b/plugin/src/main/java/net/momirealms/customcrops/bukkit/action/BlockActionManager.java index a09aed2..c4d0e30 100644 --- a/plugin/src/main/java/net/momirealms/customcrops/bukkit/action/BlockActionManager.java +++ b/plugin/src/main/java/net/momirealms/customcrops/bukkit/action/BlockActionManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.action; import dev.dejvokep.boostedyaml.block.implementation.Section; diff --git a/plugin/src/main/java/net/momirealms/customcrops/bukkit/action/PlayerActionManager.java b/plugin/src/main/java/net/momirealms/customcrops/bukkit/action/PlayerActionManager.java index d6cd172..408d23d 100644 --- a/plugin/src/main/java/net/momirealms/customcrops/bukkit/action/PlayerActionManager.java +++ b/plugin/src/main/java/net/momirealms/customcrops/bukkit/action/PlayerActionManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.action; import dev.dejvokep.boostedyaml.block.implementation.Section; diff --git a/plugin/src/main/java/net/momirealms/customcrops/bukkit/config/BukkitConfigManager.java b/plugin/src/main/java/net/momirealms/customcrops/bukkit/config/BukkitConfigManager.java index 81ab091..f4d3639 100644 --- a/plugin/src/main/java/net/momirealms/customcrops/bukkit/config/BukkitConfigManager.java +++ b/plugin/src/main/java/net/momirealms/customcrops/bukkit/config/BukkitConfigManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.config; import dev.dejvokep.boostedyaml.YamlDocument; diff --git a/plugin/src/main/java/net/momirealms/customcrops/bukkit/config/ConfigType.java b/plugin/src/main/java/net/momirealms/customcrops/bukkit/config/ConfigType.java index 0922040..26fa0ed 100644 --- a/plugin/src/main/java/net/momirealms/customcrops/bukkit/config/ConfigType.java +++ b/plugin/src/main/java/net/momirealms/customcrops/bukkit/config/ConfigType.java @@ -33,7 +33,7 @@ import net.momirealms.customcrops.api.core.item.FertilizerConfig; import net.momirealms.customcrops.api.core.item.FertilizerType; import net.momirealms.customcrops.api.core.item.WateringCanConfig; import net.momirealms.customcrops.api.core.world.CustomCropsBlockState; -import net.momirealms.customcrops.api.misc.WaterBar; +import net.momirealms.customcrops.api.misc.water.WaterBar; import net.momirealms.customcrops.api.misc.value.TextValue; import net.momirealms.customcrops.api.requirement.RequirementManager; import net.momirealms.customcrops.common.util.Pair; diff --git a/plugin/src/main/java/net/momirealms/customcrops/bukkit/integration/adaptor/BukkitWorldAdaptor.java b/plugin/src/main/java/net/momirealms/customcrops/bukkit/integration/adaptor/BukkitWorldAdaptor.java index c40d815..becf60b 100644 --- a/plugin/src/main/java/net/momirealms/customcrops/bukkit/integration/adaptor/BukkitWorldAdaptor.java +++ b/plugin/src/main/java/net/momirealms/customcrops/bukkit/integration/adaptor/BukkitWorldAdaptor.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.integration.adaptor; import com.flowpowered.nbt.CompoundMap; diff --git a/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/BukkitItemFactory.java b/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/BukkitItemFactory.java index 7b8ce39..588dceb 100644 --- a/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/BukkitItemFactory.java +++ b/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/BukkitItemFactory.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.item; import com.saicone.rtag.RtagItem; diff --git a/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/BukkitItemManager.java b/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/BukkitItemManager.java index 818ffa5..3241abe 100644 --- a/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/BukkitItemManager.java +++ b/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/BukkitItemManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.item; import net.kyori.adventure.key.Key; diff --git a/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/ComponentItemFactory.java b/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/ComponentItemFactory.java index fb6ad11..e8b8700 100644 --- a/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/ComponentItemFactory.java +++ b/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/ComponentItemFactory.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.item; import com.saicone.rtag.RtagItem; diff --git a/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/UniversalItemFactory.java b/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/UniversalItemFactory.java index 5cfc346..8b59ca5 100644 --- a/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/UniversalItemFactory.java +++ b/plugin/src/main/java/net/momirealms/customcrops/bukkit/item/UniversalItemFactory.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.item; import com.saicone.rtag.RtagItem; diff --git a/plugin/src/main/java/net/momirealms/customcrops/bukkit/requirement/BlockRequirementManager.java b/plugin/src/main/java/net/momirealms/customcrops/bukkit/requirement/BlockRequirementManager.java index 23e247d..f33c3a0 100644 --- a/plugin/src/main/java/net/momirealms/customcrops/bukkit/requirement/BlockRequirementManager.java +++ b/plugin/src/main/java/net/momirealms/customcrops/bukkit/requirement/BlockRequirementManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.requirement; import net.momirealms.customcrops.api.BukkitCustomCropsPlugin; diff --git a/plugin/src/main/java/net/momirealms/customcrops/bukkit/requirement/PlayerRequirementManager.java b/plugin/src/main/java/net/momirealms/customcrops/bukkit/requirement/PlayerRequirementManager.java index 2049255..fa16d86 100644 --- a/plugin/src/main/java/net/momirealms/customcrops/bukkit/requirement/PlayerRequirementManager.java +++ b/plugin/src/main/java/net/momirealms/customcrops/bukkit/requirement/PlayerRequirementManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.requirement; import dev.dejvokep.boostedyaml.block.implementation.Section; diff --git a/plugin/src/main/java/net/momirealms/customcrops/bukkit/scheduler/DummyTask.java b/plugin/src/main/java/net/momirealms/customcrops/bukkit/scheduler/DummyTask.java index 2c98218..8744895 100644 --- a/plugin/src/main/java/net/momirealms/customcrops/bukkit/scheduler/DummyTask.java +++ b/plugin/src/main/java/net/momirealms/customcrops/bukkit/scheduler/DummyTask.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.scheduler; import net.momirealms.customcrops.common.plugin.scheduler.SchedulerTask; diff --git a/plugin/src/main/java/net/momirealms/customcrops/bukkit/world/BukkitWorldManager.java b/plugin/src/main/java/net/momirealms/customcrops/bukkit/world/BukkitWorldManager.java index 4df5103..e4bb997 100644 --- a/plugin/src/main/java/net/momirealms/customcrops/bukkit/world/BukkitWorldManager.java +++ b/plugin/src/main/java/net/momirealms/customcrops/bukkit/world/BukkitWorldManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) <2024> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package net.momirealms.customcrops.bukkit.world; import dev.dejvokep.boostedyaml.YamlDocument;