EntityInLevelCallback .java

net.minecraft.world.level.entity.EntityInLevelCallback (interface, 20 lines): members: onRemove, onMove, NULL. imports: Entity.

net.minecraft.world.level.entityinterface20 linescommon380 B

API Surface (2)

void onMove()
void onRemove(final Entity.RemovalReason reason)

Fields & Constants (1)

NULL

Code Graph: Dependencies (1)

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

Full Source

EntityInLevelCallback.java20 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.level.entity;
2
3
import net.minecraft.world.entity.Entity;
4
5
public interface EntityInLevelCallback {
6
	EntityInLevelCallback NULL = new EntityInLevelCallback() {
7
		@Override
8
		public void onMove() {
9
		}
10
11
		@Override
12
		public void onRemove(final Entity.RemovalReason reason) {
13
		}
14
	};
15
16
	void onMove();
17
18
	void onRemove(final Entity.RemovalReason reason);
19
}
20

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