PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
54 stars 21 forks source link

Error preventing Resource Pack from loading #3877

Closed SlyGuy89 closed 3 months ago

SlyGuy89 commented 3 months ago

Terms

Discord tag (optional)

nanashi0498

What happened?

The Resource Pack for my server isn't loading properly. I've recently updated from 1.20.4 to 1.21, and have yet to be able to get my resource pack working. I've spent a lot of time reviewing other plugin configurations, and have no reason to believe it's caused by another plugin.

I use Self-Host and historically have had no issues. Now when I use /iazip the pack compresses and downloads just fine, but I get a "Resource Reload Failed" toast. I also get the following error in console:

ERROR [ItemsAdder] Failed to lock player movements.
08.08 18:42:25 [Server] ERROR Could not pass event PlayerResourcePackStatusEvent to ItemsAdder v4.0.2-alpha-test-3
08.08 18:42:25 [Server] INFO java.lang.NoSuchFieldError: Class net.minecraft.world.entity.Entity does not have member field 'net.minecraft.server.level.ChunkMap$TrackedEntity tracker'
08.08 18:42:25 [Server] INFO at ItemsAdder_4.0.2-alpha-test-3.jar/ia.m.km.a(SourceFile:147) ~[ItemsAdder_4.0.2-alpha-test-3.jar:?]
08.08 18:42:25 [Server] INFO at ItemsAdder_4.0.2-alpha-test-3.jar/ia.m.km.b(SourceFile:39) ~[ItemsAdder_4.0.2-alpha-test-3.jar:?]
08.08 18:42:25 [Server] INFO at ItemsAdder_4.0.2-alpha-test-3.jar/ia.m.jG.c(SourceFile:334) ~[ItemsAdder_4.0.2-alpha-test-3.jar:?]
08.08 18:42:25 [Server] INFO at ItemsAdder_4.0.2-alpha-test-3.jar/ia.m.iR.aQ(SourceFile:112) ~[ItemsAdder_4.0.2-alpha-test-3.jar:?]
08.08 18:42:25 [Server] INFO at ItemsAdder_4.0.2-alpha-test-3.jar/ia.m.mg.nz(SourceFile:67) ~[ItemsAdder_4.0.2-alpha-test-3.jar:?]
08.08 18:42:25 [Server] INFO at ItemsAdder_4.0.2-alpha-test-3.jar/ia.m.mf.by(SourceFile:118) ~[ItemsAdder_4.0.2-alpha-test-3.jar:?]
08.08 18:42:25 [Server] INFO at ItemsAdder_4.0.2-alpha-test-3.jar/ia.m.lX.a(SourceFile:255) ~[ItemsAdder_4.0.2-alpha-test-3.jar:?]
08.08 18:42:25 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1568.execute(Unknown Source) ~[?:?]
08.08 18:42:25 [Server] INFO at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
08.08 18:42:25 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
08.08 18:42:25 [Server] INFO at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
08.08 18:42:25 [Server] INFO at net.minecraft.server.network.ServerCommonPacketListenerImpl.handleResourcePackResponse(ServerCommonPacketListenerImpl.java:233) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.network.protocol.common.ServerboundResourcePackPacket.handle(ServerboundResourcePackPacket.java:30) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.network.protocol.common.ServerboundResourcePackPacket.handle(ServerboundResourcePackPacket.java:15) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:56) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:151) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1537) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:201) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:125) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1514) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1507) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:135) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1466) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1473) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1318) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:330) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 18:42:25 [Server] INFO at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

In my experience I've probably done something wrong somewhere, but I can't for the life of me figure out what. Any help or nudges in the right direction would be a huge help!

Steps to reproduce the issue

I'm not sure how to reproduce as (judging by posts and comments) it seems other servers don't have the same issue.

Potentially:

1: Have IA installed and functioning on a 1.20.4 server, using self host method 2: Update server to 1.21 and ProtocolLib, IA, and lonelibs to the latest versions 3: Reload server and log in (Resource Pack should fail to load) 4: Run /iazip to attempt to reload Resource Pack 5: Should produce same error...

