User Tools

Site Tools


zh_cn:tutorial:registry_types

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
zh_cn:tutorial:registry_types [2020/11/13 05:04] – [一般注册表] solidblockzh_cn:tutorial:registry_types [2021/05/20 11:47] – [实体] solidblock
Line 46: Line 46:
 ===== 实体===== ===== 实体=====
  
-Most of these registries, apart from ''%%ENTITY_TYPE%%'' itself, are related to entity AI.+绝大多数这些注册表,除了''%%ENTITY_TYPE%%''自身,都与实体AI有关。
  
   * ''%%Registry.ENTITY_TYPE%%''   * ''%%Registry.ENTITY_TYPE%%''
-    * Contains the ''%%EntityType%%'' of each [[tutorial:entity-old|entity]]. Like block entity types, entity types are used for syncing and deserialization.+    * 包含每个[[zh_cn:tutorial:entity-old|实体]]的实体类型(''%%EntityType%%'')。类似于方块实体类型,实体类型用于同步和取消序列化。
   * ''%%Registry.SCHEDULE%%''   * ''%%Registry.SCHEDULE%%''
-    * Contains schedules for entities (usually villagers). Schedules control their activities based on the time of day.+    * 包含实体(通常是村民)的时刻表。时刻表控制实体基于一天内时间的行为。
   * ''%%Registry.ACTIVITY%%''   * ''%%Registry.ACTIVITY%%''
-    * Controls activities for entities (usually villagers). Activities, such as ''%%play%%'' or ''%%work%%'', control the behavior of entities.+    * 控制实体(通常是村民)的活动。这些活动,比如''%%play%%''''%%work%%'',控制实体的行为。
   * ''%%Registry.SENSOR_TYPE%%''   * ''%%Registry.SENSOR_TYPE%%''
-    * Contains the type of each entity sensor. Sensors allow entities to "sense" different things and store them in their memory. +    * 包含每个实体传感器的类型。传感器允许实体“感受”不同的事物,并将其储存在记忆中。 
-    * Like schedules and activities, this is mostly used by villagers.+    * 类似于时刻表和活动,主要用于村民。
   * ''%%Registry.MEMORY_MODULE_TYPE%%''   * ''%%Registry.MEMORY_MODULE_TYPE%%''
-    * Contains all types of memory modules. Memory module types describe different things entities can remember.+    * 包含所有类型的记忆模块。记忆模块描述了实体能够记住的不同内容。
   * ''%%Registry.VILLAGER_TYPE%%''   * ''%%Registry.VILLAGER_TYPE%%''
-    * Contains all villager biome types.+    * 包含所有村民生物群系类型。
   * ''%%Registry.VILLAGER_PROFESSION%%''   * ''%%Registry.VILLAGER_PROFESSION%%''
-    * Contains all villager professions.+    * 包含所有村民职业。
   * ''%%Registry.POINT_OF_INTEREST_TYPE%%''   * ''%%Registry.POINT_OF_INTEREST_TYPE%%''
-    * Contains all types of points of interest. Points of interest allow entities to search for different blocks in the world, such as villager job sites. They are also used to locate nether portals.+    * 包含所有兴趣点乐行。兴趣点允许实体寻找世界内的不同方块,比如村民工作站点。也用于寻找下界传送门。
  
 ===== 世界生成 ===== ===== 世界生成 =====
zh_cn/tutorial/registry_types.txt · Last modified: 2023/08/15 14:21 by wjz_p