MinionCore logoMinionCore

Feeder

How the feeder minion keeps the minions around it fuelled from its own fuel stock.

The feeder refuels the minions around it. Players fill its storage with fuel items once, and on every action it tops up the minions in range from that stock, so a whole farm keeps working without anyone fuelling each minion by hand. It does no other work and collects nothing.

How it works

Place it among your minions

Right click a block with the feeder item, the same as any other minion. See Placing and picking up.

Give it a fuel stock

Put fuel into its storage. That is any item that counts as fuel: the fuel items from fuel.yml, fuels set in a type file under fuel.items, and plain or custom items when their fuel entry has any-matching-item: true. See Fuel. Any of these works:

  • hold fuel and right click the feeder
  • pick fuel up on the cursor and click the Fuel stock button in its menu
  • shift click fuel in your inventory while its menu or storage is open
  • click an empty slot in its storage with fuel on the cursor

Anything that is not a fuel item is refused with feeder.not-fuel. Players need fuel access on the feeder to stock it.

It refuels the minions in range

On every action the feeder looks for minions in its range that use fuel and are not full. It fills the emptiest one first, then the next, until every minion in range is full or the stock runs out. Fuel goes in as whole items, the same as when a player adds it, so a minion is only given an item when the whole item fits under its max-stored-actions.

Each minion only gets fuel its own type takes. For every item in stock, the feeder works out which fuel that item is for the target's type and gives it at that fuel's actions. A fuel whose types list leaves out the target's type, a fuel missing from the type's fuel.accepted list, and a fuel set in another type's file are never given to that minion. The feeder skips that item and tries the next one in its stock.

Which minions it feeds

The area is a cube around the feeder: its range in every direction, sideways, up and down.

LevelrangeAreastorageCost of the next level
125 by 5 by 59money: 75000
237 by 7 by 718money: 180000
349 by 9 by 927Max level

Range upgrades raise it further, up to max-range (5 in the shipped file).

A minion inside the cube is fed when all of these hold:

  • it belongs to the feeder's owner, or feed-trusted-minions is on and its owner trusts the feeder's owner with fuel, directly or through an island or guild plugin. See Trust and access
  • its type has requires-fuel: true
  • it is not another feeder, unless feed-other-feeders is on
  • it is not a chunk loader, unless feed-chunk-loaders is on
minions/feeder.yml
settings:
  feed-other-feeders: false
  feed-chunk-loaders: true
  feed-trusted-minions: true
KeyDefaultWhat it does
feed-other-feedersfalseWhether this feeder also refuels other feeders. It only matters for feeder types that use fuel themselves
feed-chunk-loaderstrueWhether chunk loaders that use fuel are refuelled
feed-trusted-minionstrueWhether minions of players who trust the feeder's owner with fuel are refuelled too

The shipped feeder has requires-fuel: false, since it is the fuel source. Set it to true to make feeders need fuel of their own, which is added the normal way and is kept apart from the stock it hands out.

Hologram and menu

The feeder's hologram and its Fuel stock button in the minion menu can show these values:

PlaceholderShows
%feeder_stock%The fuel actions in stock
%feeder_items%The fuel items in stock
%feeder_targets%How many minions in range it can feed, counted on its last action
%feeder_given%Every fuel action it has handed out. Kept with the minion, so it survives pick up

%feeder_given% also works in the item lore.

The feeder pauses, breaks down and stops while its owner is offline under the same rules as every other minion. See Offline working and Breakdowns and repairs.

  • Fuel for fuel items and how much an action uses
  • Seller, the other support minion
  • Minion type files for every key in minions/feeder.yml

On this page