PickMoreBlocks

PickMoreBlocks

Expands the middle mouse click action to fix some vanilla pet peeves! [ARCHIVED: MIGHT GET REMADE IN THE FUTURE!]

by
6.5K Downloads
fabricgame-mechanicsutility
Rent Server with this Mod

About this Mod

Hi there! Thank you for checking out PickMoreBlocks!

PickMoreBlocks is a client-side Fabric mod that attempts to fix what I believe to be small gaps in the vanilla middle mouse click functionality, making the creative and survival experience that little bit smoother! Currently, it affects the behaviour of falling blocks, TNT, fire, nether portals and liquids, with more to come in the future!


Getting Started

Due to the use of BlockPickInteractionAware and EntityPickInteractionAware interfaces to make this mod compact, you will need to download Fabric API in order to use it. Once you have, simply drag both the Fabric API and PickMoreBlocks into your mods folder.

There is no configuration menu at this stage, since I don't deem the features of this mod to be obvious nor plentiful enough for you to want to disable them. However, if you play on a server, consider contacting your server admin to make sure they don't consider this mod to be a cheat.


Feature List

TNT & Gravity-Affected Blocks

In vanilla, gravity-affected blocks like sand can only be pickblocked when they are stationary, in block form. PickMoreBlocks fixes this to work with fallingBlock entities too!

For the sake of inclusion, TNT has also been fixed in the same way. I'd imagine this is only really useful for technical players who work with TNT, a group far larger than 0 these days!

Water & Lava

Ever since this mod released, I have wanted to add this feature! If you're aiming your crosshair at a liquid without selecting a block behind it, you will be given the bucket that corresponds to the liquid--a water bucket for water, and a lava bucket for lava.

Fire & Portals

In PickMoreBlocks, Fire and portals can give you flint and steel when middle-mouse clicked. The reason why this is so complicated is because flint and steel is not the only way to start a fire in Minecraft, so if the game cannot find flint and steel in your inventory but it can find a fire charge, it will give that to you instead!

If you have neither flint and steel nor a fire charge in your creative mode inventory, you will be given a fully repaired flint and steel.

For the nerds who want to know how the code for this works, click here!

public class CustomPickLogic {

    public static ItemStack onPickFire(PlayerEntity player) {
        for (int i = 0; i < player.getInventory().size(); i++) {
            ItemStack getStackAtSlot = player.getInventory().getStack(i);

Iteratively check every slot in the player's inventory.

            if (getStackAtSlot.isOf(Items.FLINT_AND_STEEL) || getStackAtSlot.isOf(Items.FIRE_CHARGE))
                return getStackAtSlot;

If the slot contains flint and steel or (at a lower priority) a fire charge, swap it with the mainhand slot...

        }
        return new ItemStack(Items.FLINT_AND_STEEL);

...or if neither can be found, try to give the player a new flint and steel (fails outside of creative mode)!

    }

}

Available Versions

PickMoreBlocks 1.0.2 (1.20.3-4)release
MC 1.20.3, 1.20.4fabric
December 7, 2023
PickMoreBlocks 1.0.1 (1.20.1)release
MC 1.20.1, 1.20.2fabric
November 1, 2023
PickMoreBlocks 1.0.0 (1.20.1)release
MC 1.20.1, 1.20.2fabric
September 27, 2023

How to Install PickMoreBlocks on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).

3

Install Mod

Open the mod browser in the dashboard and search for "PickMoreBlocks". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.20.4, 1.20.3, 1.20.2 (+1 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

PickMoreBlocks server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.4). You can switch loaders with one click in the panel.

Is PickMoreBlocks compatible with fabric?

PickMoreBlocks officially supports fabric for Minecraft 1.20.4, 1.20.3, 1.20.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with PickMoreBlocks – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if PickMoreBlocks consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install PickMoreBlocks with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU Lesser General Public License v3.0 or later
Server-side
Unsupported

Supported Versions

1.20.41.20.31.20.21.20.1