Server version

This server is running Paper version 1.21-127-master@4e6a2a1 (2024-08-07T12:50:10Z) (Implementing API version 1.21-R0.1-SNAPSHOT)

ItemsAdder Version

4.0.2-alpha-test-3

ProtocolLib Version

ProtocolLib Dev Build #726

LoneLibs Version

LoneLibs 1.0.56

Full server log

No response

Error (optional)

ERROR [ItemsAdder] Failed to lock player movements.
08.08 19:00:09 [Server] INFO [PowerBoard] Analytics sent to BStats
08.08 19:00:10 [Server] ERROR Could not pass event PlayerResourcePackStatusEvent to ItemsAdder v4.0.2-alpha-test-3
08.08 19:00:10 [Server] INFO java.lang.NoSuchFieldError: Class net.minecraft.world.entity.Entity does not have member field 'net.minecraft.server.level.ChunkMap$TrackedEntity tracker'
08.08 19:00:10 [Server] INFO at ItemsAdder_4.0.2-alpha-test-3.jar/ia.m.km.a(SourceFile:147) ~[ItemsAdder_4.0.2-alpha-test-3.jar:?]
08.08 19:00:10 [Server] INFO at ItemsAdder_4.0.2-alpha-test-3.jar/ia.m.km.b(SourceFile:39) ~[ItemsAdder_4.0.2-alpha-test-3.jar:?]
08.08 19:00:10 [Server] INFO at ItemsAdder_4.0.2-alpha-test-3.jar/ia.m.jG.c(SourceFile:334) ~[ItemsAdder_4.0.2-alpha-test-3.jar:?]
08.08 19:00:10 [Server] INFO at ItemsAdder_4.0.2-alpha-test-3.jar/ia.m.iR.aQ(SourceFile:112) ~[ItemsAdder_4.0.2-alpha-test-3.jar:?]
08.08 19:00:10 [Server] INFO at ItemsAdder_4.0.2-alpha-test-3.jar/ia.m.mg.nz(SourceFile:67) ~[ItemsAdder_4.0.2-alpha-test-3.jar:?]
08.08 19:00:10 [Server] INFO at ItemsAdder_4.0.2-alpha-test-3.jar/ia.m.mf.by(SourceFile:118) ~[ItemsAdder_4.0.2-alpha-test-3.jar:?]
08.08 19:00:10 [Server] INFO at ItemsAdder_4.0.2-alpha-test-3.jar/ia.m.lX.a(SourceFile:255) ~[ItemsAdder_4.0.2-alpha-test-3.jar:?]
08.08 19:00:10 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1568.execute(Unknown Source) ~[?:?]
08.08 19:00:10 [Server] INFO at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
08.08 19:00:10 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
08.08 19:00:10 [Server] INFO at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
08.08 19:00:10 [Server] INFO at net.minecraft.server.network.ServerCommonPacketListenerImpl.handleResourcePackResponse(ServerCommonPacketListenerImpl.java:233) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.network.protocol.common.ServerboundResourcePackPacket.handle(ServerboundResourcePackPacket.java:30) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.network.protocol.common.ServerboundResourcePackPacket.handle(ServerboundResourcePackPacket.java:15) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:56) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:151) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1537) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:201) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:125) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1514) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1507) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:135) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1466) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1473) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1318) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:330) ~[paper-1.21.jar:1.21-127-4e6a2a1]
08.08 19:00:10 [Server] INFO at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Problematic items yml configuration file (optional)

