Package net.minecraft.world
Interface EntityLoader<T>
- All Known Implementing Classes:
ClientWorld.EntityLoader
,ServerWorld.EntityLoader
public interface EntityLoader<T>
Isolates client and server side specific logic when loading and unloading entities to and from a world.
-
Method Summary
Modifier and Type Method Description void
addEntity(T entity)
void
destroyEntity(T entity)
void
method_31802(T entity)
void
onLoadEntity(T entity)
void
onUnloadEntity(T entity)
void
removeEntity(T entity)
-
Method Details
-
method_31802
-
destroyEntity
-
addEntity
-
removeEntity
-
onLoadEntity
-
onUnloadEntity
-