Γιαννης

make me a miencraft 26.2 no crash or lag fabric mod that quick place blocks like wquick exp use resources on the internet and make it work so when i right click place block and i keep it pushed button it quick palces

Kodari AI
KodariOct 12 at 6:07 pm 1
TurboPlace
TurboPlace is a Fabric mod for Minecraft 26.2 that enables rapid block placement while holding right-click. It eliminates the vanilla placement delay, allowing continuous block placement at maximum speed without crashing or lag. The mod intercepts right-click input events and immediately triggers block placement logic, bypassing the default cooldown timer. It supports all placeable blocks including slabs, stairs, doors, and redstone components. The mod uses optimized event handling to maintain stable performance even during rapid placement, with configurable placement speed and toggle keybind. It integrates seamlessly with the Fabric API and requires no client-side modifications, ensuring compatibility with vanilla servers and other mods.
  1. Create a minimal client-side Fabric mod for 26.2.

  2. While right-click is held, repeat block use at a safe, configurable interval, without replacing vanilla behavior when disabled or not targeting a block.

  3. Add the required project metadata and client entrypoint.

Created Quick Place for Fabric 26.2. Hold right-click to repeat normal block interactions every 2 ticks (about 10 times per second). It stops when you release the button, open a screen, or aren’t targeting a block. This is a client-side mod and respects the server’s normal interaction handling.

Γιαννης

make it available for fabric 26.3

Kodari AI
KodariOct 12 at 7:02 pm 1

Updated Quick Place for Fabric 26.3: Minecraft 26.3, Fabric API 0.162.0+26.3, and Fabric Loader 0.19.5 are now set in the build and mod metadata. The hold-to-place behavior is unchanged.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
5 109
src/client/java/com/kodari/quickplace/QuickPlaceClient.java
package com.kodari.quickplace;

import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.minecraft.client.Minecraft;
import net.minecraft.world.InteractionHand;
import net.minecraft.world.phys.BlockHitResult;
import net.minecraft.world.phys.HitResult;

public final class QuickPlaceClient implements ClientModInitializer {
	private static final int TICKS_BETWEEN_USES = 2;
	private int heldTicks;

	@Override
	public void onInitializeClient() {
		ClientTickEvents.END_CLIENT_TICK.register(this::onClientTick);
	}

	private void onClientTick(Minecraft client) {
		if (client.player == null || client.gameMode == null || client.gui.screen() != null || !client.options.keyUse.isDown()) {
			heldTicks = 0;
			return;
		}

		if (++heldTicks < TICKS_BETWEEN_USES) {
			return;
		}
		heldTicks = 0;

		if (client.hitResult instanceof BlockHitResult blockHit && blockHit.getType() == HitResult.Type.BLOCK) {
			client.gameMode.useItemOn(client.player, InteractionHand.MAIN_HAND, blockHit);
		}
	}
}