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 voidaddEntity(T entity)voiddestroyEntity(T entity)voidmethod_31802(T entity)voidonLoadEntity(T entity)voidonUnloadEntity(T entity)voidremoveEntity(T entity)
-
Method Details
-
method_31802
-
destroyEntity
-
addEntity
-
removeEntity
-
onLoadEntity
-
onUnloadEntity
-