This commit is contained in:
YuTian 2024-08-19 00:02:03 +08:00
parent a6e83e0078
commit 6949e1855a
41 changed files with 127 additions and 126 deletions

View File

@ -1,12 +1,12 @@
package com.yaohun.enderdragonwar;
package com.io.yutian.enderdragonwar;
import com.io.yutian.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.game.GameSetting;
import com.io.yutian.pixelliveapi.api.PixelLiveAPI;
import com.yaohun.enderdragonwar.game.Game;
import com.yaohun.enderdragonwar.game.GameSetting;
import com.yaohun.enderdragonwar.listener.GameListener;
import com.yaohun.enderdragonwar.listener.LiveListener;
import com.yaohun.enderdragonwar.listener.PlayerListener;
import com.yaohun.enderdragonwar.manager.GiftEffectManager;
import com.io.yutian.enderdragonwar.listener.GameListener;
import com.io.yutian.enderdragonwar.listener.LiveListener;
import com.io.yutian.enderdragonwar.listener.PlayerListener;
import com.io.yutian.enderdragonwar.manager.GiftEffectManager;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;

View File

@ -1,4 +1,4 @@
package com.yaohun.enderdragonwar.data;
package com.io.yutian.enderdragonwar.data;
import org.bukkit.Location;
import org.bukkit.World;

View File

@ -1,4 +1,4 @@
package com.yaohun.enderdragonwar.data;
package com.io.yutian.enderdragonwar.data;
import org.bukkit.Location;
import org.bukkit.World;

View File

@ -1,4 +1,4 @@
package com.yaohun.enderdragonwar.data;
package com.io.yutian.enderdragonwar.data;
import org.bukkit.Bukkit;
import org.bukkit.Location;

View File

