LevelEntityGetter .java

net.minecraft.world.level.entity.LevelEntityGetter (interface, 22 lines): members: getAll, get. imports: AbortableIterationConsumer, AABB, Nullable.

net.minecraft.world.level.entityinterface22 linescommonextends EntityAccess>668 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (3)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

LevelEntityGetter.java22 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.level.entity;
2
3
import java.util.UUID;
4
import java.util.function.Consumer;
5
import net.minecraft.util.AbortableIterationConsumer;
6
import net.minecraft.world.phys.AABB;
7
import org.jspecify.annotations.Nullable;
8
9
public interface LevelEntityGetter<T extends EntityAccess> {
10
	@Nullable T get(final int id);
11
12
	@Nullable T get(final UUID id);
13
14
	Iterable<T> getAll();
15
16
	<U extends T> void get(final EntityTypeTest<T, U> type, final AbortableIterationConsumer<U> consumer);
17
18
	void get(final AABB bb, final Consumer<T> output);
19
20
	<U extends T> void get(final EntityTypeTest<T, U> type, final AABB bb, final AbortableIterationConsumer<U> consumer);
21
}
22

Decompiled Minecraft 26.3 source of LevelEntityGetter (net/minecraft/world/level/entity/LevelEntityGetter.java) with Mojang official mappings, stored verbatim on the site.