ExtendedDispenser

additional Dispenser
the next item to be dispensed is visible

the next item to be dispensed is visible

Extruding various templates that can be built with obsidian.

Extruding various templates that can be built with obsidian.

item image
Extruding various templates that can be built with obsidian.

Extruding various templates that can be built with obsidian.

Description

 

Extended Dispenser

Dispenser_types

Extended Dispenser transforms the vanilla Minecraft dispenser into an intelligent automation machine for farming, mining, building, animal handling, combat, resource collection, and XP processing.

Instead of simply ejecting items, Extended Dispensers analyze the world in front of them, choose a suitable task based on their inventory and surroundings, scan connected work areas, and process them step by step.

The mod is designed for NeoForge and focuses on compact, server-friendly automation without requiring massive redstone contraptions.

Extended Dispenser Tiers

Dispenser Base Range / Radius MinCount Search Depth Projectile Count Smart Mode Main Use
Glass Dispenser Vanilla-like Vanilla-like Vanilla-like Vanilla-like No Visual / basic dispenser behavior
Copper Dispenser 1 1 0 1 No Basic single-block automation
Iron Dispenser 3 32 6 4 No Standard farms and small automation
Gold Dispenser 5 64 18 8 No Fast harvesting and medium-sized farms
Diamond Dispenser 6 128 26 16 No Large mining, building, and 3D scans
Netherite Dispenser 8 256 26 64 Yes Industrial automation and smart tool selection


Explanation of Values

Base Range / Radius

The base radius defines the normal working range of the dispenser when scanning connected blocks or farm areas.

Higher tiers can reach farther from the starting position.



MinCount

MinCount defines how many valid positions the dispenser tries to collect before it stops extending the scan beyond the normal radius.

This allows stronger dispensers to continue searching until they have found enough valid work targets.



Search Depth

Search depth controls how many neighbor directions are used during the pathfinding scan.

Search Depth Meaning
0 Only the start position
6 Straight-axis movement only
18 Axis movement plus edge diagonals
26 Full 3D movement, including all diagonals


Projectile Count

Projectile count defines how many projectile ticks or shots the dispenser performs during a projectile burst.

Higher tiers can fire larger salvos.



Core Concept

An Extended Dispenser is more than a dispenser — it is an automated tool station.

Depending on the item or tool inside its inventory and the block in front of it, the machine can automatically switch between different tasks:

  • mining blocks
  • harvesting crops
  • preparing farmland
  • planting seeds
  • placing blocks
  • fertilizing plants
  • feeding animals
  • shearing mobs
  • attacking hostile or farm mobs
  • firing projectiles
  • collecting drops
  • bottling experience
  • extracting special blocks and entities

The dispenser scans its environment, builds an internal task queue, and processes the detected targets over time.



Automatic Work Modes

When activated, the dispenser checks the block in front of it and the items in its inventory. Based on this context, it automatically selects a work mode.



Mining and Harvesting

With the right tools, the dispenser can mine blocks or harvest crops.

Examples:

  • Pickaxes mine pickaxe-compatible blocks.
  • Axes process logs and axe-compatible blocks.
  • Shovels work on shovel-compatible blocks.
  • Hoes harvest crops and can prepare farmland.
  • Swords can be used as a scythe-like tool for aggressive crop clearing.

The dispenser does not only process a single block. It scans connected valid blocks and works through them as a structured task queue.



Building, Planting, and Fertilizing

With blocks, seeds, or bone meal, the dispenser can build or maintain farms.

Possible tasks include:

  • placing blocks in connected free spaces
  • planting seeds on valid soil
  • fertilizing crops with bone meal
  • extending prepared farm areas
  • replacing harvested crops through smart replanting

The dispenser checks whether the target position is valid, whether the ground is suitable, and whether the plant can survive at that location.



Animal Handling and Combat

The dispenser can also interact with mobs.

Depending on the item inside, it can:

  • feed animals
  • put adult animals into breeding mode
  • accelerate baby animal growth
  • shear shearable mobs
  • attack mobs
  • protect certain targets, such as baby animals, depending on tool logic. 

For animal farms, the dispenser scans the enclosure area and respects boundaries so that mobs outside the intended area remain safe.

Axes spare young mobs, swords kill everything.



Projectile Mode

With arrows, projectile items, or experience bottles, the dispenser can fire controlled salvos.

Higher tiers fire larger bursts per activation. The Netherite Dispenser can perform long projectile bursts, making it suitable for defense systems, mob farms, or XP-related setups.



