lop lip

Create a Fabric mod for Minecraft 26.3. Add a specialized Hopper Minecart that has a pickup radius of 4 blocks instead of 1, allowing it to pull item drops through glass panes and vertical blocks instantly. Ensure it is optimized for survival gameplay.

Kodari AI
KodariOct 29 at 5:52 am 1
WideHopperMinecart
Adds a specialized Hopper Minecart variant with a 4-block pickup radius instead of the standard 1-block range. This enhanced cart instantly pulls item drops through glass panes and vertical blocks, making item collection far more efficient in survival gameplay. The mod registers a new item with custom pickup logic that overrides the default radius, checks line-of-sight through transparent materials, and maintains vanilla hopper behavior for storage and unloading. Optimized for performance with minimal overhead, it integrates seamlessly with existing rail systems and hopper chains.
  1. Add a registered hopper minecart variant with a four-block pickup range and matching client renderer.

  2. Make it craftable and give it a dedicated survival item, name, and recipe.

[Generation stopped]

lop lip

Create a Fabric mod for Minecraft 26.3. Add a specialized Hopper Minecart that has a pickup radius of 4x4 blocks in all directions instead of 1, allowing it to pull item drops through glass panes and vertical blocks instantly. Ensure it is optimized for survival gameplay.

Kodari AI
KodariOct 29 at 6:06 am 5
  1. Inspect 26.3’s hopper-minecart pickup logic and entity-registration/rendering APIs.

  2. Add a distinct minecart with a 4-block pickup reach, survival recipe, item assets, and localization.

Added the Range Hopper Minecart, a distinct survival-ready hopper minecart that searches an 8×8×8 area—four blocks from the cart in every direction—without requiring line of sight, so item drops can be collected through glass panes and solid blocks. It uses the vanilla hopper-minecart behavior and renderer, and drops its own variant when broken.

Survival recipe: craft a vanilla Hopper Minecart with four Ender Pearls at the four corners of a crafting grid. The item has a dedicated icon, name, and Creative tab entry.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
15 252
src/main/java/com/kodari/widepickup/WidePickup.java
package com.kodari.widepickup;

import net.fabricmc.api.ModInitializer;

public final class WidePickup implements ModInitializer {
	public static final String MOD_ID = "widepickup";

	@Override
	public void onInitialize() {
		WidePickupEntities.initialize();
		WidePickupItems.initialize();
		WidePickupItems.addToCreativeTab();
	}
}