BentoBoxWorld / Upgrades

BentoBox Addon for upgrading island with the use of Vault Money
5 stars 4 forks source link

HOPPER_MINECART error #10

Closed myavuzokumus closed 4 years ago

myavuzokumus commented 4 years ago

Description

Describe the bug

image

entity-limits-upgrade:
  HOPPER_MINECART:
    tier1:
      max-level: 2
      upgrade: "5"
      island-min-level: "100"
      vault-cost: "[numberPlayer]*[islandLevel]*[level]*50"
    tier2:
      max-level: 3
      upgrade: "8"
      island-min-level: "1000"
      vault-cost: "[numberPlayer]*[islandLevel]*[level]*50"
    tier3:
      max-level: 4
      upgrade: "13"
      island-min-level: "5000"
      vault-cost: "[numberPlayer]*[islandLevel]*[level]*50"
    tier4:
      max-level: 5
      upgrade: "20"
      island-min-level: "10000"
      vault-cost: "[numberPlayer]*[islandLevel]*[level]*50"

entity-icon:
  HOPPER_MINECART: HOPPER_MINECART
Output of /bbox version (Mandatory)

image

Guillaume-Lebegue commented 4 years ago

It seems that Mojang found it a good idea to call the entity MINECART_HOPPER and not HOPPER_MINECART

So the material is HOPPER_MINECART and the entity is MINECART_HOPPER

If you want to know the entity name, you can go see this https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html And for the material: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html