Skip to content

Hopper Options

CraftyKenny edited this page Apr 5, 2020 · 8 revisions

Creating a Hopper

Hoppers:
  "nameOfHopper":
    ... (options, see below)

NOTE: All options below this will go under "nameOfHopper", as seen in "Creating a Hopper"


Display Settings

name - Set the name of the Hopper Item
inventoryTitle - Set the inventory title of the Hopper
lore - Set the lore of the Hopper

    name: "&3&lMOB HOPPER &7(Right-Click Ground To Place)"
    inventoryTitle: "&8Mob Hopper"
    lore:
      - "&r"
      - "&8&l» &7Type: &3Mob Hopper"
      - "&8&l» &7Right-Click on the ground to &3place &7this hopper!"
      - "&r"

Hopper Functionality Settings

type - Set type of Hopper (Grind, Crop, Mob, Break)
limitPerChunk - Set the limit of a hopper per chunk (-1 for no limit)
should_drop_from_explosions - Sets whether hoppers should drop when exploded
DropToInventory - Set Whether Hopper Should Drop To Inventory when Broken

    type: Mob
    limitPerChunk: 1
    should_drop_from_explosions: false
    DropToInventory: true

Linked Container Settings

linkedMoveEvery - Set the interval for when items in the hopper should transfer
linkedMoveAmount - Set the amount of items should be moved every transfer
linkedLimit - Set the limit for the amount of containers a hopper can be linked to

    linkedMoveEvery: 3
    linkedMoveAmount: 16
    linkedLimit: 4

Sell Settings

sellEvery - Set the interval for when the hopper should sell
sellAmount - Set the amount of items should be sold at each sell

    sellEvery: 10
    sellAmount: 10