metrics: true
update-checker: true
resource-pack:
  hosting:
    no-host:
      enabled: false
    auto-external-host:
      enabled: false
    self-host:
      enabled: true
      server-ip: 135.148.72.208
      pack-port: 8080
    external-host:
      enabled: false
      url: https://www.dropbox.com/scl/fi/i433zoc09wsukzz0t187s/pack91.zip?rlkey=dey68c9tq7znihtoww6hzmk0y&st=leppywj9&dl=0
      skip-url-file-type-check___DONT_ASK_HELP_IF_SET_TRUE: false
    lobfile:
      enabled: false
  apply-on-join: true
  kick-player-on-decline: false
  kick-player-on-fail: false
  delay-ticks: 1
  notify-other-plugins-interfering: true
  title:
    enabled: true
  1_19_3_atlas_support: true
  fix_force_unicode_font_images: true
  protect-player:
    lock-player: true
    hide-hud: true
  command:
    usage-cooldown-seconds: 60
  custom-font:
    enabled: false
    name: ipaexg.ttf
    shift: '[0,0]'
    size: 11.0
    oversample: 2.0
  thin-font:
    enabled: true
  zip:
    protect-file-from-unzip:
      protection_1: true
      protection_2: true
    compress-png-files: true
    compress-json-files: true
    generate-custom-armors-textures:
      vanilla_1_17: true
      optifine: true
      vanilla: false
    disable-overwrite-leather-armor-layers-textures: false
    fix_transparent_noteblocks: false
    ignore-files-ext:
    - db
    - yml
    - xcf
    - psd
    - html
    - gz
    - rar
    - zip
    - 7z
    extract_internal_utility_assets: true
    contents-folders-priority:
    - vanilla
    - elitemobs
    - _iainternal
    merge_other_plugins_resourcepacks_folders:
    - ModelEngine/resource pack
  items:
    CustomModelData-starting-value:
      ALL: 10000
      DIAMOND: 11000
  custom_blocks_sounds_patch:
    enabled: false
    step:
      enabled: true
      allow_non_player: true
    other: true
  expert_users:
    allow_other_plugins_resourcepacks: false
  atlas_support: false
  uuid: d69238f2-b7ce-30b0-8262-17cd9490f29d
  apply-during-chunk-load-phase: true
config_files:
  lang: en
  dictionaries-lang: en
  force-sync-loading: false
blocks:
  light-api: true
  fix-liquids-flow: true
  fix-floating-blocks: true
  fix-glitched-blocks:
    enabled: false
    only-new-chunks: true
  cancel-break-wrong-tool:
    enabled: false
    send-actionbar: false
  campfire_enhancements:
    enable: true
    unlit_on_place: false
    allow_any_item: true
    drop_when_broken: false
  disable-REAL: false
  disable-REAL_NOTE: false
  disable-REAL_TRANSPARENT: false
  disable-REAL_WIRE: false
  disable-FIRE: false
  convert-vanilla-blocks:
    enabled: true
    only-new-chunks: true
  remove-unused-palettes-on-region-save: false
  custom:
    mushroom: true
    chorus: true
    note: true
    wire: true
    fire: true
items:
  fix-show-attack-and-damage-as-lore: true
  give_death_location_maps: false
  hide-custom-durability-lore: false
  fix_trades_guis_match_custom_items:
    itemsadder_trade_machines: true
    vanilla_villagers: false
    other_plugins: true
  optimizations:
    kick_on_quickbar_spam:
      enabled: true
      ms: 200
      clicks: 6
  show_item_durability:
    in_ia_menu: true
    in_inventory: false
liquids:
  enabled: true
huds:
  enabled: false
  force_color:
    enabled: false
    color: '#FFFFFF'
  hide_if_pack_not_accepted: true
loots:
  allow-loots-drop-from-spawners-using-silk-touch: true
mobs:
  disable-MOB-behaviour__DISABLE_AT_YOUR_OWN_RISK: false
  enabled: true
font_images:
  replace-in-customitems-name-and-lore: true
  chat:
    enabled: true
    add-hover-suggestion: true
    tab-autocompletion_1_19_1_plus: true
  command:
    enabled: true
    commandblocks: false
    excluded:
    - home
    - sethome
    - tpa
  sign:
    enabled: true
  book:
    enabled: true
  anvil:
    enabled: false
  inventory-title:
    enabled: true
  vault-prefix-suffix:
    enabled: true
    update-every-ticks: 1200
  scoreboard-teams:
    enabled: false
    update-every-ticks: 3600
  player-display-name:
    enabled: true
    update-every-ticks: 1200
  iaimage-book:
    max-line-length: 18
    placeholder-font: minecraft:default
effects:
  hide-scoreboard-numbers: true
  text-effects:
    enabled: true
    chat:
      enabled: true
    sign:
      enabled: true
    book:
      enabled: true
    anvil:
      enabled: false
    customitems-name-and-lore:
      enabled: true
    customitem-name-and-lore:
      enabled: true
  hide-scoreboard-numbers-old-clients: false
entities:
  max-furniture-vehicles-per-chunk: 50
  custom-entitites:
    enabled: true
    emotes: false
    interval-rendering-packets-ticks: 1
    expert_users:
      delay_packets: false
  furniture:
    auto_convert_to_item_display: false
recipes:
  hide-vanilla-unrecognized-recipe-errors: true
  fix-packet-too-large-kick: false
  show-no-permission-popup-in-recipebook: true
  show-no-permission-chat-message: false
  custom-recipes:
    unlock:
      all-on-join: false
      on-pickup:
        any: true
        ingredients: true
      on-item-click:
        any: true
        ingredients: true
  remove-vanilla-recipes:
    enabled: false
    list:
      DIAMOND_SWORD: false
      IRON_INGOT: false
  crafting:
    enabled: true
  cooking:
    enabled: true
  anvil:
    enabled: false
  smithing:
    enabled: true
debug:
  benchmark: false
  items:
    log-files-loading: false
    log-items-loading: false
    log-items-loading-disabled: false
    log-font-images-loading: false
    log-huds-loading: false
    log-attribute-modifiers-loading: false
    log-warnings: false
    log-loots-loading: false
    log-loots-loading-disabled: false
    log-armors-loading: false
    log-files-reloading: false
  recipes:
    log-recipes-loading: false
    log-recipes-loading-disabled: false
    log-recipes-removed-vanilla: false
    log-recipes-unknown-item: false
    log-fix-packet-too-large: false
  resource-pack:
    log-extract-default-resources: false
    log-not-extract-default-resources-already-exist: false
  blocks:
    log-save-load:
      enabled: false
      min-ms: 0
    log-mined-unknown-blocks: true
    log-convert-vanilla-blocks: false
    log-fix-bugged-blocks: false
    log-unusual-block-break: false
  worlds-populators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-populators: false
    log-loading-no-world: true
    log-generation: false
  trees-populators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-populators: false
    log-loading-no-world: true
    log-generation: false
  surface-decorators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-decorators: false
    log-loading-no-world: true
    log-generation: false
  cave-decorators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-decorators: false
    log-loading-no-world: true
    log-generation: false
  player-stats:
    log-save: false
  performance:
    loading-ms: true
  huds:
    log-triggers: false
  other:
    log-dictionaries-loading: false
    log-liquids-loading: false
    log-minecraft_lang_overwrite-loading: false
  categories:
    log-total-loaded: true
    log-single-loaded: false
    log-single-loaded-overwrite: false
    log-single-skip: false
    log-icon-failed-load: false
  entities:
    log-files-loading: false
    log-entities-loading: false
    log-entities-loading-disabled: false
  issues:
    log_font_image_replace_json_syntax_exception: true
  resourcepacks:
    log_player_install: false
compatibility:
  worldguard:
    show_legacy_furniture_flags: true
cooldown_bars:
  enabled: true
  refresh_ticks: 1
  bossbar:
    color: WHITE
    style: SOLID
player_stats:
  save_type: CUSTOM_NBT # CUSTOM_NBT, PLAYER_DAT
show_plugin_logo_on_enable: true

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

Andre601 commented 3 months ago

Duplicate of #3854

SlyGuy89 commented 3 months ago

Ahh I see this. I did see that post but thought it had been identified and resolved as a conflict with EpicTool, which I do not use. Now that I look it over again I realize the Issue is still open. Entirely my mistake, not super familiar with Github!

Thanks for the help!