Slimefun / Slimefun4

Slimefun 4 - A unique Spigot/Paper plugin that looks and feels like a modpack. We've been giving you backpacks, jetpacks, reactors and much more since 2013.
GNU General Public License v3.0
961 stars 549 forks source link

Crop Growth Accelerator does not work with Organic Fertilizer, if a texture pack is used #4113

Closed o7-hmoe closed 7 months ago

o7-hmoe commented 7 months ago

❗ Checklist

📍 Description

The crop growth accelerator does not work if you input a fertilizer that has a custom model data, as defined in item-models.yml of the slimefun folder. The crop growth accelerator DOES however work if the value is set to 0 in item-models.yml.

📑 Reproduction Steps

  1. Place down a crop growth accelerator and provide power and crops nearby. My set up is shown below image
  2. Change the value for FERTILIZER_SEAGRASS in item-models.yml in the Slimefun folder. I changed mine to 5. NOTE that you do not need to have a valid texture. Applying any custom model data will prevent the fertilizer from working.
  3. Restart the server to apply the new item model to FERTILIZER_SEAGRASS
  4. Give yourself the fertilizer with /sf give FERTILIZER_SEAGRASS
  5. Put the fertilizer in the crop growth accelerator
  6. Nothing will happen- the fertilizer cannot be used when it has a custom model data.

💡 Expected Behavior

The expected behaviour is that the crop growth accelerator should be able to work with organic fertilizer, even if the fertilizer has custom model data as defined in item-models.yml of the slimefun folder.

📷 Screenshots / Videos

image image

📜 Server Log

No response

📂 /error-reports/ folder

No response

💻 Server Software

Paper

🎮 Minecraft Version

1.20.x

⭐ Slimefun version

image

🧭 Other plugins

No response

Boomer-1 commented 7 months ago

closing as this is a duplicate of #3446