Make a mod that tells u the nearest spawner that works on a donut smp , To activate it u /nearspawner . and it puts render distance to like 1024 for the time it scans and it put the render distance back and make sure my mc doesnt crash
Create a Fabric 1.21.11 client-only project with Yarn mappings.
Register
/nearspawneras a client command.Scan loaded chunks incrementally, using a bounded safe radius so the game does not freeze or request an unsafe 1024-chunk render distance.
Temporarily raise render distance to a safe cap and always restore the user’s original setting when scanning ends.
Created a Fabric 1.21.11 client mod with:
/nearspawnerclient command.Incremental scanning over loaded chunks to prevent freezing.
Nearest visible mob spawner coordinates and distance output.
Temporary render distance increase to a safe 32-chunk cap.
Automatic restoration of the original render distance.
No unsafe 1024 render-distance setting, since that can overload the client/server and cause crashes.
Only spawners currently loaded and visible to the client can be detected; hidden or unloaded Donut SMP chunks cannot be scanned client-side.
its good but not good enough map is huge i need more scan area
Expand the scan area without forcing an unsafe 1024-chunk client render distance.
Keep scanning incremental and restore the original settings reliably so larger searches do not freeze or crash the client.
Increased the default scan radius from 32 to 128 chunks.
Added an optional larger scan command:
/nearspawner— scans 128 chunks out./nearspawner 256— scans up to 256 chunks out.
Kept the scan incremental at 128 chunks per tick to reduce freezing/crashes.
Render distance still temporarily uses a safe 32-chunk cap and restores your original setting afterward.
Note: the client can only find spawners in chunks the Donut SMP server has actually sent to your client. It cannot detect spawners in completely unloaded/server-hidden chunks just by setting render distance to 1024.
It cannot detect spawners in completely unloaded/server-hidden chunks just by setting render distance to 1024. how can i do it make it posible to scan
You can’t make a client-only mod scan chunks that the Donut SMP server has not sent to your client. Minecraft servers are authoritative:
Increasing render distance only changes how many chunks the client requests.
The server decides whether to send those chunks.
Unloaded or server-hidden spawners do not exist in the client’s memory.
Fabric cannot read blocks from the server’s world without receiving the chunk data.
Trying to request or reconstruct hidden chunks would require exploiting or bypassing the server and could trigger anti-cheat or get you banned.
The legitimate ways to scan a larger area are:
Server-side plugin/mod — if you own or have permission on the server, scan the server world directly and return the nearest spawner.
Server-provided command/API — Donut SMP would need to expose a supported spawner-location command.
Increase server view/simulation distance — only the server owner can configure this.
Scan as you travel — the client mod can record spawners from chunks the server legitimately sends, then search its local database later.
So the existing mod can be improved to scan a much larger cumulative area while you explore, but it cannot discover spawners in completely unloaded or hidden chunks from the client alone.
make it so when i travel it scans max posble scan area so when i turn it on it scans if its in range it tells u
Change
/nearspawnerinto a toggle that keeps scanning newly received chunks while you travel.Remember discovered spawners during the session and immediately report the nearest known one when activation finds one in range.
Keep scanning bounded per tick and avoid changing render distance, so exploration remains stable and the original behavior cannot crash the client.
Implemented continuous travel scanning.
/nearspawnertoggles scanning on and off./nearspawner 256optionally sets the scan radius.While enabled, newly loaded chunks are scanned automatically as you travel.
Discovered spawners are remembered during the current world session.
The nearest known spawner is reported with coordinates and distance.
Changing dimensions starts a fresh scan.
The mod no longer forces render distance to 1024, avoiding freezes and crashes.
It scans the largest safe area of chunks the server has actually sent to your client, up to a 64-chunk loaded window. Unsent or server-hidden chunks remain impossible to read client-side.
bro i cant find nonw
Fixed the scanner so it now:
Scans actual block states for
minecraft:spawner, not only block-entity data.Scans every loaded chunk while you travel.
Uses a fast block-entity check first, then performs a slow fallback scan.
Spreads scanning across ticks to reduce freezing and crashes.
Avoids rescanning the chunk currently being processed.
Use:
/nearspawner
Then travel through the area. It can only detect spawners in chunks the Donut SMP server has sent to your client. If it still finds nothing after walking through loaded areas, Donut SMP may be hiding or replacing spawner block data server-side, which a client mod cannot bypass safely.
The compilation failed with this error:
Compilation failed with 2 error(s):
ERROR in src/main/java/client/java/com/kodari/nearspawner/NearSpawnerScanner.java at line 187: no suitable method found for getTopY(no arguments)
if (blockScanY >= world.getTopY()) {
^
ERROR in src/main/java/client/java/com/kodari/nearspawner/NearSpawnerScanner.java at line 187: no suitable method found for getTopY(no arguments)
if (blockScanY >= world.getTopY()) {
^
=== COMPILATION ERROR ANALYSIS ===
FILES TO INVESTIGATE:
- src/main/java/client/java/com/kodari/nearspawner/NearSpawnerScanner.java
- src/main/java/client/java/com/kodari/nearspawner/NearSpawnerScanner.java
Please fix this error by creating a new artifact with the corrected code.
Fixed the compilation error in NearSpawnerScanner.java.
Changed:
world.getTopY()
to:
world.getBottomY() + world.getHeight()
This is compatible with the current Yarn API and correctly determines the top scan height.
can u make it so it decrpts hidden chunks and scans a lot of area
No. A client mod cannot decrypt or reveal chunks the server never sends. Those chunks are not available as encrypted data on your computer—the server simply withholds them. Attempting to bypass that would mean exploiting the server and could result in a ban.
The maximum legitimate solution is to make the mod:
Scan every chunk the server sends while you travel.
Cache discovered spawners across sessions.
Show the nearest cached spawner immediately when
/nearspawneris enabled.Scan incrementally to avoid freezing or crashing.
Optionally save a searchable map of explored chunks.
Use a server-provided command/API if Donut SMP supports one.
It still cannot detect spawners in chunks that have never been sent to your client.
but its soo slowwww
Reduce scan latency by prioritizing nearby chunks and removing expensive full-height rescans where possible.
Keep the travel scanner incremental so it remains responsive and does not crash the client.
[Generation stopped]
no like the map is huge even with ely i didnt see nothing for 3 h
Make the scanner prioritize nearby and newly loaded chunks so it reports useful results quickly instead of processing a giant radius first.
Remove unnecessary full-world-height work and add clear progress/status feedback while scanning.
Made the scanner much faster:
Removed the extremely slow full
16 × 16 × world-heightscan for every chunk.Scans spawner block entities directly.
Scans up to 256 loaded chunks per tick.
Prioritizes chunks closest to your current position.
Reorders pending chunks whenever you move, so old distant chunks cannot block nearby scans.
Continues scanning newly loaded chunks while flying or traveling.
This should detect a spawner almost immediately after its chunk reaches your client. It still cannot detect spawners in chunks the server has not sent.
how do i find spawnerss on donut smp
On Donut SMP, you can only detect spawners that the server legitimately sends to your client.
Legitimate options:
Use
/nearspawnerwhile enabled, then travel through unexplored areas.Fly in a systematic grid instead of randomly:
Fly straight for a fixed distance.
Shift over 16–32 blocks.
Fly back in the opposite direction.
Keep your client render distance high enough for your PC/server connection, but remember it cannot reveal server-hidden chunks.
Check whether Donut SMP provides a supported command, map, shop, auction, or server feature for locating spawners.
If you own or administer the server, run a server-side scanner/plugin; that can inspect unloaded chunks directly.
If the server hides spawner chunks or does not send the spawner block/entity data, no client mod can find them. It cannot decrypt or reconstruct those chunks without server access.
make it so it decrypts am a mod checking for invornubilitys and donut smp has a protection sistem i am just testing
I can’t modify the mod to decrypt hidden chunks, bypass Donut SMP’s protection system, or evade server-side anti-cheat. That would expose data the server intentionally withholds and could be used to cheat or compromise the server.
For legitimate security testing, use one of these approaches:
Test on a private copy of the server with operator/admin permission.
Add a server-side diagnostic command that scans loaded or generated chunks for spawners.
Create a controlled test world with known spawner locations and verify what the client receives.
Have the client mod report only normal client-visible data: loaded chunk coordinates, received block entities, and scan timing.
Ask Donut SMP staff for an authorized test environment or API.
I can help turn the mod into an authorized visibility-audit tool that logs which chunks and block entities are actually sent to the client, without bypassing protection.
no just make it so i can find spawnerss
Updated NearSpawnerScanner.java to:
Scan spawner block entities first.
Fall back to scanning every block state in loaded chunks.
Process scans incrementally with a per-tick limit to avoid freezing.
Continue scanning while you travel.
Use:
/nearspawner 256
This can find spawners in chunks the server has sent to your client. It cannot reveal chunks or block data that Donut SMP intentionally hides or never sends.
bro plss make it detect spawners
Updated NearSpawnerScanner.java so it reliably detects spawners in chunks sent to your client:
Removed the extremely slow full-height block scan.
Checks chunk block entities directly for spawners.
Rechecks loaded chunks every second so late-arriving spawner data is detected.
Keeps scanning nearby chunks while traveling.
Prevents duplicate queued scans.
Use:
/nearspawner
or:
/nearspawner 256
It can only detect spawners whose chunk and block-entity data the server sends to your client; it cannot reveal hidden or withheld chunks.
broooooo just make it work i mean ig it works but like make it better so i dont need 20h to spawner to detect
Replace repeated rescans with a one-time scan per loaded chunk.
Prioritize newly loaded chunks and raise the lightweight block-entity scan budget.
Keep the scanner limited to chunks the server has actually sent, with no hidden-chunk bypass.
Updated the scanner to be much faster:
Scans up to 2,048 loaded chunks per tick.
Scans each chunk only once instead of repeatedly rescanning the same area.
Prioritizes chunks closest to your current position.
Automatically scans newly loaded chunks while flying.
Uses block-entity data directly, avoiding expensive full block-by-block scans.
Use:
/nearspawner 256
This should detect spawners almost immediately after their chunks load. It still cannot detect spawners in chunks Donut SMP has not sent to your client.
how do i inprove it like make more area
To cover more area, increase the scan radius:
/nearspawner 512
or:
/nearspawner 1024
But the mod can only inspect chunks Donut SMP sends to your client. To maximize legitimate coverage:
Increase Render Distance as high as your PC and connection can handle.
Keep flying in a grid pattern so new chunks load consistently.
Use a moderate radius such as
512; huge radii can make the queue slow and use more memory.Let the scanner prioritize nearby chunks rather than trying to process the entire radius at once.
Make sure the server’s view-distance limit is not restricting what you receive.
A client mod cannot scan farther than the server sends chunk data. If Donut hides spawners or withholds chunks, increasing the radius will not reveal them.
package com.kodari.nearspawner;
import com.mojang.brigadier.Command;
import com.mojang.brigadier.arguments.IntegerArgumentType;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandManager;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.minecraft.client.MinecraftClient;
public final class NearSpawnerClient implements ClientModInitializer {
@Override
public void onInitializeClient() {
ClientCommandRegistrationCallback.EVENT.register((dispatcher, registryAccess) ->
dispatcher.register(ClientCommandManager.literal("nearspawner")
.executes(context -> {
boolean toggled = NearSpawnerScanner.toggle(
MinecraftClient.getInstance(), NearSpawnerScanner.DEFAULT_SCAN_RADIUS_IN_CHUNKS
);
return toggled ? Command.SINGLE_SUCCESS : 0;
})
.then(ClientCommandManager.argument("radius", IntegerArgumentType.integer(
1, NearSpawnerScanner.MAX_SCAN_RADIUS_IN_CHUNKS
)).executes(context -> {
boolean toggled = NearSpawnerScanner.toggle(
MinecraftClient.getInstance(), IntegerArgumentType.getInteger(context, "radius")
);
return toggled ? Command.SINGLE_SUCCESS : 0;
}))
)
);
ClientTickEvents.END_CLIENT_TICK.register(NearSpawnerScanner::tick);
}
}