EntityAccess .java

net.minecraft.world.level.entity.EntityAccess (interface): members: setLevelCallback, getPassengersAndSelf, getSelfAndPassengers, isAlwaysTicking, getId.

net.minecraft.world.level.entityinterface27 linescommonextends UniquelyIdentifyable604 B

API Surface (0)

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

Code Graph: Dependencies (5)

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

Full Source

EntityAccess.java27 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.level.entity;
2
3
import java.util.stream.Stream;
4
import net.minecraft.core.BlockPos;
5
import net.minecraft.world.entity.Entity;
6
import net.minecraft.world.phys.AABB;
7
8
public interface EntityAccess extends UniquelyIdentifyable {
9
	int getId();
10
11
	BlockPos blockPosition();
12
13
	AABB getBoundingBox();
14
15
	void setLevelCallback(EntityInLevelCallback callback);
16
17
	Stream<? extends EntityAccess> getSelfAndPassengers();
18
19
	Stream<? extends EntityAccess> getPassengersAndSelf();
20
21
	void setRemoved(Entity.RemovalReason removalReason);
22
23
	boolean shouldBeSaved();
24
25
	boolean isAlwaysTicking();
26
}
27

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