Back to mods
Anti Pie project artwork

Modrinth · Minecraft mod

Anti Pie

A plugin that stops certain hidden block entities from being sent to players to prevent the pie chart from working.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Anti Pie release should I use?

Updated 7 days ago
Latest stable file 1.1.0+spigot
Game version 1.18, 1.18.1, 1.18.2
Loader bukkit, paper, purpur

Anti Pie 1.1.0+spigot targets 1.18, 1.18.1, 1.18.2 with bukkit, paper, purpur. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is Anti Pie required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release bukkit, paper, purpur
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Anti Pie 1.1.0+spigot need?

1.1.0+spigot. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Anti Pie without breaking your instance.

Built for Anti Pie 1.1.0+spigot. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.1.0+spigot. It targets 1.18, 1.18.1, 1.18.2 with bukkit, paper, purpur; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.1.0+spigot. It opens that exact file at the source.

About this project

What does Anti Pie add?

Anti Pie

Anti Pie is a server-side plugin that stops certain hidden block entities from being sent to players. This keeps them from showing up on the debug pie chart, making it harder to use the pie chart to find hidden bases.

How it works

  • Removes selected block entities from chunk packets before they are sent to the client.
  • Regularly checks hidden positions and sends the real block and block entity data as soon as they become visible.
  • Uses a voxel raycast and counts full solid blocks as blockers. Transparent blocks and partial blocks do not hide a target.

Performance

Most packets only do a few simple type checks. Visibility checks are limited by visibilityChecksPerPass (32 by default): four times per second while a player is moving and once per second while standing still. When chunks first load, visibility checks are also limited to 64 per player each tick.

Each visibility check first tests the center of the block. If needed, it checks the exposed faces. Most blocks only need one raycast, while the worst case is 31 raycasts. Hidden positions are stored as packed longs to keep memory usage low.

The client does not run any extra code. Initial chunk packets are the same size or smaller because hidden block entity data is removed. When a hidden block becomes visible, the server sends one replacement chunk packet for the affected chunk. This can briefly use a little more bandwidth and cause the client to rebuild the chunk, but normal gameplay is usually lighter because the client has fewer block entities to process.

Configuration

Anti Pie creates an anti-pie.json5 file in your server's config folder the first time it starts.

From this file you can:

  • Choose which block entities should be hidden.
  • Change how close players must be before hidden block entities are always shown.
  • Adjust how often visibility checks run and how much work the server does each pass to balance performance and responsiveness.

The config uses the JSON5 format for comments to make it easier to read and customize.

License

CC0-1.0. The code is original, but the packet-filtering idea was inspired by orbyfied/AntiPieRay.

Project description from Modrinth.

Pick your setup

Anti Pie by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

37 available setups

Showing the newest 12 of 31 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Anti Pie versions and loaders

5 of 5 releases match

Looking for an older file? The official Modrinth project page is in Resources.