Smart Mode

The Netherite Dispenser unlocks Smart Mode.

In Smart Mode, the machine evaluates its inventory and chooses the best available item or tool for the current task.

Smart Mode can:

  • choose the best tool for a block
  • switch to suitable replacement tools or item stacks
  • avoid invalid items
  • protect valuable tools from breaking
  • stop XP bottle bursts when no player is nearby
  • automatically replant crops after harvesting
  • prioritize higher-quality tools and larger item stacks

This makes the Netherite Dispenser the most advanced automation tier in the mod.



Special Enchantments and Advanced Mechanics

Extended Dispenser supports advanced tool-based mechanics through custom enchantments and contextual tool behavior.



Ender Extraction

Ender Extraction allows the dispenser to safely extract special blocks and entities.

Supported use cases include:

  • Monster Spawners
  • Budding Amethyst
  • Beehives and Bee Nests, including stored bee data
  • selected Sculk-related blocks
  • mobs as spawn eggs, when possible

Important block entity or entity data is preserved where applicable, allowing complex structures to be recovered instead of being destroyed as ordinary drops.



Direct Transfer

Direct Transfer moves drops directly into the dispenser’s internal inventory.

This helps keep farms clean, reduces loose item entities, and improves server performance.

If the dispenser inventory is full, remaining items are dropped normally into the world.



Drainage

Drainage allows the dispenser to interact with fluid sources.

If empty buckets are available, water or lava sources can be collected into buckets.
If no bucket is available, the fluid source can still be removed at a higher durability cost.



Stability

Stability reduces durability loss during work.

Higher Stability levels make tools last longer and allow large automation projects to run more efficiently.



Total Universal

Total Universal allows broader mining behavior even when the tool is not normally ideal for the target block.

Safety limits still apply, so protected blocks such as bedrock remain blocked.



Dynamic Farming Logic

Extended Dispenser includes dynamic planting and harvesting logic.

It can recognize many plantable blocks and their valid ground types, including:

  • crops
  • saplings
  • mushrooms
  • flowers and bushes
  • sugar cane
  • cactus
  • other registered plantable items

The system checks multiple conditions:

  • Is the item plantable?
  • Is the ground valid?
  • Is the target position free?
  • Does the plant require water?
  • Is a plant already present?
  • Is the crop mature or still growing?
  • Can bone meal be applied?

This allows the dispenser to manage farms much more intelligently than a vanilla dispenser.



Controlled Area Scanning

Extended Dispenser uses an internal pathfinding scan to find valid work areas.

Instead of processing a simple cube, it searches connected areas based on the selected task and tool.

The scan can consider:

  • matching blocks
  • valid ground
  • obstacles
  • tier-based range
  • tool type
  • crop maturity
  • building logic
  • enclosure boundaries
  • special template restrictions

This makes automation more predictable and prevents the machine from blindly affecting unrelated blocks.



Obsidian Templates and Barriers

Obsidian can be used as a control material for limiting or shaping work areas.

A closed obsidian frame can act like a template or tunnel mask, allowing the dispenser to work only through the intended opening or shape. This is useful for mining patterns, controlled block removal, and advanced automation layouts.



XP and Loot Processing

The Netherite Dispenser can absorb experience from defeated mobs and store it internally.

Once enough XP is stored, it can automatically fill glass bottles and create experience bottles.

Basic flow:

  1. A mob is defeated by the dispenser.
  2. Experience is absorbed into internal storage.
  3. When enough XP is available, a glass bottle is consumed.
  4. An experience bottle is created.
  5. If no bottle is available, XP can be released back into the world.

Combined with Direct Transfer, loot drops can also be collected directly into the dispenser inventory.



Server-Friendly Design

Extended Dispenser is built around controlled, tick-based processing.

Instead of performing huge operations instantly, the machine creates task queues and processes them step by step.

Safety and performance features include:

  • queued task execution
  • controlled tick scheduling
  • scan limits
  • emergency watchdog reset
  • tool and item validation
  • protection against invalid work states
  • durability protection for valuable tools
  • cleanup handling for temporary blocker blocks
  • reduced loose item entities through Direct Transfer

This makes the mod suitable for survival servers and technical automation setups.



Example Use Cases