@ -1,8 +1,8 @@
package com.yaohun.enderdragonwar.effect;
package com.io.yutian.enderdragonwar.effect;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import com.io.yutian.enderdragonwar.game.Game;
import com.io.yutian.pixelliveapi.api.effect.GiftEffect;
import com.yaohun.enderdragonwar.EnderDragonWar;
import com.yaohun.enderdragonwar.game.Game;
public abstract class GameGiftEffect extends GiftEffect {

View File

@ -1,8 +1,8 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.EnderDragonWar;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import com.io.yutian.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import org.bukkit.Particle;
import org.bukkit.attribute.Attribute;
import org.bukkit.entity.Player;

View File

@ -1,9 +1,9 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.EnderDragonWar;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.yaohun.enderdragonwar.util.RandomUtil;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import com.io.yutian.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.util.RandomUtil;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.Particle;

View File

@ -1,9 +1,9 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.EnderDragonWar;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.yaohun.enderdragonwar.util.EntityUtil;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.util.EntityUtil;
import net.kyori.adventure.text.Component;
import org.bukkit.*;
import org.bukkit.attribute.Attribute;

View File

@ -1,9 +1,9 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.EnderDragonWar;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.yaohun.enderdragonwar.util.RandomUtil;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import com.io.yutian.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.util.RandomUtil;
import org.bukkit.Material;
import org.bukkit.Particle;
import org.bukkit.Sound;

View File

@ -1,8 +1,8 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.EnderDragonWar;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import com.io.yutian.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitRunnable;

View File

@ -1,7 +1,7 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.game.Game;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;

View File

@ -1,8 +1,8 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.yaohun.enderdragonwar.util.RandomUtil;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.util.RandomUtil;
import net.kyori.adventure.text.Component;
import org.bukkit.Location;
import org.bukkit.Material;

View File

@ -1,9 +1,9 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.yaohun.enderdragonwar.util.ItemStackBuilder;
import com.yaohun.enderdragonwar.util.RandomUtil;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.util.ItemStackBuilder;
import com.io.yutian.enderdragonwar.util.RandomUtil;
import org.bukkit.*;
import org.bukkit.block.Block;
import org.bukkit.enchantments.Enchantment;

View File

@ -1,7 +1,7 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.game.Game;
import org.bukkit.attribute.Attribute;
import org.bukkit.entity.Player;

View File

@ -1,7 +1,7 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.game.Game;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;

View File

@ -1,7 +1,7 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.game.Game;
import org.bukkit.attribute.Attribute;
import org.bukkit.entity.Player;

View File

@ -1,7 +1,7 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.game.Game;
import org.bukkit.attribute.Attribute;
import org.bukkit.entity.Player;

View File

@ -1,11 +1,11 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.game.Game;
import com.io.yutian.pixelliveapi.api.PixelLiveAPI;
import com.io.yutian.pixelliveapi.api.data.RandomBoxEntry;
import com.io.yutian.pixelliveapi.api.util.RandomBoxHelper;
import com.yaohun.enderdragonwar.EnderDragonWar;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import org.bukkit.Bukkit;
import org.bukkit.Sound;
import org.bukkit.entity.Player;

View File

@ -1,8 +1,8 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.yaohun.enderdragonwar.util.WEUtil;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.util.WEUtil;
import org.bukkit.Location;
import org.bukkit.entity.Player;

View File

@ -1,16 +1,16 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import com.io.yutian.enderdragonwar.data.Region;
import com.io.yutian.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.util.BuildSpawner;
import com.sk89q.worldedit.EditSession;
import com.sk89q.worldedit.WorldEdit;
import com.sk89q.worldedit.bukkit.BukkitAdapter;
import com.sk89q.worldedit.function.operation.Operations;
import com.sk89q.worldedit.math.BlockVector3;
import com.sk89q.worldedit.regions.CuboidRegion;
import com.yaohun.enderdragonwar.EnderDragonWar;
import com.yaohun.enderdragonwar.data.Region;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.yaohun.enderdragonwar.util.BuildSpawner;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.World;

View File

@ -1,7 +1,7 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.game.Game;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;

View File

@ -1,8 +1,8 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.yaohun.enderdragonwar.util.RandomUtil;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.util.RandomUtil;
import org.bukkit.entity.Creeper;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;

View File

@ -1,7 +1,7 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import org.bukkit.Particle;
import org.bukkit.attribute.Attribute;
import org.bukkit.entity.Player;

View File

@ -1,8 +1,8 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.EnderDragonWar;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.game.Game;
import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitRunnable;
import org.bukkit.util.Vector;

View File

@ -1,9 +1,9 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.EnderDragonWar;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.yaohun.enderdragonwar.util.EntityUtil;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import com.io.yutian.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.util.EntityUtil;
import net.kyori.adventure.text.Component;
import org.bukkit.*;
import org.bukkit.attribute.Attribute;

View File

@ -1,8 +1,8 @@
package com.yaohun.enderdragonwar.effect.types;
package com.io.yutian.enderdragonwar.effect.types;
import com.yaohun.enderdragonwar.EnderDragonWar;
import com.yaohun.enderdragonwar.effect.GameGiftEffect;
import com.yaohun.enderdragonwar.game.Game;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import com.io.yutian.enderdragonwar.effect.GameGiftEffect;
import com.io.yutian.enderdragonwar.game.Game;
import org.bukkit.Effect;
import org.bukkit.Location;
import org.bukkit.Sound;

View File

@ -1,7 +1,7 @@
package com.yaohun.enderdragonwar.game;
package com.io.yutian.enderdragonwar.game;
import com.yaohun.enderdragonwar.EnderDragonWar;
import com.yaohun.enderdragonwar.util.BossBarUtil;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import com.io.yutian.enderdragonwar.util.BossBarUtil;
import org.bukkit.Bukkit;
import org.bukkit.GameMode;
import org.bukkit.GameRule;

View File

@ -1,4 +1,4 @@
package com.yaohun.enderdragonwar.game;
package com.io.yutian.enderdragonwar.game;
import com.io.yutian.pixelliveapi.api.PixelLiveAPI;

View File

@ -1,7 +1,7 @@
package com.yaohun.enderdragonwar.listener;
package com.io.yutian.enderdragonwar.listener;
import com.yaohun.enderdragonwar.EnderDragonWar;
import com.yaohun.enderdragonwar.game.GameSetting;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import com.io.yutian.enderdragonwar.game.GameSetting;
import org.bukkit.entity.Creeper;
import org.bukkit.entity.EnderDragon;
import org.bukkit.entity.LightningStrike;

View File

@ -1,5 +1,7 @@
package com.yaohun.enderdragonwar.listener;
package com.io.yutian.enderdragonwar.listener;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import com.io.yutian.enderdragonwar.game.GameSetting;
import com.io.yutian.pixelliveapi.api.PixelLiveAPI;
import com.io.yutian.pixelliveapi.api.data.Anchor;
import com.io.yutian.pixelliveapi.api.data.Audience;
@ -9,10 +11,8 @@ import com.io.yutian.pixelliveapi.api.event.AnchorInitializedEvent;
import com.io.yutian.pixelliveapi.api.event.LiveEnterRoomEvent;
import com.io.yutian.pixelliveapi.api.event.LiveGiftEvent;
import com.io.yutian.pixelliveapi.api.event.LiveLikeEvent;
import com.yaohun.enderdragonwar.EnderDragonWar;
import com.yaohun.enderdragonwar.game.GameSetting;
import com.yaohun.enderdragonwar.util.GameUtil;
import com.yaohun.enderdragonwar.util.RandomUtil;
import com.io.yutian.enderdragonwar.util.GameUtil;
import com.io.yutian.enderdragonwar.util.RandomUtil;
import net.kyori.adventure.text.Component;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;

View File

@ -1,7 +1,7 @@
package com.yaohun.enderdragonwar.listener;
package com.io.yutian.enderdragonwar.listener;
import com.yaohun.enderdragonwar.effect.types.LuckyBlockEffect;
import com.yaohun.enderdragonwar.effect.types.SpawnEnderPortalEffect;
import com.io.yutian.enderdragonwar.effect.types.LuckyBlockEffect;
import com.io.yutian.enderdragonwar.effect.types.SpawnEnderPortalEffect;
import org.bukkit.*;
import org.bukkit.block.Block;
import org.bukkit.entity.*;

View File

@ -1,5 +1,6 @@
package com.yaohun.enderdragonwar.manager;
package com.io.yutian.enderdragonwar.manager;
import com.io.yutian.enderdragonwar.effect.types.*;
import com.io.yutian.pixelliveapi.api.PixelLiveAPI;
import com.yaohun.enderdragonwar.effect.types.*;

View File

@ -1,4 +1,4 @@
package com.yaohun.enderdragonwar.util;
package com.io.yutian.enderdragonwar.util;
import org.bukkit.boss.BarColor;
import org.bukkit.boss.BossBar;

View File

@ -1,8 +1,8 @@
package com.yaohun.enderdragonwar.util;
package com.io.yutian.enderdragonwar.util;
import com.yaohun.enderdragonwar.EnderDragonWar;
import com.yaohun.enderdragonwar.data.Point;
import com.yaohun.enderdragonwar.data.Region;
import com.io.yutian.enderdragonwar.data.Point;
import com.io.yutian.enderdragonwar.data.Region;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import org.bukkit.Material;
import org.bukkit.Sound;
import org.bukkit.World;

View File

@ -1,4 +1,4 @@
package com.yaohun.enderdragonwar.util;
package com.io.yutian.enderdragonwar.util;
import org.bukkit.entity.Entity;
import org.bukkit.util.Vector;

View File

@ -1,4 +1,4 @@
package com.yaohun.enderdragonwar.util;
package com.io.yutian.enderdragonwar.util;
import org.bukkit.plugin.Plugin;

View File

@ -1,4 +1,4 @@
package com.yaohun.enderdragonwar.util;
package com.io.yutian.enderdragonwar.util;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;

View File

@ -1,4 +1,4 @@
package com.yaohun.enderdragonwar.util;
package com.io.yutian.enderdragonwar.util;
import org.bukkit.ChatColor;
import org.bukkit.FireworkEffect;

View File

@ -1,4 +1,4 @@
package com.yaohun.enderdragonwar.util;
package com.io.yutian.enderdragonwar.util;
import java.util.Random;

View File

@ -1,12 +1,12 @@
package com.yaohun.enderdragonwar.util;
package com.io.yutian.enderdragonwar.util;
import com.io.yutian.enderdragonwar.EnderDragonWar;
import com.sk89q.worldedit.EditSession;
import com.sk89q.worldedit.WorldEdit;
import com.sk89q.worldedit.bukkit.BukkitAdapter;
import com.sk89q.worldedit.extent.clipboard.Clipboard;
import com.sk89q.worldedit.extent.clipboard.io.ClipboardFormats;
import com.sk89q.worldedit.math.BlockVector3;
import com.yaohun.enderdragonwar.EnderDragonWar;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.World;

View File

@ -1,7 +1,7 @@
name: EnderDragonWar
version: 1.0.4
api-version: 1.20
main: com.yaohun.enderdragonwar.EnderDragonWar
main: com.io.yutian.enderdragonwar.EnderDragonWar
depend: [PixelLiveAPI]
commands:
enderdragonwar: