PluginBugs / Issues-ItemsAdder

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

2x2 Crafting Recipe doesn't work in player inventory but it works in 3x3 crafting table #3432

Closed ZERO511-55 closed 5 months ago

ZERO511-55 commented 7 months ago

Terms

Discord tag (optional)

zero511dash55

What happened?

So I configured a 2x2 crafting recipe in my recipes.yml config. The issue is that the recipe ONLY works in the 3x3 crafting table but not in the player inventory.

I added a pattern_2 to see if that would fix the issue but it didn't.

Steps to reproduce the issue

  1. Go into survival gamemode, open inventory, attempt to craft 2x2 item -> doesn't work.
  2. Go into crafting table, attempt to craft the same 2x2 item recipe -> works

Server version

This server is running Paper version git-Paper-196 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 773dd72)

ItemsAdder Version

ItemsAdder version 3.6.3-beta-12

ProtocolLib Version

ProtocolLib version 5.1.0

LoneLibs Version

LoneLibs version 1.0.45

FULL server log

[14:57:21] [ServerMain/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [14:57:24] [ServerMain/INFO]: Loaded 7 recipes [14:57:25] [Server thread/INFO]: Starting minecraft server version 1.20.1 [14:57:25] [Server thread/INFO]: Loading properties [14:57:25] [Server thread/INFO]: This server is running Paper version git-Paper-196 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 773dd72) [14:57:26] [Server thread/INFO]: Using 4 threads for Netty based IO [14:57:26] [Server thread/INFO]: Server Ping Player Sample Count: 12 [14:57:26] [Server thread/WARN]: [!] The timings profiler has been enabled but has been scheduled for removal from Paper in the future. We recommend installing the spark profiler as a replacement: https://spark.lucko.me/ For more information please visit: https://github.com/PaperMC/Paper/issues/8948 [14:57:26] [Server thread/INFO]: [ChunkTaskScheduler] Chunk system is using 1 I/O threads, 8 worker threads, and gen parallelism of 8 threads [14:57:26] [Server thread/INFO]: Default game type: SURVIVAL [14:57:26] [Server thread/INFO]: Generating keypair [14:57:26] [Server thread/INFO]: Starting Minecraft server on 0.0.0.0:25573 [14:57:26] [Server thread/INFO]: Using epoll channel type [14:57:26] [Server thread/INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity. [14:57:26] [Server thread/INFO]: Paper: Using OpenSSL 3.0.x (Linux x86_64) cipher from Velocity. [14:57:27] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loading 1 libraries... please wait [14:57:27] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loaded library /home/container/libraries/org/apache/httpcomponents/httpmime/4.5.14/httpmime-4.5.14.jar [14:57:27] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loaded library /home/container/libraries/org/apache/httpcomponents/httpclient/4.5.14/httpclient-4.5.14.jar [14:57:27] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loaded library /home/container/libraries/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar [14:57:27] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loaded library /home/container/libraries/commons-logging/commons-logging/1.2/commons-logging-1.2.jar [14:57:27] [Server thread/INFO]: [SpigotLibraryLoader] [ItemsAdder] Loaded library /home/container/libraries/commons-codec/commons-codec/1.11/commons-codec-1.11.jar [14:57:27] [Server thread/INFO]: [LuckPerms] Loading server plugin LuckPerms v5.4.117 [14:57:27] [Server thread/INFO]: [Vault] Loading server plugin Vault v1.7.3-b131 [14:57:27] [Server thread/INFO]: [ProtocolLib] Loading server plugin ProtocolLib v5.1.0 [14:57:29] [Server thread/INFO]: [LoneLibs] Loading server plugin LoneLibs v1.0.45 [14:57:29] [Server thread/INFO]: [Essentials] Loading server plugin Essentials v2.20.1 [14:57:29] [Server thread/INFO]: [ItemsAdder] Loading server plugin ItemsAdder v3.6.3-beta-12 [14:57:29] [Server thread/INFO]: [Chunky] Loading server plugin Chunky v1.3.92 [14:57:29] [Server thread/INFO]: [Multiverse-Core] Loading server plugin Multiverse-Core v4.3.1-b861 [14:57:29] [Server thread/INFO]: [PDRStatTrak] Loading server plugin PDRStatTrak v1.0-SNAPSHOT [14:57:29] [Server thread/INFO]: [PDRParticles] Loading server plugin PDRParticles v1.0-SNAPSHOT [14:57:29] [Server thread/INFO]: [PDRAnarchyMechanics] Loading server plugin PDRAnarchyMechanics v1.0 [14:57:29] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it [14:57:29] [Server thread/INFO]: [LuckPerms] Enabling LuckPerms v5.4.117

[14:57:30] [Server thread/INFO]: | |__) LuckPerms v5.4.117 [14:57:30] [Server thread/INFO]: |___ | Running on Bukkit - Paper [14:57:30] [Server thread/INFO]: [14:57:30] [Server thread/INFO]: [LuckPerms] Loading configuration... [14:57:31] [Server thread/INFO]: [LuckPerms] Loading storage provider... [H2] [14:57:31] [Server thread/INFO]: [LuckPerms] Loading internal permission managers... [14:57:31] [Server thread/INFO]: [LuckPerms] Performing initial data load... [14:57:32] [Server thread/INFO]: [LuckPerms] Successfully enabled. (took 2543ms) [14:57:32] [Server thread/INFO]: [Vault] Enabling Vault v1.7.3-b131 [14:57:32] [Server thread/INFO]: [Vault] [Economy] Essentials Economy found: Waiting [14:57:32] [Server thread/INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system. [14:57:32] [Server thread/INFO]: [Vault] Enabled Version 1.7.3-b131 [14:57:32] [Server thread/INFO]: [LuckPerms] Registered Vault permission & chat hook. [14:57:32] [Server thread/INFO]: [ProtocolLib] Enabling ProtocolLib v5.1.0 [14:57:32] [Server thread/INFO]: [LoneLibs] Enabling LoneLibs v1.0.45 [14:57:32] [Server thread/INFO]: Preparing level "world" [14:57:32] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld [14:57:33] [Server thread/INFO]: Time elapsed: 326 ms [14:57:33] [Server thread/INFO]: Preparing start region for dimension minecraft:the_nether [14:57:33] [Server thread/INFO]: Time elapsed: 55 ms [14:57:33] [Server thread/INFO]: Preparing start region for dimension minecraft:the_end [14:57:33] [Server thread/INFO]: Time elapsed: 45 ms [14:57:33] [Server thread/INFO]: [Essentials] Enabling Essentials v2.20.1 [14:57:33] [Server thread/INFO]: [Essentials] Attempting to convert old kits in config.yml to new kits.yml [14:57:33] [Server thread/INFO]: [Essentials] No kits found to migrate. [14:57:34] [Server thread/INFO]: [Essentials] Loaded 39094 items from items.json. [14:57:34] [Server thread/INFO]: [Essentials] Using locale en_US [14:57:34] [Server thread/INFO]: [Essentials] ServerListPingEvent: Spigot iterator API [14:57:34] [Server thread/INFO]: [Essentials] Starting Metrics. Opt-out using the global bStats config. [14:57:34] [Server thread/INFO]: [Vault] [Economy] Essentials Economy hooked. [14:57:34] [Server thread/INFO]: [Essentials] Using Vault based permissions (LuckPerms) [14:57:34] [Server thread/INFO]: [ItemsAdder] Enabling ItemsAdder v3.6.3-beta-12 [14:57:34] [Server thread/INFO]: [NBTAPI] [NBTAPI] Found Spigot: v1_20_R1! Trying to find NMS support [14:57:34] [Server thread/INFO]: [NBTAPI] [NBTAPI] NMS support 'MC1_20_R1' loaded!

ItemsAdder 3.6.3-beta-12 | | | |\/| /` /\ | \ | \ | |) LoneLibs 1.0.45 | | | | | ./ /--\ |/ |__/ |___ | \ Paper git-Paper-196 (MC: 1.20.1)

[14:57:36] [Server thread/INFO]: [ItemsAdder] [Host] Starting self-host webserver on port: 25581 [14:57:37] [Server thread/INFO]: [Chunky] Enabling Chunky v1.3.92 [14:57:37] [Server thread/INFO]: [Multiverse-Core] Enabling Multiverse-Core v4.3.1-b861 [14:57:37] [Server thread/WARN]: [Multiverse-Core] "Multiverse-Core v4.3.1-b861" has registered a listener for org.bukkit.event.entity.EntityCreatePortalEvent on method "public void com.onarandombox.MultiverseCore.listeners.MVPortalListener.entityPortalCreate(org.bukkit.event.entity.EntityCreatePortalEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [dumptruckman, Rigby, fernferret, lithium3141, main--]. [14:57:37] [Server thread/INFO]: [Multiverse-Core] §aWe are aware of the warning about the deprecated event. There is no alternative that allows us to do what we need to do and performance impact is negligible. It is safe to ignore. [14:57:37] [Server thread/INFO]: [Multiverse-Core] 3 - World(s) loaded. [14:57:37] [Server thread/WARN]: [Multiverse-Core] Buscript failed to load! The script command will be disabled! If you would like not to see this message, use /mv conf enablebuscript false to disable Buscript from loading. [14:57:37] [Server thread/INFO]: [Multiverse-Core] Version 4.3.1-b861 (API v24) Enabled - By dumptruckman, Rigby, fernferret, lithium3141 and main-- [14:57:37] [Server thread/INFO]: [PDRStatTrak] Enabling PDRStatTrak v1.0-SNAPSHOT [14:57:37] [Server thread/INFO]: [PDRParticles] Enabling PDRParticles v1.0-SNAPSHOT [14:57:37] [Server thread/INFO]: [PDRAnarchyMechanics] Enabling PDRAnarchyMechanics v1.0 [14:57:37] [Server thread/INFO]: [PDRAnarchyMechanics] PDRAnarchyMechanics successfully hooked into ProtocolLib. [14:57:37] [Server thread/INFO]: [PDRAnarchyMechanics] PDRAnarchyMechanics enabled successfully. [14:57:37] [Server thread/INFO]: Running delayed init tasks [14:57:37] [Craft Scheduler Thread - 2 - Essentials/INFO]: [Essentials] Fetching version information... [14:57:37] [Server thread/INFO]: [Essentials] Essentials found a compatible payment resolution method: Vault Compatibility Layer (v1.7.3-b131)! [14:57:37] [Server thread/INFO]: [ItemsAdder] [Pack] Extracting internal contents from .jar [14:57:37] [Craft Scheduler Thread - 1 - ItemsAdder/INFO]: [ItemsAdder] [License] Spigot product licensed to: Gasly2013 (104560) [14:57:37] [Server thread/INFO]: [ItemsAdder] [Pack] DONE extracting internal contents from .jar

[14:57:38] [Server thread/INFO]: Timings Reset [14:57:38] [Craft Scheduler Thread - 0 - Vault/INFO]: [Vault] Checking for Updates ... [14:57:38] [Craft Scheduler Thread - 0 - Vault/INFO]: [Vault] No new version available [14:57:38] [Craft Scheduler Thread - 3 - ItemsAdder/ERROR]: [ItemsAdder] World populator diamond_ore failed to load. Unknown block stone. File: /contents/revisedores/configs/blocks.yml [14:57:38] [Craft Scheduler Thread - 3 - ItemsAdder/ERROR]: [ItemsAdder] World populator thalassic_cobblestone failed to load. No world matched world_thalassic. Maybe wrong name or it doesn't exists. File: /contents/tripper/configs/blocks.yml [14:57:38] [Craft Scheduler Thread - 3 - ItemsAdder/INFO]: [ItemsAdder] Loaded 24 items [14:57:38] [Craft Scheduler Thread - 3 - ItemsAdder/INFO]: [ItemsAdder] Used 0/188 REAL block IDs [14:57:38] [Craft Scheduler Thread - 3 - ItemsAdder/INFO]: [ItemsAdder] Used 84/750 REAL_NOTE block IDs [14:57:38] [Craft Scheduler Thread - 3 - ItemsAdder/INFO]: [ItemsAdder] Used 3/63 REAL_TRANSPARENT block IDs [14:57:38] [Craft Scheduler Thread - 3 - ItemsAdder/INFO]: [ItemsAdder] Used 0/127 REAL_WIRE block IDs [14:57:38] [Craft Scheduler Thread - 3 - ItemsAdder/INFO]: [ItemsAdder] Used 0/14 FIRE block IDs [14:57:38] [Craft Scheduler Thread - 3 - ItemsAdder/INFO]: [ItemsAdder] Used 85/6608 font_images [14:57:38] [Craft Scheduler Thread - 3 - ItemsAdder/INFO]: [ItemsAdder] [Init] Loaded 1 categories [14:57:39] [Craft Scheduler Thread - 3 - ItemsAdder/INFO]: [ItemsAdder] [Init] Loaded successfully. [14:57:39] [Craft Scheduler Thread - 3 - ItemsAdder/INFO]: [ItemsAdder] [Pack] Checking resourcepack url... [14:57:39] [Craft Scheduler Thread - 3 - ItemsAdder/INFO]: [ItemsAdder] [Pack] Resourcepack URL (self-host): http://45.43.12.82:25581/generated.zip

Error (optional)

No response

Problematic items yml configuration file (optional)

info:
  namespace: anarchy
recipes:
  crafting_table:
    flint_hatchet:
      enabled: true
      pattern:
      - CV
      - XB
      pattern_2:
      - XCV
      - XXB
      ingredients:
        C: anarchy:flint_shard
        V: anarchy:sinew
        B: STICK
      result:
        item: anarchy:flint_hatchet
        amount: 1

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)

https://github.com/PluginBugs/Issues-ItemsAdder/assets/98930772/d06d0463-10ed-4e34-9997-fb7e3b2ba1e3

github-actions[bot] commented 7 months ago

Hello, your report will be looked into as soon as possible. Please do not bump this thread and don't post it on multiple platforms.

Thanks a lot for your patience.

LoneDev6 commented 7 months ago

Will be tested. This is strange because at the time of this tutorial creation it was working fine. https://itemsadder.devs.beer/plugin-usage/adding-content/recipes/crafting#id-2x2-recipe