- 致编者:请牢记我们的域名wiki.mcbe-dev.net!
- 致编者:欢迎加入本Wiki的官方交流QQ群或Discord服务器!
- 基岩版1.19.31现已发布!(了解更多)
- Inner Core现已支持Xbox模组联机!(了解更多)
- 如果您是第一次来到本Wiki,欢迎注册一个账户
- 点击顶部的“编辑”或“编辑源代码”按钮即可编辑当前页面
- 请知悉:在不登录时也可以编辑和新建页面,但是您当前的IP地址会记录在编辑历史中
手冊:@minecraft/server/EntityComponentTypeMap
出自Minecraft基岩版开发Wiki
EntityComponentTypeMap包含了各實體元件型別的別名映射。
映射[編輯]
程式碼[編輯]
type EntityComponentTypeMap = {
'addrider': EntityAddRiderComponent;
'ageable': EntityAgeableComponent;
'breathable': EntityBreathableComponent;
'can_climb': EntityCanClimbComponent;
'can_fly': EntityCanFlyComponent;
'can_power_jump': EntityCanPowerJumpComponent;
'color': EntityColorComponent;
'equippable': EntityEquippableComponent;
'fire_immune': EntityFireImmuneComponent;
'floats_in_liquid': EntityFloatsInLiquidComponent;
'flying_speed': EntityFlyingSpeedComponent;
'friction_modifier': EntityFrictionModifierComponent;
'ground_offset': EntityGroundOffsetComponent;
'healable': EntityHealableComponent;
'health': EntityHealthComponent;
'inventory': EntityInventoryComponent;
'is_baby': EntityIsBabyComponent;
'is_charged': EntityIsChargedComponent;
'is_chested': EntityIsChestedComponent;
'is_dyeable': EntityIsDyeableComponent;
'is_hidden_when_invisible': EntityIsHiddenWhenInvisibleComponent;
'is_ignited': EntityIsIgnitedComponent;
'is_illager_captain': EntityIsIllagerCaptainComponent;
'is_saddled': EntityIsSaddledComponent;
'is_shaking': EntityIsShakingComponent;
'is_sheared': EntityIsShearedComponent;
'is_stackable': EntityIsStackableComponent;
'is_stunned': EntityIsStunnedComponent;
'is_tamed': EntityIsTamedComponent;
'item': EntityItemComponent;
'lava_movement': EntityLavaMovementComponent;
'leashable': EntityLeashableComponent;
'mark_variant': EntityMarkVariantComponent;
'minecraft:addrider': EntityAddRiderComponent;
'minecraft:ageable': EntityAgeableComponent;
'minecraft:breathable': EntityBreathableComponent;
'minecraft:can_climb': EntityCanClimbComponent;
'minecraft:can_fly': EntityCanFlyComponent;
'minecraft:can_power_jump': EntityCanPowerJumpComponent;
'minecraft:color': EntityColorComponent;
'minecraft:equippable': EntityEquippableComponent;
'minecraft:fire_immune': EntityFireImmuneComponent;
'minecraft:floats_in_liquid': EntityFloatsInLiquidComponent;
'minecraft:flying_speed': EntityFlyingSpeedComponent;
'minecraft:friction_modifier': EntityFrictionModifierComponent;
'minecraft:ground_offset': EntityGroundOffsetComponent;
'minecraft:healable': EntityHealableComponent;
'minecraft:health': EntityHealthComponent;
'minecraft:inventory': EntityInventoryComponent;
'minecraft:is_baby': EntityIsBabyComponent;
'minecraft:is_charged': EntityIsChargedComponent;
'minecraft:is_chested': EntityIsChestedComponent;
'minecraft:is_dyeable': EntityIsDyeableComponent;
'minecraft:is_hidden_when_invisible': EntityIsHiddenWhenInvisibleComponent;
'minecraft:is_ignited': EntityIsIgnitedComponent;
'minecraft:is_illager_captain': EntityIsIllagerCaptainComponent;
'minecraft:is_saddled': EntityIsSaddledComponent;
'minecraft:is_shaking': EntityIsShakingComponent;
'minecraft:is_sheared': EntityIsShearedComponent;
'minecraft:is_stackable': EntityIsStackableComponent;
'minecraft:is_stunned': EntityIsStunnedComponent;
'minecraft:is_tamed': EntityIsTamedComponent;
'minecraft:item': EntityItemComponent;
'minecraft:lava_movement': EntityLavaMovementComponent;
'minecraft:leashable': EntityLeashableComponent;
'minecraft:mark_variant': EntityMarkVariantComponent;
'minecraft:movement': EntityMovementComponent;
'minecraft:movement.amphibious': EntityMovementAmphibiousComponent;
'minecraft:movement.basic': EntityMovementBasicComponent;
'minecraft:movement.fly': EntityMovementFlyComponent;
'minecraft:movement.generic': EntityMovementGenericComponent;
'minecraft:movement.glide': EntityMovementGlideComponent;
'minecraft:movement.hover': EntityMovementHoverComponent;
'minecraft:movement.jump': EntityMovementJumpComponent;
'minecraft:movement.skip': EntityMovementSkipComponent;
'minecraft:movement.sway': EntityMovementSwayComponent;
'minecraft:navigation.climb': EntityNavigationClimbComponent;
'minecraft:navigation.float': EntityNavigationFloatComponent;
'minecraft:navigation.fly': EntityNavigationFlyComponent;
'minecraft:navigation.generic': EntityNavigationGenericComponent;
'minecraft:navigation.hover': EntityNavigationHoverComponent;
'minecraft:navigation.walk': EntityNavigationWalkComponent;
'minecraft:onfire': EntityOnFireComponent;
'minecraft:push_through': EntityPushThroughComponent;
'minecraft:rideable': EntityRideableComponent;
'minecraft:riding': EntityRidingComponent;
'minecraft:scale': EntityScaleComponent;
'minecraft:skin_id': EntitySkinIdComponent;
'minecraft:strength': EntityStrengthComponent;
'minecraft:tameable': EntityTameableComponent;
'minecraft:tamemount': EntityMountTamingComponent;
'minecraft:underwater_movement': EntityUnderwaterMovementComponent;
'minecraft:variant': EntityVariantComponent;
'minecraft:wants_jockey': EntityWantsJockeyComponent;
'movement': EntityMovementComponent;
'movement.amphibious': EntityMovementAmphibiousComponent;
'movement.basic': EntityMovementBasicComponent;
'movement.fly': EntityMovementFlyComponent;
'movement.generic': EntityMovementGenericComponent;
'movement.glide': EntityMovementGlideComponent;
'movement.hover': EntityMovementHoverComponent;
'movement.jump': EntityMovementJumpComponent;
'movement.skip': EntityMovementSkipComponent;
'movement.sway': EntityMovementSwayComponent;
'navigation.climb': EntityNavigationClimbComponent;
'navigation.float': EntityNavigationFloatComponent;
'navigation.fly': EntityNavigationFlyComponent;
'navigation.generic': EntityNavigationGenericComponent;
'navigation.hover': EntityNavigationHoverComponent;
'navigation.walk': EntityNavigationWalkComponent;
'onfire': EntityOnFireComponent;
'push_through': EntityPushThroughComponent;
'rideable': EntityRideableComponent;
'riding': EntityRidingComponent;
'scale': EntityScaleComponent;
'skin_id': EntitySkinIdComponent;
'strength': EntityStrengthComponent;
'tameable': EntityTameableComponent;
'tamemount': EntityMountTamingComponent;
'underwater_movement': EntityUnderwaterMovementComponent;
'variant': EntityVariantComponent;
'wants_jockey': EntityWantsJockeyComponent;
};