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 revision
Previous revision
Next revisionBoth sides next revision
zh_cn:tutorial:registry_types [2020/11/13 05:04] – [一般注册表] solidblockzh_cn:tutorial:registry_types [2022/01/30 02:53] – [一般注册表] solidblock
Line 20: Line 20:
     * 包含所有的[[https://minecraft-zh.gamepedia.com/颗粒|颗粒类型]]。     * 包含所有的[[https://minecraft-zh.gamepedia.com/颗粒|颗粒类型]]。
   * ''%%Registry.FLUID%%''   * ''%%Registry.FLUID%%''
-    * 包含所有的[[tutorial:fluids|流体]]。+    * 包含所有的[[zh_cn:tutorial:fluids|流体]]。
   * ''%%Registry.ENCHANTMENT%%''   * ''%%Registry.ENCHANTMENT%%''
     * 包含所有的附魔。     * 包含所有的附魔。
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.+    * 包含所有兴趣点乐行。兴趣点允许实体寻找世界内的不同方块,比如村民工作站点。也用于寻找下界传送门。
  
 ===== 世界生成 ===== ===== 世界生成 =====
  
-World generation in Minecraft is complex, and there are a lot of different registries for world gen.+Minecraft的世界生成比较复杂,对于世界生成有许多不同的注册表。
  
   * ''%%Registry.BIOME%%''   * ''%%Registry.BIOME%%''
-    * Contains all [[tutorial:biomes|biomes]].+    * 包含所有的[[zh_cn:tutorial:biomes|生物群系]]
   * ''%%Registry.FEATURE%%''   * ''%%Registry.FEATURE%%''
-    * Contains all [[tutorial:features|world generation features]], including structures.+    * 包含所有的[[zh_cn:tutorial:features|世界生成特征]],包括结构。
   * ''%%Registry.STRUCTURE_FEATURE%%''   * ''%%Registry.STRUCTURE_FEATURE%%''
-    * Contains all [[tutorial:structures|structure features]].+    * 包含所有的[[zh_cn:tutorial:structures|结构特征]]
   * ''%%Registry.CARVER%%''   * ''%%Registry.CARVER%%''
-    * Contains all carvers. Carvers are used to create caves and ravines.+    * 包含所有的雕刻器。雕刻器用于创建洞穴和峡谷。
   * ''%%Registry.DECORATOR%%''   * ''%%Registry.DECORATOR%%''
-    * Contains all decorators. Decorators are used to place features.+    * 包含所有的装饰器。装饰器用于安放特征。
   * ''%%Registry.BIOME_SOURCE_TYPE%%''   * ''%%Registry.BIOME_SOURCE_TYPE%%''
-    * Contains all biome source types. They determine which biome is placed where during world generation.+    * 包含所有的生物群系源类型,这决定了生成世界时使用哪些生物群系。
   * ''%%Registry.TREE_DECORATOR_TYPE%%''   * ''%%Registry.TREE_DECORATOR_TYPE%%''
-    * Contains all tree decorator types. Tree decorators can add additional blocks, such as beehives or vines, to trees.+    * 包含所有的树木装饰器类型。这些装饰器添加一些附加方块,例如蜂箱、藤蔓。
   * ''%%Registry.FOLIAGE_PLACER_TYPE%%''   * ''%%Registry.FOLIAGE_PLACER_TYPE%%''
-    * Contains all foliage placer types. Foliage placers are used to generate the leaves of trees.+    * 包含所有的树叶放置器类型,用于生成树叶。
   * ''%%Registry.BLOCK_STATE_PROVIDER_TYPE%%''   * ''%%Registry.BLOCK_STATE_PROVIDER_TYPE%%''
-    * Contains all block state provider types. They are used to select a possibly random block state based on a position.+    * 包含所有的方块状态提供器类型,用于基于位置选择可能的随机方块状态。
   * ''%%Registry.BLOCK_PLACER_TYPE%%''   * ''%%Registry.BLOCK_PLACER_TYPE%%''
-    * Contains all block placer types. Block placers are used to place blocks in features like ''%%RandomPatchFeature%%''.+    * 包含所有的方块放置器类型,用于在''%%RandomPatchFeature%%''之类的地形中放置方块。
   * ''%%Registry.CHUNK_GENERATOR_TYPE%%''   * ''%%Registry.CHUNK_GENERATOR_TYPE%%''
-    * Contains all chunk generator types. Chunk generators define the basic shape of the terrain, such as ''%%surface%%'' for overworld-like, ''%%caves%%'' for nether-like and ''%%floating_islands%%'' for end-like terrain.+    * 包含所有的区块生成器类型。区块生成器决定了地形的基本形状,如''%%surface%%''生成类似于主世界的地表地形,''%%caves%%''用于生成类似于下界的洞穴地形,''%%floating_islands%%''用于生成类似于末地的浮岛类型。
   * ''%%Registry.CHUNK_STATUS%%''   * ''%%Registry.CHUNK_STATUS%%''
-    * Contains all chunk status types. They describe the current progress of world generation in a chunk.+    * 包含所有的区块状态类型。区块状态描述了区块中世界生成的当前进站。
   * ''%%Registry.STRUCTURE_PIECE%%''   * ''%%Registry.STRUCTURE_PIECE%%''
-    * Contains all structure piece types. Structure pieces are smaller parts of a structure, such as a single room.+    * 包含所有的结构构件。结构构件是结构的小部分,例如单间房间。
   * ''%%Registry.RULE_TEST%%''   * ''%%Registry.RULE_TEST%%''
-    * Contains all rule test types. They are used to match blocks in structure generation.+    * 包含所有的规则测试类型,用于在世界生成中匹配方块。
   * ''%%Registry.STRUCTURE_PROCESSOR%%''   * ''%%Registry.STRUCTURE_PROCESSOR%%''
-    * Contains all structure processor types. Structure processors modify structures after they have been generated.+    * 包含所有的结构处理器类型。结构处理器会在结构生成后对其进行修改。
   * ''%%Registry.STRUCTURE_POOL_ELEMENT%%''   * ''%%Registry.STRUCTURE_POOL_ELEMENT%%''
-    * Contains all structure pool elements. Structure pool elements are even smaller parts of structures, and they are contained within pool structure pieces. They are used for generating structures that are based on datapacks (such as structures using jigsaws).+    * 包含所有的结构池元素。结构池元素时结构的更小部分,包含在池结构构件中,用于生成基于数据包的结构(例如使用拼图的结构)。
   * ''%%Registry.SURFACE_BUILDER%%''   * ''%%Registry.SURFACE_BUILDER%%''
-    * Contains all surface builders. Surface builders are used to place the surface blocks of a biome, such as grass in many overworld biomes.+    * 包含所有的地表构造器。地表构造器用于放置生物群系的地表,例如许多主世界生物群系的草。
  
  
zh_cn/tutorial/registry_types.txt · Last modified: 2023/08/15 14:21 by wjz_p