BentoBoxWorld / Limits

Limits blocks and entities on islands - for BentoBox
Eclipse Public License 2.0
8 stars 17 forks source link

Unlimited amounts of hoppers used #130

Closed dushanbe7 closed 3 years ago

dushanbe7 commented 3 years ago

Description Use minecart with hopper. Once u hit the hopper limit just keep making those minecarts with hopper since its impossible to limit them through config.

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Minecart with hopper should be limited because u can use it instead hopper

Screenshots If applicable, add screenshots to help explain your problem.

Server Information:

[Please complete the following information:]

Additional context Add any other context about the problem here.

tastybento commented 3 years ago

Hopper minecarts are entities, so you can put MINECART_HOPPER in the entity list.

dushanbe7 commented 3 years ago

Hello, ID for the item is HOPPER_MINECART. I just placed like you said and it works, but you see the confusion. https://prnt.sc/123ya2m

BONNe commented 3 years ago

Well, it is easy to answer... We do not come up with the names, SPIGOT did. And they named it before mojang introduced ID names.

So... it is MINECART_HOPPER instead or minecraft:hopper_minecart.

tastybento commented 3 years ago

For future reference, the IDs are here for entities: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html