Skip to content

Vacuum Gun
Vacuum Gun

The Vacuum Gun is a multipurpose utility tool that can suck in blocks, fluids, items, and mobs from a distance and launch them back out. It features a built-in 5-slot dispenser-like inventory, 2 upgrade slots, and intelligent interactions depending on what you suck in or launch.

  1. Vacuum: Right-click to vacuum the targeted block, fluid, item, or mob into the gun’s internal inventory.
  2. Blow: Switch to Blow mode and right-click to launch the first item in the inventory toward where you’re looking.
  3. Inspect: Switch to Inspect mode and right-click to open the gun’s inventory GUI for manual management.
  4. Switch Mode: Sneak + Right-click to cycle between Vacuum, Blow, and Inspect modes.

The Vacuum mode uses raycasting to target whatever the player is looking at within range. Targets are prioritized in this order:

PriorityTargetBehavior
1Living EntitiesFirst strips equipped items one at a time. Once bare, converts to a spawn egg (preserving all NBT data and custom names) and stores in inventory. If no spawn egg exists for the mob type, it pulls the entity toward the player instead
2ItemsPicks up the item entity and stores it in inventory
3FluidsCollects source fluid blocks into a bucket (requires an empty bucket in the gun’s inventory)
4BlocksBreaks the block and stores all drops in inventory (respects bedrock and unbreakable blocks)

The Blow mode launches the first non-empty item from the gun’s inventory with a physics-based arc trajectory (affected by gravity and drag). Depending on the item type, special interactions occur when the item lands:

Item TypeLanding Behavior
ProjectilesLaunched as actual projectiles (arrows, snowballs, etc.) with proper velocity and ownership
TNT / NukePrimes and spawns at the landing location (supports Tech Reborn Nukes if enabled)
Spawn EggsSpawns the entity at the landing location, restoring all saved NBT data if available
Bone MealApplies growth effect (crops or water plants) at the target block
BucketsFilled buckets place their fluid; empty buckets collect source blocks at the target
Flint & SteelLights TNT, campfires, or places fire at the landing location
ShearsShears sheep, carves pumpkins, harvests honey from beehives, or stops plant growth
BlocksPlaced at the landing location (adjacent to the hit surface)
EquippableEquips on the nearest entity at the landing location (armor on mobs, in the correct slot)
Other itemsGiven to the nearest entity (mainhand → offhand), or dropped if no entity or hands are full

Opens the Vacuum Gun’s inventory GUI, allowing you to manually add, remove, or rearrange items in the 5 inventory slots and 2 upgrade slots.

Similarly to the Resonance Scanner, the Vacuum Gun accepts only up to 2 Upgrades. Right now, it only supports the following upgrade types:

UpgradeEffect
OverclockerReduces cooldown between actions (faster fire rate), but increases energy cost
Energy StorageIncreases internal battery capacity
SettingDefault ValueDescription
Capacity200,000 ETotal energy storage (upgradeable)
Cost50 E/actionEnergy consumed per vacuum or blow action
Range12 blocksMaximum vacuum range
Cooldown8 ticksTime between actions (0.4 seconds, reducible w/ upgrades)

Look at the config file for more detailed settings and adjustments.

Crafting Shaped
Hopper
Dispenser
Advanced Circuit
Any Steel Plate
Vacuum Gun