SilkSpawners

SilkSpawners

3M Downloads

support paper 1.20.6/1.21

Incluuu opened this issue · 8 comments

commented

Updating the server to Minecraft version 1.20.6 or 1.21 causes the plugin to disable itself

/version output:
This server is running Paper version git-Paper-28 (MC: 1.20.6) (Implementing API version 1.20.6-R0.1-SNAPSHOT) (Git: 0cc2503)
You are 20 version(s) behind
Download the new version at: https://papermc.io/downloads
Previous version: git-Paper-26 (MC: 1.20.6)

commented

[SilkSpawners] Enabling SilkSpawners v8.0.1-SNAPSHOT-b400
[22:36:45 ERROR]: Error occurred while enabling SilkSpawners v8.0.1-SNAPSHOT-b400 (Is it up to date?)
com.vdurmont.semver4j.SemverException: Invalid version (no patch version): 1.21
at SilkSpawners - 1.21.jar/com.vdurmont.semver4j.Semver.(Semver.java:81) ~[SilkSpawners - 1.21.jar:?]
at SilkSpawners - 1.21.jar/com.vdurmont.semver4j.Semver.(Semver.java:20) ~[SilkSpawners - 1.21.jar:?]
at SilkSpawners - 1.21.jar/de.dustplanet.silkspawners.SilkSpawners.onEnable(SilkSpawners.java:98) ~[SilkSpawners - 1.21.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[paper-1.21.jar:1.21-28-812701d]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.21.jar:1.21-28-812701d]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:629) ~[paper-1.21.jar:1.21-28-812701d]
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:578) ~[paper-1.21.jar:1.21-28-812701d]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:690) ~[paper-1.21.jar:1.21-28-812701d]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:452) ~[paper-1.21.jar:1.21-28-812701d]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:327) ~[paper-1.21.jar:1.21-28-812701d]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1157) ~[paper-1.21.jar:1.21-28-812701d]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[paper-1.21.jar:1.21-28-812701d]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

commented

Ah thanks, I see. Will be fixed.

commented

now works on version 1.21, but breeze duplicates spawners

2024-06-25_17 28 46
place breeze and iron golem spawner

commented
# Percentage of dropping a spawner block when TNT or creepers explode
explosionDropChance: 30

Please set this to 0 :)

One can also set this to 0 only for breeze entities in the mobs.yml:

  breeze:
    enable: true
    explosionDropChance: 0
commented
# The creatures key is official creature type name (mobID), case-sensitive, from https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
creatures:
  armadillo:
    enable: true
  bogged:
    enable: true
  breeze:
    enable: true
  breeze_wind_charge:
    enable: true
  ominous_item_spawner:
    enable: true
  wind_charge:
    enable: true

  # Vanilla mobs, from https://minecraft.gamepedia.com/Java_Edition_data_values#Entities for 1.13+ and https://minecraft.gamepedia.com/Java_Edition_data_values/Pre-flattening/Entity_IDs for up to 1.12
  Creeper:
    aliases: &id205
    - c
    - creep
    - cataclysm
    enable: true
    enableCraftingSpawner: true
    enableSpawnEggOverride: true

I not found in mobs.yml

  breeze:
    enable: true
    explosionDropChance: 0
commented

See lines 7-8 in your mobs.yml
You need to add explosionDropChance: 0