iseason2000 / deenchantment Goto Github PK
View Code? Open in Web Editor NEW负魔书
License: GNU General Public License v3.0
负魔书
License: GNU General Public License v3.0
我突发奇想,如果这个插件能不能加一个物品或者让一个原版物品有一个特殊属性或者可以自定义一个物品,这个物品可以让负属性变成正属性,同理也可以加一个物品让他把正属性变成负属性。
因为现在箱子里负buff的东西确实有一点点多,所以我想出这个创意,不知作者能不能接受
插件版本:
deenchantment v1.2.6
服务端版本:
This server is running CraftBukkit version git-Spigot-9639cf7-4b9bc9d (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
插件无法加载,输入命令后无反馈
Plugins (66): ServerMonitor, xiaoheiBind, SpawnLimit, PlaceholderAPI, deenchantment, MiraiMC, PiglinFix, AntiWorldFly, SkinsRestorer, Quests, TabCompleteFilter, ViaVersion, PlayerHeads, UBBDispenserShulkerBoxFixer, Trash, ClearLag, NoBedExplosions, AdvancedBan, WGAcheck, IronElevators, ProtocolLib, Obsidiantolava, LoginManager, MVdWPlaceholderAPI, Notbuild, LiteSignIn, AntiAttack, PermissionsEx, XiaoheiQSManger, xiaoheiPlayer, NoCommands, LangUtils, Vault, XiaoheiConsole, MiaoChat, JoinEventsPro, Matrix, HolographicDisplays, PlayerPoints, CratesLottery, AuctionHouse, ChestCommands, PlayerTitle, BossShopPro, PlayerVaults, WorldEdit, PlayerKits, Essentials, SX-Attribute, ColorMOTD, SuperLobby, BentoBox, AdvancedAchievements, HolographicPlaceholders, TAB, TimePerm, QuickShop, Slimefun, EcoPower, EssentialsSpawn, TitleManager, Multiverse-Core, ExoticGarden, AuthMe, KillerMoney, CMILib
将插件置入plugins文件夹并启动服务器
我觉得和插件有关的东西应该放在插件的文件夹里,放到别的地方看着不舒服。
腾讯等国产毒瘤已经滥用手机的存储了
既然插件要重构,有没有考虑把插件名称的大小写整一下
插件版本 : 2.0.0
服务端版本: purpur-1.20.1
bug描述
A clear and concise description of what the bug is.
重现步骤
报错截图
[10:22:05 WARN]: [DeEnchantment] Plugin DeEnchantment v2.1.9 generated an exception while executing task 21306
java.util.ConcurrentModificationException: null
at java.util.LinkedHashMap$LinkedHashIterator.remove(LinkedHashMap.java:777) ~[?:?]
at net.minecraft.world.entity.ai.goal.GoalSelector.removeGoal(GoalSelector.java:79) ~[?:?]
at net.minecraft.world.entity.monster.AbstractSkeleton.reassessWeaponGoal(AbstractSkeleton.java:180) ~[?:?]
at net.minecraft.world.entity.monster.AbstractSkeleton.setItemSlot(AbstractSkeleton.java:256) ~[?:?]
at net.minecraft.world.entity.LivingEntity.setItemSlot(LivingEntity.java:2570) ~[?:?]
at org.bukkit.craftbukkit.v1_20_R1.inventory.CraftEntityEquipment.setEquipment(CraftEntityEquipment.java:163) ~[paper-1.20.1.jar:git-Paper-63]
at org.bukkit.craftbukkit.v1_20_R1.inventory.CraftEntityEquipment.setItemInMainHand(CraftEntityEquipment.java:51) ~[paper-1.20.1.jar:git-Paper-63]
at org.bukkit.craftbukkit.v1_20_R1.inventory.CraftEntityEquipment.setItemInMainHand(CraftEntityEquipment.java:46) ~[paper-1.20.1.jar:git-Paper-63]
at top.iseason.bukkit.deenchantment.listeners.controllers.EntitySpawnListener.onCreatureSpawnEvent$lambda$0(EntitySpawnListener.kt:27) ~[DeEnchantment-2.1.9.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.1.jar:git-Paper-63]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.20.1.jar:git-Paper-63]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.20.1.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1623) ~[?:?]
其他信息
插件版本:
1.3.0
服务端版本:
1.19
服务器忽然卡顿
看一下日志 发现了这个
Could not pass event PrepareAnvilEvent to DeEnchantment v1.3.0
java.lang.NullPointerException: null
at top.iseason.deenchantment.listeners.controllers.AnvilListener.onPrepareAnvilEvent(AnvilListener.kt:71) ~[DeEnchantment-1.3.0-all.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor35.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[pufferfish-api-1.19-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[pufferfish-api-1.19-R0.1-SNAPSHOT.jar:git-Pufferfish-11]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[pufferfish-api-1.19-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:666) ~[pufferfish-api-1.19-R0.1-SNAPSHOT.jar:?]
at org.bukkit.event.Event.callEvent(Event.java:45) ~[pufferfish-api-1.19-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPrepareResultEvent(CraftEventFactory.java:1672) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.world.inventory.ItemCombinerMenu.slotsChanged(ItemCombinerMenu.java:81) ~[?:?]
at net.minecraft.world.inventory.ItemCombinerMenu$1.setChanged(ItemCombinerMenu.java:25) ~[?:?]
at net.minecraft.world.SimpleContainer.setItem(SimpleContainer.java:203) ~[?:?]
at net.minecraft.world.inventory.Slot.set(Slot.java:59) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.world.inventory.AbstractContainerMenu.moveItemStackTo(AbstractContainerMenu.java:860) ~[?:?]
at net.minecraft.world.inventory.AbstractContainerMenu.moveItemStackTo(AbstractContainerMenu.java:760) ~[?:?]
at net.minecraft.world.inventory.ItemCombinerMenu.quickMoveStack(ItemCombinerMenu.java:125) ~[?:?]
at net.minecraft.world.inventory.AbstractContainerMenu.doClick(AbstractContainerMenu.java:537) ~[?:?]
at net.minecraft.world.inventory.AbstractContainerMenu.clicked(AbstractContainerMenu.java:380) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3056) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:58) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:23) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1360) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:183) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1337) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1330) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1408) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1189) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:304) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[13:57:54] [Server thread/ERROR]: Could not pass event PrepareAnvilEvent to DeEnchantment v1.3.0
java.lang.NullPointerException: null
at top.iseason.deenchantment.listeners.controllers.AnvilListener.onPrepareAnvilEvent(AnvilListener.kt:71) ~[DeEnchantment-1.3.0-all.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor35.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[pufferfish-api-1.19-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[pufferfish-api-1.19-R0.1-SNAPSHOT.jar:git-Pufferfish-11]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[pufferfish-api-1.19-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:666) ~[pufferfish-api-1.19-R0.1-SNAPSHOT.jar:?]
at org.bukkit.event.Event.callEvent(Event.java:45) ~[pufferfish-api-1.19-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPrepareResultEvent(CraftEventFactory.java:1672) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.world.inventory.ItemCombinerMenu.slotsChanged(ItemCombinerMenu.java:81) ~[?:?]
at net.minecraft.world.inventory.ItemCombinerMenu$1.setChanged(ItemCombinerMenu.java:25) ~[?:?]
at net.minecraft.world.inventory.Slot.setChanged(Slot.java:69) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.world.inventory.Slot.set(Slot.java:60) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.world.inventory.AbstractContainerMenu.moveItemStackTo(AbstractContainerMenu.java:860) ~[?:?]
at net.minecraft.world.inventory.AbstractContainerMenu.moveItemStackTo(AbstractContainerMenu.java:760) ~[?:?]
at net.minecraft.world.inventory.ItemCombinerMenu.quickMoveStack(ItemCombinerMenu.java:125) ~[?:?]
at net.minecraft.world.inventory.AbstractContainerMenu.doClick(AbstractContainerMenu.java:537) ~[?:?]
at net.minecraft.world.inventory.AbstractContainerMenu.clicked(AbstractContainerMenu.java:380) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3056) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:58) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:23) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1360) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:183) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1337) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1330) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1408) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1189) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:304) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[13:57:54] [Server thread/ERROR]: Could not pass event PrepareAnvilEvent to DeEnchantment v1.3.0
java.lang.NullPointerException: null
at top.iseason.deenchantment.listeners.controllers.AnvilListener.onPrepareAnvilEvent(AnvilListener.kt:71) ~[DeEnchantment-1.3.0-all.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor35.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[pufferfish-api-1.19-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[pufferfish-api-1.19-R0.1-SNAPSHOT.jar:git-Pufferfish-11]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[pufferfish-api-1.19-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:666) ~[pufferfish-api-1.19-R0.1-SNAPSHOT.jar:?]
at org.bukkit.event.Event.callEvent(Event.java:45) ~[pufferfish-api-1.19-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPrepareResultEvent(CraftEventFactory.java:1672) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.world.inventory.ItemCombinerMenu.slotsChanged(ItemCombinerMenu.java:81) ~[?:?]
at net.minecraft.world.inventory.ItemCombinerMenu$1.setChanged(ItemCombinerMenu.java:25) ~[?:?]
at net.minecraft.world.inventory.Slot.setChanged(Slot.java:69) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.world.inventory.AbstractContainerMenu.moveItemStackTo(AbstractContainerMenu.java:865) ~[?:?]
at net.minecraft.world.inventory.AbstractContainerMenu.moveItemStackTo(AbstractContainerMenu.java:760) ~[?:?]
at net.minecraft.world.inventory.ItemCombinerMenu.quickMoveStack(ItemCombinerMenu.java:125) ~[?:?]
at net.minecraft.world.inventory.AbstractContainerMenu.doClick(AbstractContainerMenu.java:537) ~[?:?]
at net.minecraft.world.inventory.AbstractContainerMenu.clicked(AbstractContainerMenu.java:380) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3056) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:58) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:23) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1360) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:183) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1337) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1330) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1408) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1189) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:304) ~[pufferfish-1.19.jar:git-Pufferfish-11]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
神速附魔确实有一点外挂了,和机枪一样,咋说呢,他应该属于正buff,不属于负buff,应当划为绿色魔咒。而且也不是火矢的反义词,建议将神速附魔替代为冰矢(射速降低但射击成功可使目标缓慢V 1秒)
插件版本: 1.2.8
**服务端版本:**1.18.2
使用铁砧耐久2放到第二格会变成耐久3
https://s1.ax1x.com/2022/06/02/XNk0l8.png
仅安装deenchantment,不安装的时候不会出现
任何附魔+耐久2放入铁砧 耐久会变成3
插件版本:
1.3.0
服务端版本:
Purpur 1.19 1699
无法将两本刺穿IV合成为刺穿V
铁砧合成 粘液科技的自动附魔台均只能合成刺穿IV
使用指令给手中物品添加负魔后并不显示负魔属性,与其他附魔书敲在一起即显示
已有负魔装备在铁砧敲上其他属性附魔书后负魔属性还会显示但负魔的效果消失
enchant 负魔
不显示负魔但有效果
将负魔从装备上扒下来不显示
SlimeFun
带有负魔的三叉戟
穿刺5附魔书
显示正常但所有负魔已失效的三叉戟
测试原有负魔以及穿刺均失效(也就是说连正常附魔都失效了)
经测试此三叉戟需要三下打死溺尸,另一穿刺5三叉戟只需要两下
[02:47:59 INFO]: [负魔书] ██████╗ ███████╗███████╗███╗ ██╗ ██████╗██╗ ██╗ █████╗ ███╗ ██╗████████╗
[02:47:59 INFO]: [负魔书] ██╔══██╗██╔════╝██╔════╝████╗ ██║██╔════╝██║ ██║██╔══██╗████╗ ██║╚══██╔══╝
[02:47:59 INFO]: [负魔书] ██║ ██║█████╗ █████╗ ██╔██╗ ██║██║ ███████║███████║██╔██╗ ██║ ██║
[02:47:59 INFO]: [负魔书] ██║ ██║██╔══╝ ██╔══╝ ██║╚██╗██║██║ ██╔══██║██╔══██║██║╚██╗██║ ██║
[02:47:59 INFO]: [负魔书] ██████╔╝███████╗███████╗██║ ╚████║╚██████╗██║ ██║██║ ██║██║ ╚████║ ██║
[02:47:59 INFO]: [负魔书] ╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═══╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝
[02:47:59 WARN]: [DeEnchantment] Loaded class kotlin.reflect.jvm.internal.ReflectionFactoryImpl from MiraiMC v1.7.1 which is not a depend or softdepend of this plugin.
[02:47:59 INFO]: [ViaVersion] ViaVersion detected server version: 1.19.3 (761)
[02:47:59 INFO]: [TrChat] Failed to catch cloud thesaurus of https://raw.githubusercontent.com/Yurinann/Filter-Thesaurus-Cloud/main/database.json.Use cache instead.
[02:47:59 INFO]: java.net.SocketException: Connection reset
[02:47:59 INFO]: [Essentials] 正在获取版本信息...
[02:47:59 INFO]: [InteractionVisualizer] Downloading and extracting latest Language files...
[02:47:59 INFO]: [AuthMe] Downloading GEO IP database, because the old database is older than 30 days or doesn't exist
[02:47:59 INFO]: [Essentials] Essentials found a compatible payment resolution method: Vault Compatibility Layer (v1.7.3-b131)!
[02:47:59 INFO]: [负魔书] 配置: config.yml 已重载!
[02:47:59 WARN]: [AuthMe] No MaxMind credentials found in the configuration file! GeoIp protections will be disabled.
[02:47:59 INFO]: [AuthMe] There is no newer GEO IP database uploaded to MaxMind. Using the old one for now.
[02:47:59 INFO]: [负魔书] 负魔应用于:铁砧、箱子、附魔台、生物、交易、钓鱼、给予、砂轮
[02:47:59 WARN]: [AuthMe] Could not download GeoLiteAPI database [FileNotFoundException]: plugins/AuthMe/GeoLite2-Country.mmdb (没有那个文件或目录)
[02:47:59 INFO]: [Vault] Checking for Updates ...
[02:47:59 INFO]: [ViaVersion] Finished mapping loading, shutting down loader executor!
[02:47:59 INFO]: Done (14.778s)! For help, type "help"
[02:47:59 INFO]: Timings Reset
[02:47:59 INFO]: [SkinsRestorer] ----------------------------------------------
[02:47:59 INFO]: [SkinsRestorer] +==================+
[02:47:59 INFO]: [SkinsRestorer] | SkinsRestorer |
[02:47:59 INFO]: [SkinsRestorer] |------------------|
[02:47:59 INFO]: [SkinsRestorer] | Standalone Mode |
[02:47:59 INFO]: [SkinsRestorer] +==================+
[02:47:59 INFO]: [SkinsRestorer] ----------------------------------------------
[02:47:59 INFO]: [SkinsRestorer] Current version: 14.2.8
[02:47:59 INFO]: [SkinsRestorer] This is the latest version!
[02:47:59 INFO]: [SkinsRestorer] ----------------------------------------------
[02:47:59 INFO]: [负魔书] 已添加(1/39):水下慢掘
[02:47:59 INFO]: [负魔书] 已添加(2/39):截肢之友
[02:47:59 INFO]: [负魔书] 已添加(3/39):灵魂绑定
[02:47:59 INFO]: [FastLogin] Hooking into auth plugin: AuthMeHook
[02:47:59 INFO]: [负魔书] 已添加(4/39):瞬间爆炸
[02:47:59 INFO]: [负魔书] 已添加(5/39):引雷针
[02:47:59 INFO]: [负魔书] 已添加(6/39):旱鸭子
[02:47:59 INFO]: [负魔书] 已添加(7/39):低效
[02:47:59 INFO]: [负魔书] 已添加(8/39):摔落骨折
[02:47:59 INFO]: [负魔书] 已添加(9/39):引火烧身
[02:47:59 INFO]: [负魔书] 已添加(10/39):易燃
[02:47:59 INFO]: [负魔书] 已添加(11/39):神速
[02:47:59 INFO]: [负魔书] 已添加(12/39):霉运
[02:47:59 INFO]: [负魔书] 已添加(13/39):熔岩行者
[02:47:59 INFO]: [负魔书] 已添加(14/39):刺穿
[02:47:59 INFO]: [负魔书] 已添加(15/39):多重
[02:47:59 INFO]: [负魔书] 已添加(16/39):退击
[02:47:59 INFO]: [负魔书] 已添加(17/39):知足
[02:47:59 INFO]: [负魔书] 已添加(18/39):背叛
[02:47:59 INFO]: [负魔书] 已添加(19/39):海之嫌弃
[02:47:59 INFO]: [负魔书] 已添加(20/39):过期钓饵
[02:47:59 INFO]: [负魔书] 已添加(21/39):经验反哺
[02:47:59 INFO]: [负魔书] 已添加(22/39):连珠
[02:47:59 INFO]: [负魔书] 已添加(23/39):反弹
[02:47:59 INFO]: [负魔书] 已添加(24/39):虚弱
[02:47:59 INFO]: [负魔书] 已添加(25/39):弹射物吸引
[02:47:59 INFO]: [负魔书] 已添加(26/39):保护不了
[02:47:59 INFO]: [负魔书] 已添加(27/39):拉扯
[02:47:59 INFO]: [负魔书] 已添加(28/39):慢速装填
[02:47:59 INFO]: [负魔书] 已添加(29/39):水下窒息
[02:47:59 INFO]: [负魔书] 已添加(30/39):焰流
[02:47:59 INFO]: [负魔书] 已添加(31/39):磨钝
[02:47:59 INFO]: [负魔书] 已添加(32/39):彻底粉碎
[02:47:59 INFO]: [负魔书] 已添加(33/39):亡灵之友
[02:47:59 INFO]: [负魔书] 已添加(34/39):大地疾行
[02:47:59 INFO]: [负魔书] 已添加(35/39):牵引之刃
[02:47:59 INFO]: [负魔书] 已添加(36/39):沉重步伐
[02:47:59 INFO]: [负魔书] 已添加(37/39):负荆请罪
[02:47:59 INFO]: [负魔书] 已添加(38/39):易损
[02:47:59 INFO]: [负魔书] 已添加(39/39):永存祝福
[02:47:59 INFO]: [负魔书] 负魔注册完毕(39/39)
[02:47:59 WARN]: [DeEnchantment] Plugin DeEnchantment v2.1.0 generated an exception while executing task 3
java.lang.NoClassDefFoundError: com/willfp/ecoenchants/EcoEnchantsPlugin
at top.iseason.bukkit.deenchantment.hooks.EcoEnchantHook.save(EcoEnchantHook.kt:52) ~[DeEnchantment-2.1.0.jar:?]
at top.iseason.bukkit.deenchantment.settings.Config.reload(Config.kt:92) ~[DeEnchantment-2.1.0.jar:?]
at top.iseason.bukkit.deenchantment.DeEnchantment.onAsyncEnable(DeEnchantment.kt:42) ~[DeEnchantment-2.1.0.jar:?]
at top.iseason.bukkit.deenchantment.lib.core.TemplatePlugin.lambda$null$1(TemplatePlugin.java:1146) ~[DeEnchantment-2.1.0.jar:?]
at org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[gale-1.19.3.jar:git-Gale-"310acb6"]
at org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[gale-1.19.3.jar:git-Gale-"310acb6"]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[gale-1.19.3.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassNotFoundException: com.willfp.ecoenchants.EcoEnchantsPlugin
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:177) ~[gale-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:124) ~[gale-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
... 10 more
上面是报错
paper 1.19.1
[20:21:03] [Server thread/ERROR]: Could not pass event PrepareAnvilEvent to DeEnchantment v1.3.1
java.util.ConcurrentModificationException: null
at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:756) ~[?:?]
at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:788) ~[?:?]
at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:786) ~[?:?]
at top.iseason.deenchantment.listeners.controllers.AnvilListener.onPrepareAnvilEvent(AnvilListener.kt:78) ~[DeEnchantment-1.3.1-all.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor28.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[paper-api-1.19.1-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[paper-api-1.19.1-R0.1-SNAPSHOT.jar:git-Paper-87]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.19.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:670) ~[paper-api-1.19.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.event.Event.callEvent(Event.java:45) ~[paper-api-1.19.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPrepareResultEvent(CraftEventFactory.java:1672) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.world.inventory.ItemCombinerMenu.slotsChanged(ItemCombinerMenu.java:81) ~[?:?]
at net.minecraft.world.inventory.ItemCombinerMenu$1.setChanged(ItemCombinerMenu.java:25) ~[?:?]
at net.minecraft.world.inventory.Slot.setChanged(Slot.java:69) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.world.inventory.Slot.set(Slot.java:60) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.world.inventory.Slot.safeInsert(Slot.java:134) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.world.inventory.AbstractContainerMenu.doClick(AbstractContainerMenu.java:554) ~[?:?]
at net.minecraft.world.inventory.AbstractContainerMenu.clicked(AbstractContainerMenu.java:380) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3260) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:58) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:23) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1359) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:185) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1336) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1329) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1307) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1195) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) ~[paper-1.19.1.jar:git-Paper-87]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[20:21:03] [Server thread/ERROR]: Could not pass event PrepareAnvilEvent to DeEnchantment v1.3.1
java.util.ConcurrentModificationException: null
at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:756) ~[?:?]
at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:788) ~[?:?]
at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:786) ~[?:?]
at top.iseason.deenchantment.listeners.controllers.AnvilListener.onPrepareAnvilEvent(AnvilListener.kt:78) ~[DeEnchantment-1.3.1-all.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor28.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[paper-api-1.19.1-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[paper-api-1.19.1-R0.1-SNAPSHOT.jar:git-Paper-87]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.19.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:670) ~[paper-api-1.19.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.event.Event.callEvent(Event.java:45) ~[paper-api-1.19.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.event.CraftEventFactory.callPrepareResultEvent(CraftEventFactory.java:1672) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.world.inventory.ItemCombinerMenu.slotsChanged(ItemCombinerMenu.java:81) ~[?:?]
at net.minecraft.world.inventory.ItemCombinerMenu$1.setChanged(ItemCombinerMenu.java:25) ~[?:?]
at net.minecraft.world.inventory.Slot.setChanged(Slot.java:69) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.world.inventory.AbstractContainerMenu.doClick(AbstractContainerMenu.java:584) ~[?:?]
at net.minecraft.world.inventory.AbstractContainerMenu.clicked(AbstractContainerMenu.java:380) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3260) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:58) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:23) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1359) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:185) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1336) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1329) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1307) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1195) ~[paper-1.19.1.jar:git-Paper-87]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) ~[paper-1.19.1.jar:git-Paper-87]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
插件版本 : 2.0.0
服务端版本: purpur-1.19.1-1746
bug描述
1.本来经验只要1-3 现在需要14-16不等
2.例子:经验修补 饵钓2 钓鱼竿和 耐久3 海之眷顾3 饵钓2合成以后会自动删除海之眷顾3 而属性并不冲突
重现步骤
报错截图
暂无,抱歉
其他信息
插件版本:
1.2.9
服务端版本:
1.19
1.19适配
无法使用铁砧附魔
我发现这个插件与 https://www.mcbbs.net/thread-1111674-1-1.html (BetterEnchantBook)附魔叠加有冲突,
如果这两个都加的话,负魔书可以正常使用,但是附魔叠加就没有效果了,
您看这个可以解决吗?
插件版本 : 2.1.11
服务端版本: purpur-1.18.2-388
bug描述
拿着退击附魔的剑去打人的时候触发附魔效果被击飞到天上很高很高,有概率变成无敌的效果,无任何报错BUG
重现步骤
报错截图
无报错
其他信息
[07:04:06 INFO]: [负魔书] 负魔注册完毕(0/0)
[07:04:07 INFO]: [负魔书] 负魔应用于:铁砧、箱子、附魔台、怪物、村民、钓鱼、给予、
[07:04:07 ERROR]: Error occurred while enabling DeEnchantment v1.0.0 (Is it up to date?)
java.lang.Exception: 类名获取异常!
at top.iseason.kotlin.deenchantment.utils.ClassGetter.processJarfile(ClassGetter.kt:42) ~[?:?]
at top.iseason.kotlin.deenchantment.utils.ClassGetter.(ClassGetter.kt:16) ~[?:?]
at top.iseason.kotlin.deenchantment.manager.ListenerManager.registerEnchantments(ListenerManager.kt:21) ~[?:?]
at top.iseason.kotlin.deenchantment.manager.ListenerManager.registerListeners(ListenerManager.kt:16) ~[?:?]
at top.iseason.kotlin.deenchantment.manager.ConfigManager.reload(ConfigManager.kt:39) ~[?:?]
at top.iseason.kotlin.deenchantment.manager.ConfigManager.init(ConfigManager.kt:25) ~[?:?]
at top.iseason.kotlin.deenchantment.DeEnchantmentPlugin.onEnable(DeEnchantmentPlugin.kt:15) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.17.jar:git-Paper-63]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.17.jar:git-Paper-63]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.17.jar:git-Paper-63]
at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:518) ~[patched_1.17.jar:git-Paper-63]
at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:432) ~[patched_1.17.jar:git-Paper-63]
at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:643) ~[patched_1.17.jar:git-Paper-63]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:304) ~[patched_1.17.jar:git-Paper-63]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1118) ~[patched_1.17.jar:git-Paper-63]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[patched_1.17.jar:git-Paper-63]
at java.lang.Thread.run(Thread.java:831) [?:?]
[07:04:07 INFO]: [DeEnchantment] Disabling DeEnchantment v1.0.0
[07:04:07 INFO]: [负魔书] 插件已注销!
插件版本 : 2.1.7
服务端版本: purpur-1.19.2
bug描述
没有修改插件的情况下刺穿的投掷攻击没有增伤。而近战攻击正常增伤,每级增伤0.5。
九级刺穿三叉戟,
第一张图投掷掉8点(白板8点)
2023-05-22_12 19 45
第二张戳它掉13.5点(白板9点)
2023-05-22_12 20 42
即使
LevelUnlimited: false
玩家依旧能从过于昂贵中附魔物品
提示语也是 |附魔书| 本次附魔花费xxx
另外装的更多附魔插件有ECO附魔,并按照说明完成兼容
插件版本 : 2.0.9
服务端版本: purpur-1.19.2
bug描述
钓鱼获取的附魔书貌似与mcmmo冲突 会变成无属性附魔书
mcmmo版本2.1.217
https://www.spigotmc.org/resources/official-mcmmo-original-author-returns.64348/updates
插件版本: 1.2.2
服务端版本: Purpur-1.18.2
PurpurMC/Purpur#924
移除插件后问题消失,因此判定是负魔书的问题
见上
N/A
见上
**插件版本**
: 2.1.9
服务端版本: purpur-1.20.1-2011
bug描述
如果一个装备同时打了负魔书与EcoEnchants的灵魂绑定,死了会给两份装备(不知道是不是冲突)
插件版本 : 2.1.11
服务端版本: purpur-1.20.4-2106
报错截图
[14:29:07] [Server thread/INFO]: [DeEnchantment] Enabling DeEnchantment v2.1.11 [14:29:07] [Server thread/INFO]: [DeEnchantment] ██████╗ ███████╗███████╗███╗ ██╗ ██████╗██╗ ██╗ █████╗ ███╗ ██╗████████╗ [14:29:07] [Server thread/INFO]: [DeEnchantment] ██╔══██╗██╔════╝██╔════╝████╗ ██║██╔════╝██║ ██║██╔══██╗████╗ ██║╚══██╔══╝ [14:29:07] [Server thread/INFO]: [DeEnchantment] ██║ ██║█████╗ █████╗ ██╔██╗ ██║██║ ███████║███████║██╔██╗ ██║ ██║ [14:29:07] [Server thread/INFO]: [DeEnchantment] ██║ ██║██╔══╝ ██╔══╝ ██║╚██╗██║██║ ██╔══██║██╔══██║██║╚██╗██║ ██║ [14:29:07] [Server thread/INFO]: [DeEnchantment] ██████╔╝███████╗███████╗██║ ╚████║╚██████╗██║ ██║██║ ██║██║ ╚████║ ██║ [14:29:07] [Server thread/INFO]: [DeEnchantment] ╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═══╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ [14:29:07] [Server thread/ERROR]: Error occurred while enabling DeEnchantment v2.1.11 (Is it up to date?) java.lang.NoSuchMethodError: 'void org.bukkit.enchantments.Enchantment.<init>(org.bukkit.NamespacedKey)' at top.iseason.bukkit.deenchantment.manager.DeEnchantmentWrapper.<init>(DeEnchantmentWrapper.kt:10) ~[DeEnchantment-2.1.11.jar:?] at top.iseason.bukkit.deenchantment.manager.DeEnchantments.<clinit>(DeEnchantments.kt:16) ~[DeEnchantment-2.1.11.jar:?] at top.iseason.bukkit.deenchantment.settings.Config.onDisable(Config.kt:95) ~[DeEnchantment-2.1.11.jar:?] at top.iseason.bukkit.deenchantment.settings.Config.reload(Config.kt:79) ~[DeEnchantment-2.1.11.jar:?] at top.iseason.bukkit.deenchantment.DeEnchantment.onEnable(DeEnchantment.kt:34) ~[DeEnchantment-2.1.11.jar:?] at top.iseason.bukkit.deenchantment.libs.core.BukkitTemplate.onEnable(BukkitTemplate.java:142) ~[DeEnchantment-2.1.11.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:190) ~[purpur-1.20.4.jar:git-Purpur-2106] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[purpur-1.20.4.jar:git-Purpur-2106] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugin(CraftServer.java:651) ~[purpur-1.20.4.jar:git-Purpur-2106] at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugins(CraftServer.java:562) ~[purpur-1.20.4.jar:git-Purpur-2106] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:676) ~[purpur-1.20.4.jar:git-Purpur-2106] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:436) ~[purpur-1.20.4.jar:git-Purpur-2106] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:342) ~[purpur-1.20.4.jar:git-Purpur-2106] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1146) ~[purpur-1.20.4.jar:git-Purpur-2106] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:324) ~[purpur-1.20.4.jar:git-Purpur-2106] at java.lang.Thread.run(Thread.java:840) ~[?:?] [14:29:07] [Server thread/INFO]: [DeEnchantment] Disabling DeEnchantment v2.1.11 [14:29:07] [Server thread/ERROR]: Error occurred while disabling DeEnchantment v2.1.11 java.lang.NoClassDefFoundError: Could not initialize class top.iseason.bukkit.deenchantment.manager.DeEnchantments at top.iseason.bukkit.deenchantment.settings.Config.onDisable(Config.kt:95) ~[DeEnchantment-2.1.11.jar:?] at top.iseason.bukkit.deenchantment.DeEnchantment.onDisable(DeEnchantment.kt:44) ~[DeEnchantment-2.1.11.jar:?] at top.iseason.bukkit.deenchantment.libs.core.BukkitTemplate.onDisable(BukkitTemplate.java:152) ~[DeEnchantment-2.1.11.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:283) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:225) ~[purpur-1.20.4.jar:git-Purpur-2106] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugin(PaperPluginManagerImpl.java:109) ~[purpur-1.20.4.jar:git-Purpur-2106] at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:537) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:194) ~[purpur-1.20.4.jar:git-Purpur-2106] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[purpur-1.20.4.jar:git-Purpur-2106] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugin(CraftServer.java:651) ~[purpur-1.20.4.jar:git-Purpur-2106] at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugins(CraftServer.java:562) ~[purpur-1.20.4.jar:git-Purpur-2106] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:676) ~[purpur-1.20.4.jar:git-Purpur-2106] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:436) ~[purpur-1.20.4.jar:git-Purpur-2106] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:342) ~[purpur-1.20.4.jar:git-Purpur-2106] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1146) ~[purpur-1.20.4.jar:git-Purpur-2106] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:324) ~[purpur-1.20.4.jar:git-Purpur-2106] at java.lang.Thread.run(Thread.java:840) ~[?:?] Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoSuchMethodError: 'void org.bukkit.enchantments.Enchantment.<init>(org.bukkit.NamespacedKey)' [in thread "Server thread"] at top.iseason.bukkit.deenchantment.manager.DeEnchantmentWrapper.<init>(DeEnchantmentWrapper.kt:10) ~[DeEnchantment-2.1.11.jar:?] at top.iseason.bukkit.deenchantment.manager.DeEnchantments.<clinit>(DeEnchantments.kt:16) ~[DeEnchantment-2.1.11.jar:?] at top.iseason.bukkit.deenchantment.settings.Config.onDisable(Config.kt:95) ~[DeEnchantment-2.1.11.jar:?] at top.iseason.bukkit.deenchantment.settings.Config.reload(Config.kt:79) ~[DeEnchantment-2.1.11.jar:?] at top.iseason.bukkit.deenchantment.DeEnchantment.onEnable(DeEnchantment.kt:34) ~[DeEnchantment-2.1.11.jar:?] at top.iseason.bukkit.deenchantment.libs.core.BukkitTemplate.onEnable(BukkitTemplate.java:142) ~[DeEnchantment-2.1.11.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:190) ~[purpur-1.20.4.jar:git-Purpur-2106] ... 10 more
其他信息
该问题仍然未被修复
版本v2.0.5
#24
在猪人塔刷东西的时候装备掉猪人堆里了,反复捡起之后拿到手上看发现附魔很多变成了de___
砍怪甚至不掉血了(亡灵救星VIII)
插件版本 : 2.0.1
服务端版本: purpur-1.18.2-1632
bug描述
基本上测试了一轮,问题有这些:
1,单个附魔配置文件中的conflict项不能生效,这边试了自带的永存祝福和灵魂绑定,非op下生存模式仍可以附魔。此外自己添加的原版附魔如在DE_SOUL_SPEED附魔下conflict里添加SOUL_SPEED同样不能生效。
2,2.0.1拉扯不能生效,但1.3.1的吸引可以生效,拉扯有小概率把生物拉到天上老高,生物直接飞天上然后摔死。
3,2.0.1牵引之刃不能生效,但1.3.1的牵引可以生效,暂时未发现有生物飞天的情况。
4,指令de add [附魔] [等级] 时,所有等级tab补全都为1,2,3,不影响什么但是推荐稍作优化一下。
5,负荆请罪建议修改描述,这里测的只有在疾跑跳跃时才会有概率受伤(也可能是我测的不对)
6,Minecraft游戏机制导致神速在增加箭矢速度的同时也会增加箭矢伤害,建议修改描述(直接修伤害估计不现实。。minecraft游戏机制决定的)
7,弩的反弹附魔没有效果,在1.3.1中正常
*8,严重bug!三叉戟附魔背叛以后如果被溺尸拿走,溺尸扔三叉戟攻击玩家时会同时刷出两把三叉戟,一把在地上可拾取,一把扔到玩家玩家直接拿到(应该是这样,反正会刷两把一样的三叉戟)
报错内容
下面的报错是在使用"拉扯"附魔时出现的
[Server thread/ERROR]: Could not pass event DeEntityProjectileEvent to DeEnchantment v2.0.1
java.lang.IllegalArgumentException: x not finite
at org.bukkit.util.NumberConversions.checkFinite(NumberConversions.java:118) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.util.Vector.checkFinite(Vector.java:814) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R2.entity.CraftEntity.setVelocity(CraftEntity.java:446) ~[purpur-1.18.2.jar:git-Purpur-1632]
at top.iseason.bukkit.deenchantment.listeners.enchantments.Punch.onEntityDamageByEntityEvent(Punch.kt:23) ~[DeEnchantment-2.0.1.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor829.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:git-Purpur-1632]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:671) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at top.iseason.bukkit.deenchantment.command.MainCommandKt.call(MainCommand.kt:3081) ~[DeEnchantment-2.0.1.jar:?]
at top.iseason.bukkit.deenchantment.listeners.triggers.EntityDeEnchantCaller.onPlayerAttack(EntityDeEnchantCaller.kt:24) ~[DeEnchantment-2.0.1.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor847.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:git-Purpur-1632]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:671) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:248) ~[purpur-1.18.2.jar:git-Purpur-1632]
at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:1169) ~[purpur-1.18.2.jar:git-Purpur-1632]
at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:1018) ~[purpur-1.18.2.jar:git-Purpur-1632]
at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:971) ~[purpur-1.18.2.jar:git-Purpur-1632]
at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:1203) ~[purpur-1.18.2.jar:git-Purpur-1632]
at net.minecraft.world.entity.LivingEntity.damageEntity0(LivingEntity.java:2134) ~[?:?]
at net.minecraft.world.entity.LivingEntity.hurt(LivingEntity.java:1386) ~[?:?]
at net.minecraft.world.entity.monster.Zombie.hurt(Zombie.java:354) ~[?:?]
at net.minecraft.world.entity.projectile.AbstractArrow.onHitEntity(AbstractArrow.java:427) ~[?:?]
at net.minecraft.world.entity.projectile.Projectile.onHit(Projectile.java:231) ~[?:?]
at net.minecraft.world.entity.projectile.Projectile.preOnHit(Projectile.java:222) ~[?:?]
at net.minecraft.world.entity.projectile.AbstractArrow.preOnHit(AbstractArrow.java:305) ~[?:?]
at net.minecraft.world.entity.projectile.AbstractArrow.tick(AbstractArrow.java:241) ~[?:?]
at net.minecraft.world.entity.projectile.Arrow.tick(Arrow.java:112) ~[?:?]
at net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:1218) ~[?:?]
at net.minecraft.server.level.ServerLevel.lambda$tick$5(ServerLevel.java:697) ~[?:?]
at net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:42) ~[purpur-1.18.2.jar:git-Purpur-1632]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:675) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1621) ~[purpur-1.18.2.jar:git-Purpur-1632]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:522) ~[purpur-1.18.2.jar:git-Purpur-1632]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[purpur-1.18.2.jar:git-Purpur-1632]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1247) ~[purpur-1.18.2.jar:git-Purpur-1632]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:321) ~[purpur-1.18.2.jar:git-Purpur-1632]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
下面的报错是在使用背叛时出现的
[Server thread/ERROR]: Could not pass event ProjectileHitEvent to DeEnchantment v2.0.1
java.lang.UnsupportedOperationException: Cannot set drop chance for PlayerInventory
at org.bukkit.craftbukkit.v1_18_R2.inventory.CraftInventoryPlayer.setItemInMainHandDropChance(CraftInventoryPlayer.java:305) ~[purpur-1.18.2.jar:git-Purpur-1632]
at top.iseason.bukkit.deenchantment.listeners.enchantments.Loyalty.onProjectileHitEvent(Loyalty.kt:57) ~[DeEnchantment-2.0.1.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor40.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:git-Purpur-1632]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:671) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callProjectileHitEvent(CraftEventFactory.java:1439) ~[purpur-1.18.2.jar:git-Purpur-1632]
at net.minecraft.world.entity.projectile.Projectile.preOnHit(Projectile.java:219) ~[?:?]
at net.minecraft.world.entity.projectile.AbstractArrow.preOnHit(AbstractArrow.java:305) ~[?:?]
at net.minecraft.world.entity.projectile.AbstractArrow.tick(AbstractArrow.java:241) ~[?:?]
at net.minecraft.world.entity.projectile.ThrownTrident.tick(ThrownTrident.java:90) ~[?:?]
at net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:1218) ~[?:?]
at net.minecraft.server.level.ServerLevel.lambda$tick$5(ServerLevel.java:697) ~[?:?]
at net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:42) ~[purpur-1.18.2.jar:git-Purpur-1632]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:675) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1621) ~[purpur-1.18.2.jar:git-Purpur-1632]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:522) ~[purpur-1.18.2.jar:git-Purpur-1632]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[purpur-1.18.2.jar:git-Purpur-1632]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1247) ~[purpur-1.18.2.jar:git-Purpur-1632]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:321) ~[purpur-1.18.2.jar:git-Purpur-1632]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
yml文件出现乱码
解包jar文件的config仍出现乱码
以下
true
Anvil: true
Chest: true
EnchantTable: true
Mobs: true
Villager: true
Fishing: true
Reward: true
Grindstone: true
LevelUnlimited: false
CleanConsole: false
Prefix: "&5[&c负魔乿&5]&r"
ShowLore: true
DE_PROTECTION:
Enable: true
DisplayName: "&7保护不能"
MaxLevel: 4
Chance: 0.2
DE_FIRE_PROTECTION:
Enable: true
DisplayName: "&7火焰灼烧"
MaxLevel: 4
Chance: 0.2
DE_FEATHER_FALLING:
Enable: true
DisplayName: "&7摔落骨折"
MaxLevel: 4
Chance: 0.2
DE_BLAST_PROTECTION:
Enable: true
DisplayName: "&7瞬间爆炸"
MaxLevel: 4
Chance: 0.2
DE_PROJECTILE_PROTECTION:
Enable: true
DisplayName: "&7弹射物吸弿"
MaxLevel: 4
Chance: 0.2
DE_RESPIRATION:
Enable: true
DisplayName: "&7水下窒息"
MaxLevel: 3
Chance: 0.2
DE_AQUA_AFFINITY:
Enable: true
DisplayName: "&7水下慢掘"
MaxLevel: 1
Chance: 0.2
DE_THORNS:
Enable: true
DisplayName: "&7负荆请罪"
MaxLevel: 3
Chance: 0.2
DE_DEPTH_STRIDER:
Enable: true
DisplayName: "&7旱鸭孿"
MaxLevel: 3
Chance: 0.2
DE_FROST_WALKER:
Enable: true
DisplayName: "&7熔岩行迿"
MaxLevel: 2
Chance: 0.2
DE_BINDING_CURSE:
Enable: true
DisplayName: "&a灵魂绑定"
MaxLevel: 1
Chance: 0.2
DE_SHARPNESS:
Enable: true
DisplayName: "&7磨钝"
MaxLevel: 5
Chance: 0.2
DE_SMITE:
Enable: true
DisplayName: "&7亡灵救赎"
MaxLevel: 5
Chance: 0.2
DE_BANE_OF_ARTHROPODS:
Enable: true
DisplayName: "&7节肢救星"
MaxLevel: 5
Chance: 0.2
DE_KNOCKBACK:
Enable: true
DisplayName: "&7逿凿"
MaxLevel: 2
Chance: 0.2
DE_FIRE_ASPECT:
Enable: true
DisplayName: "&7引火烧身"
MaxLevel: 2
Chance: 0.2
DE_LOOTING:
Enable: true
DisplayName: "&7知足"
MaxLevel: 3
Chance: 0.2
DE_SWEEPING:
Enable: true
DisplayName: "&7横扫失败"
MaxLevel: 3
Chance: 0.2
DE_EFFICIENCY:
Enable: true
DisplayName: "&7低效"
MaxLevel: 5
Chance: 0.2
DE_SILK_TOUCH:
Enable: true
DisplayName: "&7彻底粉碎"
MaxLevel: 1
Chance: 0.2
DE_UNBREAKING:
Enable: true
DisplayName: "&7易损"
MaxLevel: 3
Chance: 0.2
DE_FORTUNE:
Enable: true
DisplayName: "&7时运不济"
MaxLevel: 3
Chance: 0.2
DE_POWER:
Enable: true
DisplayName: "&7虚弱"
MaxLevel: 5
Chance: 0.2
DE_PUNCH:
Enable: true
DisplayName: "&7吸引"
MaxLevel: 2
Chance: 0.2
DE_FLAME:
Enable: true
DisplayName: "&7神鿿"
MaxLevel: 1
Chance: 0.2
DE_INFINITY:
Enable: true
DisplayName: "&7多重"
MaxLevel: 1
Chance: 0.2
DE_LUCK_OF_THE_SEA:
Enable: true
DisplayName: "&7海之嫌弃"
MaxLevel: 3
Chance: 0.2
DE_LURE:
Enable: true
DisplayName: "&7过期钓饵"
MaxLevel: 3
Chance: 0.2
DE_LOYALTY:
Enable: true
DisplayName: "&7背叛"
MaxLevel: 3
Chance: 0.2
DE_IMPALING:
Enable: true
DisplayName: "&7刺穿"
MaxLevel: 5
Chance: 0.2
DE_RIPTIDE:
Enable: true
DisplayName: "&7逆流"
MaxLevel: 3
Chance: 0.2
DE_CHANNELING:
Enable: true
DisplayName: "&7避雷钿"
MaxLevel: 1
Chance: 0.2
DE_MULTISHOT:
Enable: true
DisplayName: "&7连珠"
MaxLevel: 1
Chance: 0.2
DE_QUICK_CHARGE:
Enable: true
DisplayName: "&7慢鿟填兿"
MaxLevel: 3
Chance: 0.2
DE_PIERCING:
Enable: true
DisplayName: "&7反弹"
MaxLevel: 4
Chance: 0.2
DE_MENDING:
Enable: true
DisplayName: "&7经验反哺"
MaxLevel: 1
Chance: 0.2
DE_VANISHING_CURSE:
Enable: true
DisplayName: "&a永存祝福"
MaxLevel: 1
Chance: 0.2
DE_SOUL_SPEED:
Enable: true
DisplayName: "&7疾行"
MaxLevel: 3
Chance: 0.2
这些负魔的命名空间ID是什么,在哪查阅求告知🙏
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.