From 192ef938331ab500fc2d41efbbf97aaf48dd70dc Mon Sep 17 00:00:00 2001 From: Helvetica Volubi Date: Sun, 31 Aug 2025 00:04:58 +0800 Subject: [PATCH] upload license --- .../org/leavesmc/leaves/entity/bot/Bot.java | 17 +++++++++++++++++ .../leaves/entity/bot/BotCreator.java | 17 +++++++++++++++++ .../leaves/entity/bot/BotManager.java | 17 +++++++++++++++++ .../entity/bot/action/AttackAction.java | 17 +++++++++++++++++ .../leaves/entity/bot/action/BotAction.java | 17 +++++++++++++++++ .../entity/bot/action/BreakBlockAction.java | 17 +++++++++++++++++ .../leaves/entity/bot/action/DropAction.java | 17 +++++++++++++++++ .../leaves/entity/bot/action/FishAction.java | 17 +++++++++++++++++ .../leaves/entity/bot/action/JumpAction.java | 17 +++++++++++++++++ .../leaves/entity/bot/action/LookAction.java | 17 +++++++++++++++++ .../leaves/entity/bot/action/MountAction.java | 17 +++++++++++++++++ .../leaves/entity/bot/action/MoveAction.java | 17 +++++++++++++++++ .../entity/bot/action/RotationAction.java | 17 +++++++++++++++++ .../leaves/entity/bot/action/SneakAction.java | 17 +++++++++++++++++ .../entity/bot/action/StateBotAction.java | 17 +++++++++++++++++ .../leaves/entity/bot/action/SwapAction.java | 17 +++++++++++++++++ .../leaves/entity/bot/action/SwimAction.java | 17 +++++++++++++++++ .../entity/bot/action/TimerBotAction.java | 17 +++++++++++++++++ .../entity/bot/action/UseItemAction.java | 17 +++++++++++++++++ .../entity/bot/action/UseItemAutoAction.java | 17 +++++++++++++++++ .../bot/action/UseItemOffhandAction.java | 17 +++++++++++++++++ .../entity/bot/action/UseItemOnAction.java | 17 +++++++++++++++++ .../bot/action/UseItemOnOffhandAction.java | 17 +++++++++++++++++ .../entity/bot/action/UseItemToAction.java | 17 +++++++++++++++++ .../bot/action/UseItemToOffhandAction.java | 17 +++++++++++++++++ .../leaves/event/bot/BotActionEvent.java | 17 +++++++++++++++++ .../event/bot/BotActionExecuteEvent.java | 17 +++++++++++++++++ .../event/bot/BotActionScheduleEvent.java | 17 +++++++++++++++++ .../leaves/event/bot/BotActionStopEvent.java | 17 +++++++++++++++++ .../event/bot/BotConfigModifyEvent.java | 17 +++++++++++++++++ .../leaves/event/bot/BotCreateEvent.java | 17 +++++++++++++++++ .../leaves/event/bot/BotDeathEvent.java | 17 +++++++++++++++++ .../leavesmc/leaves/event/bot/BotEvent.java | 17 +++++++++++++++++ .../event/bot/BotInventoryOpenEvent.java | 17 +++++++++++++++++ .../leaves/event/bot/BotJoinEvent.java | 17 +++++++++++++++++ .../leaves/event/bot/BotLoadEvent.java | 17 +++++++++++++++++ .../leaves/event/bot/BotRemoveEvent.java | 17 +++++++++++++++++ .../event/bot/BotSpawnLocationEvent.java | 17 +++++++++++++++++ .../player/PlayerOperationLimitEvent.java | 19 ++++++++++++++++++- .../event/player/UpdateSuppressionEvent.java | 17 +++++++++++++++++ ...ch => 0020-Leaves-Leaves-Fakeplayer.patch} | 15 +++++++++------ ...ch => 0004-Leaves-Leaves-Fakeplayer.patch} | 9 ++++++--- .../{misc => function}/FakeplayerConfig.java | 4 ++-- .../org/leavesmc/leaves/bot/BotCommand.java | 19 ++++++++++++++++++- .../leavesmc/leaves/bot/BotCreateState.java | 19 ++++++++++++++++++- .../leavesmc/leaves/bot/BotDataStorage.java | 17 +++++++++++++++++ .../leaves/bot/BotInventoryContainer.java | 17 +++++++++++++++++ .../java/org/leavesmc/leaves/bot/BotList.java | 19 ++++++++++++++++++- .../leavesmc/leaves/bot/BotRecipeBook.java | 17 +++++++++++++++++ .../leavesmc/leaves/bot/BotStatsCounter.java | 17 +++++++++++++++++ .../java/org/leavesmc/leaves/bot/BotUtil.java | 19 ++++++++++++++++++- .../leaves/bot/IPlayerDataStorage.java | 17 +++++++++++++++++ .../org/leavesmc/leaves/bot/MojangAPI.java | 19 ++++++++++++++++++- .../org/leavesmc/leaves/bot/ServerBot.java | 19 ++++++++++++++++++- .../leaves/bot/ServerBotGameMode.java | 17 +++++++++++++++++ .../bot/ServerBotPacketListenerImpl.java | 17 +++++++++++++++++ .../leaves/bot/agent/AbstractBotConfig.java | 17 +++++++++++++++++ .../leavesmc/leaves/bot/agent/Actions.java | 17 +++++++++++++++++ .../leavesmc/leaves/bot/agent/Configs.java | 17 +++++++++++++++++ .../bot/agent/actions/ServerAttackAction.java | 17 +++++++++++++++++ .../bot/agent/actions/ServerBotAction.java | 17 +++++++++++++++++ .../agent/actions/ServerBreakBlockAction.java | 17 +++++++++++++++++ .../bot/agent/actions/ServerDropAction.java | 17 +++++++++++++++++ .../bot/agent/actions/ServerFishAction.java | 17 +++++++++++++++++ .../bot/agent/actions/ServerJumpAction.java | 17 +++++++++++++++++ .../bot/agent/actions/ServerLookAction.java | 17 +++++++++++++++++ .../bot/agent/actions/ServerMountAction.java | 17 +++++++++++++++++ .../bot/agent/actions/ServerMoveAction.java | 17 +++++++++++++++++ .../agent/actions/ServerRotationAction.java | 17 +++++++++++++++++ .../bot/agent/actions/ServerSneakAction.java | 17 +++++++++++++++++ .../agent/actions/ServerStateBotAction.java | 17 +++++++++++++++++ .../bot/agent/actions/ServerSwapAction.java | 17 +++++++++++++++++ .../bot/agent/actions/ServerSwimAction.java | 17 +++++++++++++++++ .../agent/actions/ServerTimerBotAction.java | 17 +++++++++++++++++ .../bot/agent/actions/ServerUseBotAction.java | 17 +++++++++++++++++ .../agent/actions/ServerUseItemAction.java | 17 +++++++++++++++++ .../actions/ServerUseItemAutoAction.java | 17 +++++++++++++++++ .../actions/ServerUseItemOffhandAction.java | 17 +++++++++++++++++ .../agent/actions/ServerUseItemOnAction.java | 17 +++++++++++++++++ .../actions/ServerUseItemOnOffhandAction.java | 17 +++++++++++++++++ .../agent/actions/ServerUseItemToAction.java | 17 +++++++++++++++++ .../actions/ServerUseItemToOffhandAction.java | 17 +++++++++++++++++ .../agent/configs/AlwaysSendDataConfig.java | 19 ++++++++++++++++++- .../bot/agent/configs/LocatorBarConfig.java | 19 ++++++++++++++++++- .../configs/SimulationDistanceConfig.java | 19 ++++++++++++++++++- .../bot/agent/configs/SkipSleepConfig.java | 19 ++++++++++++++++++- .../bot/agent/configs/SpawnPhantomConfig.java | 19 ++++++++++++++++++- .../bot/agent/configs/TickTypeConfig.java | 19 ++++++++++++++++++- .../leavesmc/leaves/entity/bot/CraftBot.java | 17 +++++++++++++++++ .../leaves/entity/bot/CraftBotManager.java | 17 +++++++++++++++++ .../entity/bot/actions/CraftAttackAction.java | 17 +++++++++++++++++ .../entity/bot/actions/CraftBotAction.java | 17 +++++++++++++++++ .../bot/actions/CraftBreakBlockAction.java | 17 +++++++++++++++++ .../entity/bot/actions/CraftDropAction.java | 17 +++++++++++++++++ .../entity/bot/actions/CraftFishAction.java | 17 +++++++++++++++++ .../entity/bot/actions/CraftJumpAction.java | 17 +++++++++++++++++ .../entity/bot/actions/CraftLookAction.java | 17 +++++++++++++++++ .../entity/bot/actions/CraftMountAction.java | 17 +++++++++++++++++ .../entity/bot/actions/CraftMoveAction.java | 17 +++++++++++++++++ .../bot/actions/CraftRotationAction.java | 17 +++++++++++++++++ .../entity/bot/actions/CraftSneakAction.java | 17 +++++++++++++++++ .../entity/bot/actions/CraftSwapAction.java | 17 +++++++++++++++++ .../entity/bot/actions/CraftSwimAction.java | 17 +++++++++++++++++ .../bot/actions/CraftTimerBotAction.java | 17 +++++++++++++++++ .../bot/actions/CraftUseItemAction.java | 17 +++++++++++++++++ .../bot/actions/CraftUseItemAutoAction.java | 17 +++++++++++++++++ .../actions/CraftUseItemOffhandAction.java | 17 +++++++++++++++++ .../bot/actions/CraftUseItemOnAction.java | 17 +++++++++++++++++ .../actions/CraftUseItemOnOffhandAction.java | 17 +++++++++++++++++ .../bot/actions/CraftUseItemToAction.java | 17 +++++++++++++++++ .../actions/CraftUseItemToOffhandAction.java | 17 +++++++++++++++++ .../org/leavesmc/leaves/util/MathUtils.java | 17 +++++++++++++++++ .../util/UpdateSuppressionException.java | 17 +++++++++++++++++ 113 files changed, 1900 insertions(+), 24 deletions(-) rename lophine-server/minecraft-patches/features/{0020-Leaves-Fakeplayer.patch => 0020-Leaves-Leaves-Fakeplayer.patch} (98%) rename lophine-server/paper-patches/features/{0004-Leaves-Fakeplayer.patch => 0004-Leaves-Leaves-Fakeplayer.patch} (95%) rename lophine-server/src/main/java/fun/bm/lophine/config/modules/{misc => function}/FakeplayerConfig.java (96%) diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/Bot.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/Bot.java index df7dbdd..ed54a9a 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/Bot.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/Bot.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot; import org.bukkit.entity.Player; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/BotCreator.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/BotCreator.java index e70b1f3..dd894be 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/BotCreator.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/BotCreator.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/BotManager.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/BotManager.java index c434364..edc1bf9 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/BotManager.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/BotManager.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot; import org.bukkit.Location; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/AttackAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/AttackAction.java index 9b773f7..8028a50 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/AttackAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/AttackAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/BotAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/BotAction.java index 8e64511..d5479eb 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/BotAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/BotAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import java.util.UUID; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/BreakBlockAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/BreakBlockAction.java index a314fd1..6709b4d 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/BreakBlockAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/BreakBlockAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/DropAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/DropAction.java index 606ebad..a5b5b8c 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/DropAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/DropAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/FishAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/FishAction.java index 2fc985c..9b9bd58 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/FishAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/FishAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/JumpAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/JumpAction.java index 5daf5fc..ba1fcfb 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/JumpAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/JumpAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/LookAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/LookAction.java index ea0db1d..33ca10b 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/LookAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/LookAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/MountAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/MountAction.java index 8452485..713f9d4 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/MountAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/MountAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/MoveAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/MoveAction.java index eb855bb..6f08a68 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/MoveAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/MoveAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/RotationAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/RotationAction.java index 9fb7544..7301157 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/RotationAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/RotationAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/SneakAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/SneakAction.java index 23c68e6..a84ff90 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/SneakAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/SneakAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/StateBotAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/StateBotAction.java index 7199f34..3aa63be 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/StateBotAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/StateBotAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; /** diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/SwapAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/SwapAction.java index b7407b9..74969e8 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/SwapAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/SwapAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/SwimAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/SwimAction.java index 6fa03c6..603c427 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/SwimAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/SwimAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/TimerBotAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/TimerBotAction.java index c75129f..698b2ee 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/TimerBotAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/TimerBotAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; /** diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemAction.java index 8cc70df..1104909 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemAutoAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemAutoAction.java index a4d7af3..c1a5d37 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemAutoAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemAutoAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemOffhandAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemOffhandAction.java index 4bd4cc3..694c194 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemOffhandAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemOffhandAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemOnAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemOnAction.java index 6697bb2..e66a0b6 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemOnAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemOnAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemOnOffhandAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemOnOffhandAction.java index cd1859e..951472e 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemOnOffhandAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemOnOffhandAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemToAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemToAction.java index d9c3b73..637d5e4 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemToAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemToAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemToOffhandAction.java b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemToOffhandAction.java index 9469c6e..896c552 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemToOffhandAction.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/entity/bot/action/UseItemToOffhandAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.action; import org.bukkit.Bukkit; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionEvent.java b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionEvent.java index fcaf302..62f1ab0 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionEvent.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionEvent.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.event.bot; import org.jetbrains.annotations.NotNull; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionExecuteEvent.java b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionExecuteEvent.java index 9c298ae..82ff77b 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionExecuteEvent.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionExecuteEvent.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.event.bot; import org.bukkit.event.Cancellable; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionScheduleEvent.java b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionScheduleEvent.java index f93f1e9..6c7adf6 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionScheduleEvent.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionScheduleEvent.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.event.bot; import org.bukkit.command.CommandSender; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionStopEvent.java b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionStopEvent.java index ee79a86..b8bd870 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionStopEvent.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotActionStopEvent.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.event.bot; import org.bukkit.command.CommandSender; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotConfigModifyEvent.java b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotConfigModifyEvent.java index ce3ec9d..36f3f82 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotConfigModifyEvent.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotConfigModifyEvent.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.event.bot; import org.bukkit.command.CommandSender; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotCreateEvent.java b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotCreateEvent.java index 90dd5ec..2c580ed 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotCreateEvent.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotCreateEvent.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.event.bot; import org.bukkit.Location; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotDeathEvent.java b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotDeathEvent.java index 8709a0f..edbf0eb 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotDeathEvent.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotDeathEvent.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.event.bot; import net.kyori.adventure.text.Component; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotEvent.java b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotEvent.java index f046c48..ed78f43 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotEvent.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotEvent.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.event.bot; import org.bukkit.event.Event; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotInventoryOpenEvent.java b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotInventoryOpenEvent.java index e1587ef..d8c1ea8 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotInventoryOpenEvent.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotInventoryOpenEvent.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.event.bot; import org.bukkit.entity.Player; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotJoinEvent.java b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotJoinEvent.java index bef0e30..2e21003 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotJoinEvent.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotJoinEvent.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.event.bot; import net.kyori.adventure.text.Component; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotLoadEvent.java b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotLoadEvent.java index 2e2b034..6609665 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotLoadEvent.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotLoadEvent.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.event.bot; import org.bukkit.event.Cancellable; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotRemoveEvent.java b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotRemoveEvent.java index 794e859..61c7c43 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotRemoveEvent.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotRemoveEvent.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.event.bot; import net.kyori.adventure.text.Component; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotSpawnLocationEvent.java b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotSpawnLocationEvent.java index 7528ccd..4ac2662 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotSpawnLocationEvent.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/event/bot/BotSpawnLocationEvent.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.event.bot; import org.bukkit.Location; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/event/player/PlayerOperationLimitEvent.java b/lophine-api/src/main/java/org/leavesmc/leaves/event/player/PlayerOperationLimitEvent.java index 090d1ba..4e82627 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/event/player/PlayerOperationLimitEvent.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/event/player/PlayerOperationLimitEvent.java @@ -1,4 +1,21 @@ -package org.leavesmc.leaves.event.bot.player; +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + +package org.leavesmc.leaves.event.player; import org.bukkit.block.Block; import org.bukkit.entity.Player; diff --git a/lophine-api/src/main/java/org/leavesmc/leaves/event/player/UpdateSuppressionEvent.java b/lophine-api/src/main/java/org/leavesmc/leaves/event/player/UpdateSuppressionEvent.java index 61215a7..e7a6cb1 100644 --- a/lophine-api/src/main/java/org/leavesmc/leaves/event/player/UpdateSuppressionEvent.java +++ b/lophine-api/src/main/java/org/leavesmc/leaves/event/player/UpdateSuppressionEvent.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.event.player; import org.bukkit.Location; diff --git a/lophine-server/minecraft-patches/features/0020-Leaves-Fakeplayer.patch b/lophine-server/minecraft-patches/features/0020-Leaves-Leaves-Fakeplayer.patch similarity index 98% rename from lophine-server/minecraft-patches/features/0020-Leaves-Fakeplayer.patch rename to lophine-server/minecraft-patches/features/0020-Leaves-Leaves-Fakeplayer.patch index 1275e92..04238ed 100644 --- a/lophine-server/minecraft-patches/features/0020-Leaves-Fakeplayer.patch +++ b/lophine-server/minecraft-patches/features/0020-Leaves-Leaves-Fakeplayer.patch @@ -1,8 +1,11 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Bacteriawa Date: Sat, 30 Aug 2025 17:16:32 +0800 -Subject: [PATCH] Leaves Fakeplayer +Subject: [PATCH] Leaves: Leaves Fakeplayer +Co-authored by: violetc <58360096+s-yh-china@users.noreply.github.com> +As a part of : Leaves (https://github.com/LeavesMC/Leaves) +Licensed under: GPL-3.0 (https://www.gnu.org/licenses/gpl-3.0.html) diff --git a/net/minecraft/advancements/critereon/SimpleCriterionTrigger.java b/net/minecraft/advancements/critereon/SimpleCriterionTrigger.java index a82d84283632342bd30bc3449983431ba43583e0..f59526f6bfa1b4af5b474f0b438513c96afb491c 100644 @@ -316,7 +319,7 @@ index 576dde41a4b48aac9079cca902f4371a31470af3..952b92c55d7192791a19ecebe80894f6 ServerLevel.this.updateSleepingPlayerList(); } diff --git a/net/minecraft/server/level/ServerPlayer.java b/net/minecraft/server/level/ServerPlayer.java -index c29e9c6cb2513fe4b01a619e16433893efb44e6f..58ffb996e0f8dce56c4def265dc51ed49ee31df4 100644 +index c29e9c6cb2513fe4b01a619e16433893efb44e6f..ff803b5f73f7d2cfe9351add12c3fde69a1642b1 100644 --- a/net/minecraft/server/level/ServerPlayer.java +++ b/net/minecraft/server/level/ServerPlayer.java @@ -219,7 +219,7 @@ public class ServerPlayer extends Player implements ca.spottedleaf.moonrise.patc @@ -370,7 +373,7 @@ index c29e9c6cb2513fe4b01a619e16433893efb44e6f..58ffb996e0f8dce56c4def265dc51ed4 this.lastSentFood = -1; this.teleportSpectators(teleportTransition, serverLevel); + // Leaves start - bot support -+ if (fun.bm.lophine.config.modules.misc.FakeplayerConfig.enable) { ++ if (fun.bm.lophine.config.modules.function.FakeplayerConfig.enable) { + this.server.getBotList().bots.forEach(bot -> bot.sendFakeDataIfNeed(this, true)); // Leaves - render bot + } + // Leaves end - bot support @@ -427,7 +430,7 @@ index 144a2644c15f276f02bb3be859dc5d05a677ac55..c6a89e8936cffa49b3de153ed3c40e3c boolean stateLocked = true; try { this.stateLock.lock(); // Paper - Fix GameProfileCache concurrency GameProfileCache.GameProfileInfo gameProfileInfo = this.profilesByName.get(string); diff --git a/net/minecraft/server/players/PlayerList.java b/net/minecraft/server/players/PlayerList.java -index cb863a36fc67e993956ec3be655e6e4b9764c051..cd50b39a910f6a4bc07a4065cc4e6a84ab1e8750 100644 +index cb863a36fc67e993956ec3be655e6e4b9764c051..908ec29a6e285122d1a8a43dc547b74af2697442 100644 --- a/net/minecraft/server/players/PlayerList.java +++ b/net/minecraft/server/players/PlayerList.java @@ -425,6 +425,19 @@ public abstract class PlayerList { @@ -435,7 +438,7 @@ index cb863a36fc67e993956ec3be655e6e4b9764c051..cd50b39a910f6a4bc07a4065cc4e6a84 org.leavesmc.leaves.protocol.core.LeavesProtocolManager.handlePlayerJoin(player); + // Leaves start - bot support -+ if (fun.bm.lophine.config.modules.misc.FakeplayerConfig.enable) { ++ if (fun.bm.lophine.config.modules.function.FakeplayerConfig.enable) { + org.leavesmc.leaves.bot.ServerBot bot = this.server.getBotList().getBotByName(player.getScoreboardName()); + if (bot != null) { + this.server.getBotList().removeBot(bot, org.leavesmc.leaves.event.bot.BotRemoveEvent.RemoveReason.INTERNAL, player.getBukkitEntity(), false); @@ -455,7 +458,7 @@ index cb863a36fc67e993956ec3be655e6e4b9764c051..cd50b39a910f6a4bc07a4065cc4e6a84 // Paper end - Add PlayerPostRespawnEvent + // Leaves start - bot support -+ if (fun.bm.lophine.config.modules.misc.FakeplayerConfig.enable) { ++ if (fun.bm.lophine.config.modules.function.FakeplayerConfig.enable) { + this.server.getBotList().bots.forEach(bot -> bot.sendFakeDataIfNeed(serverPlayer, true)); // Leaves - render bot + } + // Leaves end - bot support diff --git a/lophine-server/paper-patches/features/0004-Leaves-Fakeplayer.patch b/lophine-server/paper-patches/features/0004-Leaves-Leaves-Fakeplayer.patch similarity index 95% rename from lophine-server/paper-patches/features/0004-Leaves-Fakeplayer.patch rename to lophine-server/paper-patches/features/0004-Leaves-Leaves-Fakeplayer.patch index bf97012..e6b9b84 100644 --- a/lophine-server/paper-patches/features/0004-Leaves-Fakeplayer.patch +++ b/lophine-server/paper-patches/features/0004-Leaves-Leaves-Fakeplayer.patch @@ -1,11 +1,14 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Bacteriawa Date: Sat, 30 Aug 2025 17:07:02 +0800 -Subject: [PATCH] Leaves Fakeplayer +Subject: [PATCH] Leaves: Leaves Fakeplayer +Co-authored by: violetc <58360096+s-yh-china@users.noreply.github.com> +As a part of : Leaves (https://github.com/LeavesMC/Leaves) +Licensed under: GPL-3.0 (https://www.gnu.org/licenses/gpl-3.0.html) diff --git a/src/main/java/io/papermc/paper/plugin/manager/PaperEventManager.java b/src/main/java/io/papermc/paper/plugin/manager/PaperEventManager.java -index 9180f23529a31b6b0a5b38bb7cda3e32d487f691..5a047006895cf6e0d58502f9502d1b49abaf84bf 100644 +index 9180f23529a31b6b0a5b38bb7cda3e32d487f691..cc8686b791f4c559e51bb06b52b02e295b6e0547 100644 --- a/src/main/java/io/papermc/paper/plugin/manager/PaperEventManager.java +++ b/src/main/java/io/papermc/paper/plugin/manager/PaperEventManager.java @@ -47,6 +47,23 @@ class PaperEventManager { @@ -19,7 +22,7 @@ index 9180f23529a31b6b0a5b38bb7cda3e32d487f691..5a047006895cf6e0d58502f9502d1b49 + // Leaves end - skip bot + + // Leaves start - process bot load/save -+ if (fun.bm.lophine.config.modules.misc.FakeplayerConfig.enable && fun.bm.lophine.config.modules.misc.FakeplayerConfig.canResident) { ++ if (fun.bm.lophine.config.modules.function.FakeplayerConfig.enable && fun.bm.lophine.config.modules.function.FakeplayerConfig.canResident) { + if (event instanceof org.bukkit.event.world.WorldLoadEvent worldLoadEvent) { + org.leavesmc.leaves.bot.BotList.INSTANCE.loadResume(worldLoadEvent.getWorld().getUID().toString()); + } else if (event instanceof org.bukkit.event.world.WorldUnloadEvent worldUnloadEvent) { diff --git a/lophine-server/src/main/java/fun/bm/lophine/config/modules/misc/FakeplayerConfig.java b/lophine-server/src/main/java/fun/bm/lophine/config/modules/function/FakeplayerConfig.java similarity index 96% rename from lophine-server/src/main/java/fun/bm/lophine/config/modules/misc/FakeplayerConfig.java rename to lophine-server/src/main/java/fun/bm/lophine/config/modules/function/FakeplayerConfig.java index b712c07..5d2df0d 100644 --- a/lophine-server/src/main/java/fun/bm/lophine/config/modules/misc/FakeplayerConfig.java +++ b/lophine-server/src/main/java/fun/bm/lophine/config/modules/function/FakeplayerConfig.java @@ -1,4 +1,4 @@ -package fun.bm.lophine.config.modules.misc; +package fun.bm.lophine.config.modules.function; import com.electronwill.nightconfig.core.file.CommentedFileConfig; import me.earthme.luminol.config.IConfigModule; @@ -14,7 +14,7 @@ import org.leavesmc.leaves.bot.agent.Actions; import java.util.List; import java.util.Locale; -@ConfigClassInfo(configAttribution = EnumConfigCategory.MISC, mainName = "fakeplayer") +@ConfigClassInfo(configAttribution = EnumConfigCategory.FUNCTION, mainName = "fakeplayer") public class FakeplayerConfig implements IConfigModule { @ConfigInfo(baseName = "enable", comments = """ Enable fakeplayer functionality""") diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotCommand.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotCommand.java index 67ad9aa..10a4ec7 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotCommand.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotCommand.java @@ -1,7 +1,24 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot; import com.mojang.logging.LogUtils; -import fun.bm.lophine.config.modules.misc.FakeplayerConfig; +import fun.bm.lophine.config.modules.function.FakeplayerConfig; import net.kyori.adventure.text.Component; import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.TextColor; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotCreateState.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotCreateState.java index 30dff55..fcd620f 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotCreateState.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotCreateState.java @@ -1,6 +1,23 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot; -import fun.bm.lophine.config.modules.misc.FakeplayerConfig; +import fun.bm.lophine.config.modules.function.FakeplayerConfig; import net.minecraft.server.MinecraftServer; import org.bukkit.Bukkit; import org.bukkit.Location; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotDataStorage.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotDataStorage.java index a23420a..5eca881 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotDataStorage.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotDataStorage.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot; import com.mojang.logging.LogUtils; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotInventoryContainer.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotInventoryContainer.java index 1a50675..86bb0d2 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotInventoryContainer.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotInventoryContainer.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot; import net.minecraft.core.component.DataComponentPatch; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotList.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotList.java index 202b2f2..bfd4143 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotList.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotList.java @@ -1,10 +1,27 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot; import com.google.common.collect.Maps; import com.mojang.authlib.GameProfile; import com.mojang.authlib.properties.Property; import com.mojang.logging.LogUtils; -import fun.bm.lophine.config.modules.misc.FakeplayerConfig; +import fun.bm.lophine.config.modules.function.FakeplayerConfig; import io.papermc.paper.adventure.PaperAdventure; import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.Style; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotRecipeBook.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotRecipeBook.java index 1ca36ca..c93a6af 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotRecipeBook.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotRecipeBook.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot; import net.minecraft.resources.ResourceKey; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotStatsCounter.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotStatsCounter.java index 1049444..fee7dd9 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotStatsCounter.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotStatsCounter.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot; import com.mojang.datafixers.DataFixer; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotUtil.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotUtil.java index a58722c..c72c5b0 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotUtil.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/BotUtil.java @@ -1,7 +1,24 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot; import com.google.common.base.Charsets; -import fun.bm.lophine.config.modules.misc.FakeplayerConfig; +import fun.bm.lophine.config.modules.function.FakeplayerConfig; import net.minecraft.core.NonNullList; import net.minecraft.nbt.CompoundTag; import net.minecraft.world.entity.EquipmentSlot; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/IPlayerDataStorage.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/IPlayerDataStorage.java index 614fb64..ff903a0 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/IPlayerDataStorage.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/IPlayerDataStorage.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot; import net.minecraft.util.ProblemReporter; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/MojangAPI.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/MojangAPI.java index 99da6dc..61c5b8d 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/MojangAPI.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/MojangAPI.java @@ -1,8 +1,25 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot; import com.google.gson.JsonObject; import com.google.gson.JsonParser; -import fun.bm.lophine.config.modules.misc.FakeplayerConfig; +import fun.bm.lophine.config.modules.function.FakeplayerConfig; import java.io.IOException; import java.io.InputStreamReader; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/ServerBot.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/ServerBot.java index bb9878a..1850d28 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/ServerBot.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/ServerBot.java @@ -1,9 +1,26 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot; import com.google.common.collect.ImmutableMap; import com.mojang.authlib.GameProfile; import com.mojang.logging.LogUtils; -import fun.bm.lophine.config.modules.misc.FakeplayerConfig; +import fun.bm.lophine.config.modules.function.FakeplayerConfig; import io.papermc.paper.adventure.PaperAdventure; import io.papermc.paper.event.entity.EntityKnockbackEvent; import net.minecraft.core.NonNullList; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/ServerBotGameMode.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/ServerBotGameMode.java index 4cdd613..028e68c 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/ServerBotGameMode.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/ServerBotGameMode.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot; import net.kyori.adventure.text.Component; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/ServerBotPacketListenerImpl.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/ServerBotPacketListenerImpl.java index 35fb17f..053a704 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/ServerBotPacketListenerImpl.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/ServerBotPacketListenerImpl.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot; import io.netty.channel.ChannelFutureListener; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/AbstractBotConfig.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/AbstractBotConfig.java index 4d85f5b..13b75b3 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/AbstractBotConfig.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/AbstractBotConfig.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent; import net.minecraft.nbt.CompoundTag; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/Actions.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/Actions.java index 6b9cabc..ba627be 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/Actions.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/Actions.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent; import org.jetbrains.annotations.Contract; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/Configs.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/Configs.java index 8608a26..e269c60 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/Configs.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/Configs.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent; import org.jetbrains.annotations.Contract; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerAttackAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerAttackAction.java index c062b3e..697e1d3 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerAttackAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerAttackAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.world.phys.EntityHitResult; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerBotAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerBotAction.java index 885d76a..e5dd207 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerBotAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerBotAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import com.mojang.logging.LogUtils; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerBreakBlockAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerBreakBlockAction.java index 470c62f..1a5bb4c 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerBreakBlockAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerBreakBlockAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.core.BlockPos; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerDropAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerDropAction.java index a2818e7..4f54aef 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerDropAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerDropAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import org.jetbrains.annotations.NotNull; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerFishAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerFishAction.java index 015c877..876fa0c 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerFishAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerFishAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.nbt.CompoundTag; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerJumpAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerJumpAction.java index 1930c1a..b744967 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerJumpAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerJumpAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import org.jetbrains.annotations.NotNull; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerLookAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerLookAction.java index abc1085..a45f5e0 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerLookAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerLookAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.nbt.CompoundTag; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerMountAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerMountAction.java index c4a4a44..4f766a0 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerMountAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerMountAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.world.entity.Entity; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerMoveAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerMoveAction.java index 6f3e8b8..aba2c0a 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerMoveAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerMoveAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.server.level.ServerPlayer; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerRotationAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerRotationAction.java index 0c278ea..ba9182a 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerRotationAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerRotationAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.nbt.CompoundTag; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerSneakAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerSneakAction.java index 104cb19..47d5c15 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerSneakAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerSneakAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import org.jetbrains.annotations.NotNull; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerStateBotAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerStateBotAction.java index c67b7ac..dd39d77 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerStateBotAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerStateBotAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import org.leavesmc.leaves.command.CommandArgument; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerSwapAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerSwapAction.java index 8363b11..89f9666 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerSwapAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerSwapAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.world.InteractionHand; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerSwimAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerSwimAction.java index 50576fe..97a7e64 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerSwimAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerSwimAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.world.phys.Vec3; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerTimerBotAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerTimerBotAction.java index 40edda6..842c147 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerTimerBotAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerTimerBotAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.server.level.ServerPlayer; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseBotAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseBotAction.java index 48c7a29..481b6fd 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseBotAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseBotAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.nbt.CompoundTag; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemAction.java index 0172692..84f3f5e 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.world.InteractionHand; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemAutoAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemAutoAction.java index ce97921..ed5792c 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemAutoAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemAutoAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.world.InteractionHand; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemOffhandAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemOffhandAction.java index 4983edb..6d8ce4e 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemOffhandAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemOffhandAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.world.InteractionHand; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemOnAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemOnAction.java index bec8358..6e0569a 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemOnAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemOnAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.core.BlockPos; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemOnOffhandAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemOnOffhandAction.java index 09f6956..9035709 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemOnOffhandAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemOnOffhandAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.world.InteractionHand; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemToAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemToAction.java index 5f29405..88d5348 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemToAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemToAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.world.InteractionHand; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemToOffhandAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemToOffhandAction.java index 733246d..806d201 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemToOffhandAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemToOffhandAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.actions; import net.minecraft.world.InteractionHand; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/AlwaysSendDataConfig.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/AlwaysSendDataConfig.java index f954c20..2ace5e2 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/AlwaysSendDataConfig.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/AlwaysSendDataConfig.java @@ -1,6 +1,23 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.configs; -import fun.bm.lophine.config.modules.misc.FakeplayerConfig; +import fun.bm.lophine.config.modules.function.FakeplayerConfig; import net.minecraft.nbt.CompoundTag; import org.jetbrains.annotations.NotNull; import org.leavesmc.leaves.bot.agent.AbstractBotConfig; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/LocatorBarConfig.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/LocatorBarConfig.java index 0167f38..eb2efde 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/LocatorBarConfig.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/LocatorBarConfig.java @@ -1,9 +1,26 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.configs; import net.minecraft.nbt.CompoundTag; import net.minecraft.server.waypoints.ServerWaypointManager; import org.jetbrains.annotations.NotNull; -import fun.bm.lophine.config.modules.misc.FakeplayerConfig; +import fun.bm.lophine.config.modules.function.FakeplayerConfig; import org.leavesmc.leaves.bot.agent.AbstractBotConfig; import org.leavesmc.leaves.command.CommandArgument; import org.leavesmc.leaves.command.CommandArgumentType; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/SimulationDistanceConfig.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/SimulationDistanceConfig.java index 71f49f1..d5beef2 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/SimulationDistanceConfig.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/SimulationDistanceConfig.java @@ -1,6 +1,23 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.configs; -import fun.bm.lophine.config.modules.misc.FakeplayerConfig; +import fun.bm.lophine.config.modules.function.FakeplayerConfig; import net.minecraft.nbt.CompoundTag; import org.apache.commons.lang3.tuple.Pair; import org.jetbrains.annotations.NotNull; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/SkipSleepConfig.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/SkipSleepConfig.java index 940fedf..1f502b9 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/SkipSleepConfig.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/SkipSleepConfig.java @@ -1,6 +1,23 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.configs; -import fun.bm.lophine.config.modules.misc.FakeplayerConfig; +import fun.bm.lophine.config.modules.function.FakeplayerConfig; import net.minecraft.nbt.CompoundTag; import org.jetbrains.annotations.NotNull; import org.leavesmc.leaves.bot.agent.AbstractBotConfig; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/SpawnPhantomConfig.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/SpawnPhantomConfig.java index acb57ae..bdd98a4 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/SpawnPhantomConfig.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/SpawnPhantomConfig.java @@ -1,6 +1,23 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.configs; -import fun.bm.lophine.config.modules.misc.FakeplayerConfig; +import fun.bm.lophine.config.modules.function.FakeplayerConfig; import net.minecraft.nbt.CompoundTag; import org.jetbrains.annotations.NotNull; import org.leavesmc.leaves.bot.agent.AbstractBotConfig; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/TickTypeConfig.java b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/TickTypeConfig.java index 72f303a..01ab243 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/TickTypeConfig.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/bot/agent/configs/TickTypeConfig.java @@ -1,6 +1,23 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.bot.agent.configs; -import fun.bm.lophine.config.modules.misc.FakeplayerConfig; +import fun.bm.lophine.config.modules.function.FakeplayerConfig; import net.minecraft.nbt.CompoundTag; import org.jetbrains.annotations.NotNull; import org.leavesmc.leaves.bot.ServerBot; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/CraftBot.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/CraftBot.java index de83f04..bffda4d 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/CraftBot.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/CraftBot.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot; import com.google.common.base.Preconditions; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/CraftBotManager.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/CraftBotManager.java index dcbf233..4d1d99c 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/CraftBotManager.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/CraftBotManager.java @@ -2,6 +2,23 @@ package org.leavesmc.leaves.entity.bot; import com.google.common.collect.Lists; import net.minecraft.server.MinecraftServer; +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + import org.bukkit.Location; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftAttackAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftAttackAction.java index cdf4d0d..2af62cd 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftAttackAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftAttackAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerAttackAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftBotAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftBotAction.java index f3fbd60..2b23e93 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftBotAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftBotAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.jetbrains.annotations.NotNull; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftBreakBlockAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftBreakBlockAction.java index 6abced3..73ee59a 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftBreakBlockAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftBreakBlockAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerBreakBlockAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftDropAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftDropAction.java index 656f45d..77e3dc3 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftDropAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftDropAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerDropAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftFishAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftFishAction.java index eee701e..39f3241 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftFishAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftFishAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerFishAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftJumpAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftJumpAction.java index 26cc30f..5c40b32 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftJumpAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftJumpAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerJumpAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftLookAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftLookAction.java index f3f02d2..b563eec 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftLookAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftLookAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.bukkit.craftbukkit.entity.CraftPlayer; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftMountAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftMountAction.java index ec7a80c..8947d5d 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftMountAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftMountAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerMountAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftMoveAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftMoveAction.java index 5891cca..2f944c3 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftMoveAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftMoveAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerMoveAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftRotationAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftRotationAction.java index 80ded8a..a253e13 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftRotationAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftRotationAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerRotationAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftSneakAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftSneakAction.java index 6504158..eabeb05 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftSneakAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftSneakAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerSneakAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftSwapAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftSwapAction.java index 455a89a..4c11645 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftSwapAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftSwapAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerSwapAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftSwimAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftSwimAction.java index ab8986a..540a1d3 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftSwimAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftSwimAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerSwimAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftTimerBotAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftTimerBotAction.java index 532c3e3..743b3bd 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftTimerBotAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftTimerBotAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerTimerBotAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemAction.java index 23f551e..628e3bd 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.jetbrains.annotations.NotNull; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemAutoAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemAutoAction.java index 8b28cf7..09f6b76 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemAutoAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemAutoAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerUseItemAutoAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemOffhandAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemOffhandAction.java index 04f1d13..f4eeeef 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemOffhandAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemOffhandAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerUseItemOffhandAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemOnAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemOnAction.java index b3891b6..764a437 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemOnAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemOnAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerUseItemOnAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemOnOffhandAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemOnOffhandAction.java index 6019048..9783e53 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemOnOffhandAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemOnOffhandAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerUseItemOnOffhandAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemToAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemToAction.java index 01dbd0f..d3c0d2a 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemToAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemToAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerUseItemToAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemToOffhandAction.java b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemToOffhandAction.java index ad7e5e6..50a21d4 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemToOffhandAction.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/entity/bot/actions/CraftUseItemToOffhandAction.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.entity.bot.actions; import org.leavesmc.leaves.bot.agent.actions.ServerUseItemToOffhandAction; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/util/MathUtils.java b/lophine-server/src/main/java/org/leavesmc/leaves/util/MathUtils.java index 5605015..7a5e83f 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/util/MathUtils.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/util/MathUtils.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.util; import org.bukkit.util.NumberConversions; diff --git a/lophine-server/src/main/java/org/leavesmc/leaves/util/UpdateSuppressionException.java b/lophine-server/src/main/java/org/leavesmc/leaves/util/UpdateSuppressionException.java index 043297d..4655bb0 100644 --- a/lophine-server/src/main/java/org/leavesmc/leaves/util/UpdateSuppressionException.java +++ b/lophine-server/src/main/java/org/leavesmc/leaves/util/UpdateSuppressionException.java @@ -1,3 +1,20 @@ +/* + * This file is part of Leaves (https://github.com/LeavesMC/Leaves) + * + * Leaves is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Leaves 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Leaves. If not, see . + */ + package org.leavesmc.leaves.util; import com.mojang.logging.LogUtils;