Extended Dispenser can be used for:

  • automatic wheat, carrot, potato, and beetroot farms
  • tree farms
  • sugar cane and cactus farms
  • automated animal breeding
  • sheep shearing stations
  • controlled mob farms
  • XP bottling stations
  • automated block placement
  • mining and tunnel systems
  • spawner extraction
  • beehive and bee nest recovery
  • projectile-based defense systems

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

OLD DESCRIPTION BEFORE 1.21.11

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Extended dispensers overview

 

The project is still in alpha status, changes can still be made.

 

General description of the Dispensers

 

With the exception of the glassdispenser, all dispensers work the same, the difference lies in the range of the individual capabilities.

the dispensers are operated like the regular dispensers with redstone ticks.

 

  • Projectile Items like Arrows, Eggs, Snowball, Throwable Bottles, Firework and Firecharges;

All 9 slots are fired in parallelin one tick. The trajectories of the individual projectiles scatter somewhat so that not all 9 projectiles land on the same spot.

depending on which type of dispenser fires, salvos of different lengths are fired, the salvo length is described in the individual dispensers.

 

  • All placeables Blocks:

with each dispenser blocks can be placed up to a certain distance. The blocks are placed one after the other at the nearest possible position.

The entire slot place Blocks as long as the dispensed slot contains the Stack and the maximum distance is not exceeded.

even if blocks have already been placed, the placement can be continued with further stacks of the same item

(the item must correspond to the block that is directly in front of the dispenser).

If the expansion of the blocks to be placed meets obsidian, the further expansion in the appropriate direction is prevented. thus, e.B walls and floors can be created.

The maximum distance is given in blocks, the area where blocks can be placed is spherical, not cubic! 

 

  • Tools:

If there is a tool in the slot blocks can be mined. The type of tool must be right (wood can only be mined with an axe, stone with pickaxe,... etc).

Starting from the block directly in front of the dispenser, all blocks of the same type are gradually dismantled until the tool is used up or the maximum distance is reached.

The damage to the tool per block is determined by the degradation time if the block would be dismantled by hand as well as the efficiency of the tool. The formula is:

(BlockHardness*30 /ToolMultiplier)*harvestDamageFactor                         harvestDamageFactor is actual 0.5

With a hoe farmland can be generated, the range depends on the respective dispenser type (its the same like mining distance).

Enchanted tools can not be used

 

The maximum distance is given in blocks, the area where blocks can be placed is spherical, not cubic! 

 

  •  Sword:

A sword attacks animals and mobs within the reach of the different dispensers.

It can be wheat, potatoes, carrots,... etc. can be harvested. The sword takes differently than if you do it manually and damage it.

 

  • Feed Animals:

 Animals can be fed within the reach of the different dispensers.

 

  • placing Liquid:

For placing liquids, a closed basin must be present within the maximum range. each bucket converts a flowing block into a source block.

The first source block is placed directly in front of the dispenser, followed by the algorithm of the flowing liquid.

The basin is filled from bottom to top and buckets of fish can also be placed.

As soon as the block to be placed is out of range, it is not set. You also have to wait until vertically flowing liquid touches the ground.

The range is different in horizontal and vertical orientation.

 

Glass Dispenser

Glass Dispenser

 The Glass Dispenser works like the regular dispenser,

but you can see the next item to throw through the glass.

 

Golden Dispenser

salvo length: 1 tick

placing Block distance and mining Block distance: 1 Block

harvest, entity hurt and feeding distance horizontal 1 Block, vertical 1 Block

placing liquid distance: horizontal 4 Blocks, vertical 8 Blocks

 

Diamond Dispenser

salvo length: 16 ticks

placing Block distance and mining Block distance: 4 Blocks,  minimum drops: 64 items

harvest, entity hurt and feeding distance horizontal 4 Blocks, vertical 1 Block

placing liquid distance: horizontal 8 Blocks, vertical 16 Blocks

  

Netherite Dispenser

salvo length: 64 ticks

placing Block distance and mining Block distance: 8 Blocks,  minimum drops: 256 items

harvest, entity hurt and feeding distance horizontal 8 Blocks, vertical 4 Blocks

placing liquid distance: horizontal 16 Blocks, vertical 32 Blocks

  

 

 changes in V1.2:

minimum Drops changes to 64 for Diamond Dispanser, 256 for Netherrit Dispenser.

 

Added extruder Funttion. Simply build a template with obsidian blocks in front of the dispenser and the mold will be extruded.

    

The ExtendedDispenser Team

profile avatar
  • 1
    Followers
  • 3
    Projects
  • 7.4K
    Downloads

More from UCrafter1