Download PickMoreBlocks — Minecraft Mods — MetaMods

PickMoreBlocks

Archived

Downloads

0

Last update

1 year ago

Versions

1.20.1 — 1.20.4
Client
Fabric
Game mechanics
Utils

Welcome to the World of PickMoreBlocks!

PickMoreBlocks is a client-side mod for Fabric that fixes minor flaws in the standard middle mouse button block selection function in Minecraft. This makes gameplay in both creative and survival modes smoother and more convenient! Currently, the mod improves interaction with falling blocks, TNT, fire, Nether portals, and liquids, with more features planned for the future!

Getting Started

To use the mod, Fabric API is required, as it utilizes the BlockPickInteractionAware and EntityPickInteractionAware interfaces for compactness. After downloading, simply place Fabric API and PickMoreBlocks into the mods folder.

There is no settings menu at the moment, as the mod's features are not excessive and unlikely to be disabled. However, when playing on a server, it's advisable to check with the administrator whether this mod is considered cheating.

Key Features

TNT and Gravity-Affected Blocks

In the standard version of Minecraft, blocks like sand can only be selected with the middle mouse button when they are stationary. PickMoreBlocks fixes this, allowing selection of falling blocks as entities too!

TNT has been similarly fixed, which is especially useful for technical players working with TNT—and there are plenty of them these days!

Water and Lava

Since the mod's creation, I wanted to add this feature! If you aim at a liquid without selecting a block behind it, you'll receive the corresponding bucket—a water bucket for water and a lava bucket for lava.

Fire and Portals

In PickMoreBlocks, clicking the middle mouse button on fire or a portal gives you flint and steel. However, since flint and steel isn't the only way to start a fire in Minecraft, if the game doesn't find it in your inventory but detects a fire charge, it will give you that instead!

If you have neither flint and steel nor a fire charge in creative mode, you'll receive a fully repaired flint and steel.

### For those interested in how the code 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); > Sequentially check each 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 (with lower priority) a fire charge, swap it with the mainhand slot... > > } > return new ItemStack(Items.FLINT_AND_STEEL); > ...or if nothing is found, try to give the player a new flint and steel (won't work outside creative mode)! > > } > > }
Project members
axialeaa

axialeaa

Developer

Created: 29 Sep 2023

ID: 5554