Interface EntityComponent

All Known Subinterfaces:
EntityAngryable, EntityCanSit, EntityColor, EntityMarkVariant, EntityOwnable, EntityVariant
All Known Implementing Classes:
EntityCat, EntityHorse, EntityTameable, EntityWolf

@PowerNukkitXOnly @Since("1.19.63-r1") public interface EntityComponent
继承了此接口的接口为一个实体组件
实体组件的实现使用default方法承载逻辑,相关值则使用记忆存储器存储

The interface that inherits this interface is an entity component
The implementation of the entity component uses the default method to carry the logic, and the related values are stored in memory

  • Method Details