본문으로 건너뛰기

엔티티 컴포넌트 레퍼런스 (14/23)

MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 컴포넌트 문서를 옮긴 쪽이다. 설명은 한국어로 옮기고 ID, 속성 이름, 유형, 기본값, JSON은 원문 그대로 두었다. 전체 목록은 색인에 있다.

minecraft:projectile​

(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_projectile.md)

엔티티를 투사체로 만든다. 포물선을 그리며 날아가 블록, 액체, 엔티티에 맞으면 반응한다.

Turns the entity into a projectile: a thrown or shot entity that flies along a ballistic arc and reacts when it impacts a block, a fluid, or another entity.

Entity Projectile Properties​

이름기본값유형설명
anchororiginAnchor choices발사 시 투사체를 배치하는 기준이 되는 발사자의 기준점: 0 = 원점(발), 1 = 눈 높이, 2 = 경계 상자 중앙.
angle_offset0Decimal number발사 시 발사자의 조준 방향에 더하는 추가 위쪽 피치(도). 음수는 아래를 향한다.
catch_firefalseBoolean true/false맞은 엔티티에 불을 붙일지 정한다.
crit_particle_on_hurtfalseBoolean true/falsetrue이면 투사체가 맞았을 때 크리티컬 파티클이 생성된다.
destroy_on_hurtfalseBoolean true/falsetrue이면 투사체가 맞았을 때 월드에서 제거된다.
gravity0.05000000074505806Decimal number비행 중 틱마다 적용되는 아래쪽 가속도(블록/틱²). 클수록 투사체가 빨리 떨어진다.
hit_ground_soundString투사체가 블록에 맞았을 때 재생할 소리의 식별자. 비어 있으면 hit_sound를 쓴다.
hit_nearest_passengerfalseBoolean true/falsetrue이면 투사체가 탑승자가 있는 탈것에 맞았을 때 탈것 대신 충돌 지점에서 가장 가까운 탑승자에게 적중 동작을 적용한다.
hit_soundString투사체가 엔티티에 맞았을 때 재생할 소리의 식별자. hit_ground_sound가 없으면 블록에 맞을 때도 쓴다.
hit_waterfalseBoolean true/falsetrue이면 투사체가 물을 충돌 표면으로 취급해 닿으면 멈춘다(교육 에디션 화학 기능).
homingfalseBoolean true/falsetrue이면 투사체가 비행 중 활성 대상을 향해 방향을 튼다.
ignored_entities[]Array of strings맞아도 충돌로 처리하지 않고 통과할 엔티티 식별자 배열.
inertia0.9900000095367432Decimal number공기 중을 날 때 틱마다 유지되는 투사체 속도의 비율. 1.0보다 작으면 시간이 지나며 느려진다.
is_dangerousfalseBoolean true/falsetrue이면 투사체가 위험한 것으로 표시되어 AI 반응과 일부 클라이언트 동작에 영향을 준다.
isolated_physicstrueBoolean true/falsetrue이면 이 투사체는 마찰이나 항력 같은 외부 힘의 영향을 받지 않는다.
lightningfalseBoolean true/falsetrue이면 천둥 치는 동안 투사체가 엔티티에 맞았을 때 번개를 끌어올 수 있다.
liquid_inertia0.6000000238418579Decimal number액체 속을 지날 때 틱마다 유지되는 투사체 속도의 비율.
multiple_targetsfalseBoolean true/falsetrue이면 투사체가 비행하는 동안 둘 이상의 엔티티를 맞힐 수 있고, false이면 처음 맞힌 엔티티에서 멈춘다.
offset[0, 0, 0]Array of numbers발사자가 쐈을 때 투사체가 생성되는 anchor 기준 오프셋.
offset (Offset)not setOffset (Offset) item
on_fire_time5Decimal number이 투사체로 불이 붙은 엔티티가 계속 타는 시간(초). 레거시 최상위 catch_fire 플래그와 적중 시 catch_fire 하위 컴포넌트 모두에 적용된다.
on_hitnot setHit item투사체가 블록, 액체, 엔티티에 부딪쳤을 때 일어나는 일을 정하는 적중 하위 컴포넌트 맵. 각 키는 하위 컴포넌트 이름이고 값은 그 설정이다.
owner_launch_immunity_ticks5Integer number발사 직후 투사체가 자기 발사자를 맞힐 수 없는 틱 수.
particleiconcrackParticle choices투사체가 무언가에 맞았을 때 충돌 위치에서 내보내는 파티클 효과.
potion_effect-1Integer number투사체에 연결된 기본 포션 보조 값.
power1.2999999523162842Decimal number투사체가 발사되는 초기 속도(블록/틱).
reflect_immunity0Decimal number발사 후 투사체를 쳐서 반사할 수 없는 시간(초).
reflect_on_hurtfalseBoolean true/falsetrue이면 다른 투사체에 맞거나 피해를 입을 때 이 투사체가 반사된다.
shoot_soundString투사체가 발사될 때 재생할 소리의 식별자.
shoot_targettrueBoolean true/falsetrue이면 투사체가 곧장 앞이 아니라 (있다면) 발사자의 현재 대상을 향해 조준된다.
should_bouncenoShould Bounce choices투사체가 충돌할 때 엔티티에서 튕겨 나오는지 제어한다.
splash_range4Decimal number투척/잔류 포션 코드 경로로 포션 효과를 적용할 때 쓰는 튀는 반경(블록).
spread_firetrueBoolean true/falsetrue이면 불이 붙은 투사체가 엔티티에 맞았을 때 엔티티에 불을 옮긴다.
stop_on_hurtfalseBoolean true/falsetrue이면 투사체가 맞았을 때 속도가 0이 된다.
uncertainty_base0Decimal number발사 방향에 더해지는 기본 부정확도. 전체 부정확도는 uncertainty_base - difficultyLevel * uncertainty_multiplier다.
uncertainty_multiplier0Decimal number난이도 단계별 부정확도 감소량. 전체 공식은 uncertainty_base를 본다.

catch_fire​

Determines whether the entity hit will be set on fire. Note: the presence of this field in the component definition causes targets to catch fire regardless of the value set. To prevent fire, remove this field entirely from the component.

isolated_physics​

If true, this projectile is not affected by outside forces such as friction and drag. This item requires a format version of at least 1.26.20. Available under the Custom Projectiles experimental toggle starting in format version 1.26.20.

multiple_targets​

If true, the projectile can hit more than one entity over the course of its flight; if false, it stops at the first entity it hits. Projectiles launched with the Piercing enchantment have this value set to true.

potion_effect​

Default potion aux value associated with the projectile. Normally set programmatically by potion items; rarely useful at authoring time. A value matching the water potion is required for the douse_fire on-hit subcomponent to extinguish fires.

reflect_on_hurt​

If true, this projectile will be reflected back when hit by another projectile or by taking damage. From 1.26.0, every projectile reflects projectiles that have reflect_on_hurt: true on hit, in addition to the existing damage-based reflection.

should_bounce​

Controls whether the projectile bounces off entities on impact. no disables bouncing, if_invulnerable bounces only off invulnerable entities, and if_no_damage_dealt bounces whenever no damage is dealt to the target.

Anchor choices​

값제목설명
eye_heightEye height
middleMiddle
originOrigin

Offset (Offset)​

Offset Properties​

JSON path: offset

이름기본값유형설명
x0Decimal number
y0Decimal number
z0Decimal number

Entity OnHitCommandsStorage​

Entity OnHitCommandsStorage Properties​

JSON path: on_hit

이름기본값유형설명
arrow_effectnot setArrow Effect item화살의 약효 포션 데이터에서 효과를 가져오고 표준 8개 화살 묶음에 맞춰 지속 시간을 나누는 mob_effect의 변형.
catch_firenot setCatch Fire item투사체가 맞은 블록에 박히게 한다.
definition_eventnot setDefinition Event item발사자, 투사체, 맞은 엔티티, 그리고/또는 튀는 반경 안의 모든 엔티티에 엔티티 이벤트를 발생시킨다.
douse_firenot setObject투사체가 물 효과 포션일 때 맞은 블록과 그 주변의 불과 모닥불을 끈다.
freeze_on_hitnot setFreeze On Hit item충돌 지점 주변의 설정 가능한 영역에서 근처 물 블록을 얼음으로 얼린다(교육 에디션 화학 기능).
grant_xpnot setGrant Xp item충돌 위치에 경험치 구슬을 떨어뜨린다.
hurt_ownernot setHurt Owner item투사체가 떨어질 때 투사체의 주인에게 피해를 준다.
ignitenot setObject투사체가 맞으면 엔티티의 on_ignite 정의를 실행한다.
impact_damagenot setImpact Damage item
mob_effectnot setMob Effect item맞은 엔티티에 몹 효과를 하나 이상 적용한다. 효과는 효과 객체의 effects 배열로 설명한다.
particle_on_hitnot setParticle On Hit item충돌 위치에서 파티클 효과를 내보낸다. 엔티티 적중이나 비엔티티 적중에만 한정할 수도 있다.
remove_on_hitnot setObject투사체가 블록, 엔티티, (hit_water가 설정되면) 물에 맞을 때 월드에서 제거한다.
spawn_aoe_cloudnot setSpawn Aoe Cloud item충돌 지점에 시간이 지나며 안에 있는 엔티티에게 포션 효과를 적용하는 효과 구름을 생성한다.
spawn_chancenot setSpawn Chance item충돌 위치에 한두 그룹의 엔티티를 조건부로 스폰하고, 스폰된 각 엔티티에 선택적으로 이벤트를 발생시킨다.
stick_in_groundnot setStick In Ground item투사체가 맞은 블록에 박히게 한다.
teleport_ownernot setObject투사체의 주인을 충돌 위치로 순간이동시킨다.
thrown_potion_effectnot setThrown Potion Effect item충돌 지점 근처 엔티티에게 던진 포션의 투척 효과를 적용한다.
wind_burst_on_hitnot setObject충돌 지점에서 바깥으로 돌풍을 일으켜 근처 엔티티를 밀어낸다.
Entity ArrowEffectSubcomponentDefinition​

Variant of mob_effect that derives the effects from the arrow's tipped-potion data and splits durations across the standard eight-arrow stack.

Entity ArrowEffectSubcomponentDefinition Properties​

JSON path: on_hit > arrow_effect

이름기본값유형설명
apply_effect_to_blocking_targetstrueBoolean true/falsetrue이면 투사체를 막은 대상에게도 효과가 적용된다.
Entity CatchFireSubcomponentDefinition​

Causes the projectile to embed itself in the block it hits.

Entity CatchFireSubcomponentDefinition Properties​

JSON path: on_hit > catch_fire

이름기본값유형설명
fire_affected_by_griefingfalseBoolean true/falsetrue이면 발사자가 몹이고 mobGriefing 게임 규칙이 꺼져 있을 때 블록 점화 동작이 억제된다.
on_fire_time0Decimal number엔티티가 계속 불타는 시간(초).
Entity ActorDefinitionEventSubcomponentDefinition​

Fires an entity event on the shooter, the projectile, the entity hit, and/or all entities in a splash radius.

Entity ActorDefinitionEventSubcomponentDefinition Properties​

JSON path: on_hit > definition_event

이름기본값유형설명
affect_projectilefalseBoolean true/falsetrue이면 투사체 엔티티 자신에게 이벤트가 발생한다.
affect_shooterfalseBoolean true/falsetrue이면 투사체의 발사자에게 이벤트가 발생한다.
affect_splash_areafalseBoolean true/falsetrue이면 충돌 지점에서 splash_area 블록 안의 모든 엔티티에게 이벤트가 발생한다.
affect_targetfalseBoolean true/falsetrue이면 투사체에 맞은 엔티티에게 이벤트가 발생한다.
event_trigger{"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"}Event Trigger item선택된 대상에게 발생시킬 이벤트 트리거(선택적 필터 포함).
splash_area0Decimal numberaffect_splash_area가 쓰는 반경(블록).
Entity ActorDefinitionTrigger​

Triggers an entity event when specified conditions are met. Events activate component groups that change entity behavior—transforming villagers into zombie villagers, switching mobs to aggressive mode, or triggering growth stages. Combine with filters to create conditional state machines that respond to gameplay.

Entity ActorDefinitionTrigger Properties​

JSON path: on_hit > definition_event > event_trigger

이름기본값유형설명
eventString
filters (Filters){"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null}Filters item필터는 데이터 객체가 사용 조건이 되는 테스트 기준을 지정할 수 있게 한다.
filters (Alternate 1)not setObject
targetselfTarget choices
filters​

Filters allow data objects to specify test criteria which allows their use. Filters can be defined by a single object of type (Filter Test), an array of tests, collection groups, or a combination of these objects.

Filters​
Filters Properties​

JSON path: on_hit > definition_event > event_trigger > filters

이름기본값유형설명
domainnot setObject테스트를 수행할 도메인.
operatornot setObject'value'와 함께 적용할 비교 방식.
subjectnot setObject이 필터 테스트의 대상(subject).
testnot setString적용할 테스트의 이름.
valuenot setObject테스트에서 비교할 값.

Target choices​

값제목설명
babyBaby
blockBlock
damagerDamager
holderHolder
itemItem
otherOther
parentParent
playerPlayer
selfSelf
targetTarget
Entity FreezeOnHitSubcomponentDefinition​

Freezes nearby water blocks to ice in a configurable volume around the impact (Education Edition chemistry feature).

Entity FreezeOnHitSubcomponentDefinition Properties​

JSON path: on_hit > freeze_on_hit

이름기본값유형설명
shapecubeShape choices얼리는 영역의 모양. 허용 값: cube, sphere.
size1Decimal number얼리는 영역의 절반 크기(블록).
snap_to_blockfalseBoolean true/falsetrue이면 정확한 충돌 지점 대신 맞은 블록의 중심을 기준으로 얼리는 영역을 잡는다.

Shape choices​

값제목설명
cubeCube
sphereSphere
Entity GrantXPSubcomponentDefinition​

Drops experience orbs at the impact location.

Entity GrantXPSubcomponentDefinition Properties​

JSON path: on_hit > grant_xp

이름기본값유형설명
maxXP0Integer number떨어뜨리는 경험치의 최대량.
minXP0Integer number떨어뜨리는 경험치의 최소량.
Entity HurtOwnerSubcomponentDefinition​

Damages the projectile's owner when the projectile lands.

Entity HurtOwnerSubcomponentDefinition Properties​

JSON path: on_hit > hurt_owner

이름기본값유형설명
ignitefalseBoolean true/falsetrue이면 피해로 주인에게 불이 붙는다.
knockbackfalseBoolean true/falsetrue이면 피해가 주인에게 넉백을 준다.
owner_damage0Decimal number주인에게 줄 피해량.
Entity ImpactDamageSubcomponentDefinition​
Entity ImpactDamageSubcomponentDefinition Properties​

JSON path: on_hit > impact_damage

이름기본값유형설명
apply_knockback_to_blocking_targetsfalseBoolean true/falsetrue이면 공격을 막아 낸 대상에게도 넉백이 적용된다.
catch_firefalseBoolean true/falsetrue이면 맞은 엔티티에 불이 붙는다(투사체의 on_fire_time을 쓴다).
ceil_pre_critical_damagefalseBoolean true/falsetrue이면 크리티컬 배율을 적용하기 전에 투사체 피해를 다음 정수로 올림한다.
channelingfalseBoolean true/falsetrue이면 천둥 치는 동안 투사체가 맞은 엔티티 위로 번개를 내리게 할 수 있다.
damage{"max":0,"min":0}Damage item충돌 시 줄 피해의 범위. 적중마다 [min, max]의 무작위 값을 정하고 속도에 비례하는 power_multiplier 항을 더해 투사체의 기본 피해를 정한다.
death_message_overridenot setString충돌 피해로 엔티티가 죽을 때 사망 메시지로 쓸 번역 키.
destroy_on_hitfalseBoolean true/falsetrue이면 투사체가 엔티티에게 피해를 주면 제거된다.
destroy_on_hit_requires_damagetrueBoolean true/falsetrue이면 destroy_on_hit이 실제로 피해가 1 이상 들어갔을 때만 작동한다(피해를 완전히 흡수하는 대상은 투사체를 파괴하지 않는다).
difficulty_randomizationnoneDifficulty Randomization choices월드 난이도가 굴린 피해에 영향을 주는 방식을 제어한다.
filterString투사체가 피해를 줄 수 있도록 제한된 엔티티 패밀리 또는 종류. 필터 밖의 엔티티는 피해를 입지 않는다.
knockbackfalseBoolean true/falsetrue이면 맞은 엔티티가 투사체에서 멀어지도록 넉백된다.
max_critical_damage2147483647Integer number지정하면 크리티컬 피해를 적용한 뒤의 최대 피해를 정한다. 이 시점에 인챈트는 이미 적용되어 있으므로 크리티컬 최종 피해를 제한한다.
min_critical_damage0Integer number지정하면 크리티컬 피해를 적용한 뒤의 최소 피해를 정한다. 이 시점에 인챈트는 이미 적용되어 있으므로 크리티컬 최종 피해를 제한한다.
power_multiplier0Decimal number투사체 속도에 곱해져 굴린 damage에 더해져 투사체의 기본 피해를 정한다. 이것만으로 속도에 따라 피해를 조절할 수 있다.
scale_damage_with_difficultytrueBoolean true/falsetrue이면 충돌 피해가 월드 난이도에 따라 조정된다.
set_last_hurt_requires_damagetrueBoolean true/falsetrue이면 실제로 피해가 1 이상 들어갔을 때만 투사체가 대상의 마지막 피해 원인으로 기록된다.
death_message_override​

A localization key to use as the death message when the impact damage kills an entity. If omitted, the default death message for projectiles is used. %1$s is the name of the killed entity and %2$s is the name of the projectile's owner, or of the projectile itself if it has no owner.

difficulty_randomization​

Controls how world difficulty contributes to the rolled damage. none ignores difficulty, additive adds a difficulty-driven term on top of the base damage, and multiplicative folds the difficulty term into power_multiplier before scaling by velocity.

Legacy FloatRange​
Legacy FloatRange Properties​

JSON path: on_hit > impact_damage > damage

이름기본값유형설명
max0Decimal number
min0Decimal number

Difficulty Randomization choices​

값제목설명
additiveAdditive
multiplicativeMultiplicative
noneNone
Entity MobEffectSubcomponentDefinition​

Applies one or more mob effects to the entity hit. Effects are described with an effects array of effect objects.

Entity MobEffectSubcomponentDefinition Properties​

JSON path: on_hit > mob_effect

이름기본값유형설명
effects[]Array of Effects items효과 객체 배열. 각 요소는 effect(이름), amplifier, 난이도별 지속 시간 durationeasy, durationnormal, durationhard를 지정할 수 있다.
Entity MobEffectInstance​
Entity MobEffectInstance Properties​

JSON path: on_hit > mob_effect > effects

이름기본값유형설명
amplifier1Integer number
durationeasynot setInteger number
durationeasy (as String)not setString
durationhardnot setInteger number
durationhard (as String)not setString
durationnormalnot setInteger number
durationnormal (as String)not setString
effectString
Entity ParticleOnHitSubcomponentDefinition​

Emits a particle effect at the impact location, optionally only for entity hits or only for non-entity hits.

Entity ParticleOnHitSubcomponentDefinition Properties​

JSON path: on_hit > particle_on_hit

이름기본값유형설명
num_particles1Integer number적중마다 생성할 파티클 수.
on_entity_hitfalseBoolean true/falsetrue이면 투사체가 엔티티에 맞을 때 파티클이 생성된다.
on_other_hitfalseBoolean true/falsetrue이면 투사체가 엔티티가 아닌 것에 맞을 때 파티클이 생성된다.
particle_item_name (Particle Item Name)not setParticle Item Name item아이템 식별자에서 필터 그룹으로의 맵. 상황(예: 투사체의 주인)에 따라 iconcrack 식 파티클의 아이템 아이콘을 고르는 데 쓴다.
particle_item_name (Alternate 1)not setObject
particle_typenoneParticle Type choices충돌 지점에서 생성할 파티클 종류.
Particle Item Name​
Particle Item Name Properties​

JSON path: on_hit > particle_on_hit > particle_item_name

이름기본값유형설명
domainnot setObject테스트를 수행할 도메인.
operatornot setObject'value'와 함께 적용할 비교 방식.
subjectnot setObject이 필터 테스트의 대상(subject).
testnot setString적용할 테스트의 이름.
valuenot setObject테스트에서 비교할 값.

Particle Type choices​

값제목설명
balloongasBalloongas
bleachBleach
blockforcefieldBlockforcefield
blueflameBlueflame
breezewindexplosionBreezewindexplosion
bubbleBubble
bubblecolumndownBubblecolumndown
bubblecolumnupBubblecolumnup
bubblemanualBubblemanual
campfiresmokeCampfiresmoke
campfiresmoketallCampfiresmoketall
candleflameCandleflame
carrotboostCarrotboost
coloredflameColoredflame
conduitConduit
creakingcrumbleCreakingcrumble
critCrit
dragonbreathDragonbreath
dragonbreathfireDragonbreathfire
dragonbreathtrailDragonbreathtrail
dragondestroyblockDragondestroyblock
driphoneyDriphoney
driplavaDriplava
dripwaterDripwater
dustplumeDustplume
electricsparkElectricspark
enchantingtableEnchantingtable
endrodEndrod
evaporationEvaporation
explodeExplode
eyeblossomcloseEyeblossomclose
eyeblossomopenEyeblossomopen
fallingborderdustFallingborderdust
fallingdustFallingdust
fireworksFireworks
fireworksoverlayFireworksoverlay
fireworksstarterFireworksstarter
flameFlame
foodFood
greenflameGreenflame
heartHeart
hugeexplosionHugeexplosion
iceballbreakIceballbreak
iconcrackIconcrack
inkInk
largeexplodeLargeexplode
largesmokeLargesmoke
lavaLava
mobappearanceMobappearance
mobflameMobflame
mobspellMobspell
mobspellambientMobspellambient
mobspellinstantaneousMobspellinstantaneous
myceliumdustMyceliumdust
noneNone
noteNote
obsidiantearObsidiantear
orangepoplarleavesOrangepoplarleaves
paleoakleavesPaleoakleaves
pausemobgrowthPausemobgrowth
portalPortal
portalreversePortalreverse
rainsplashRainsplash
reddustReddust
redpoplarleavesRedpoplarleaves
resetmobgrowthResetmobgrowth
risingborderdustRisingborderdust
sculksoulSculksoul
shriekShriek
shulkerbulletShulkerbullet
slimeSlime
smokeSmoke
sneezeSneeze
snowballpoofSnowballpoof
snowflakeSnowflake
sonicexplosionSonicexplosion
soulSoul
sparklerSparkler
spitSpit
stalactitedriplavaStalactitedriplava
stalactitedripwaterStalactitedripwater
sulfurcubeSulfurcube
terrainTerrain
totemTotem
townauraTownaura
trackingemitterTrackingemitter
vaultconnectionVaultconnection
villagerangryVillagerangry
villagerhappyVillagerhappy
watersplashWatersplash
watersplashmanualWatersplashmanual
waterwakeWaterwake
waxWax
whitesmokeWhitesmoke
windexplosionWindexplosion
witchspellWitchspell
wolfarmorcrackWolfarmorcrack
yellowpoplarleavesYellowpoplarleaves
Entity SpawnAoECloudSubcomponentDefinition​

Spawns an area effect cloud at the impact point that applies potion effects to entities inside it over time.

Entity SpawnAoECloudSubcomponentDefinition Properties​

JSON path: on_hit > spawn_aoe_cloud

이름기본값유형설명
affect_ownertrueBoolean true/falsetrue이면 투사체의 주인도 구름의 영향을 받을 수 있다.
duration0Integer number구름이 사라지기 전까지 유지되는 시간(초).
duration (as String)not setString
particlemobspellambientParticle choices구름이 내보내는 파티클 효과.
potion-1Integer number구름이 적용하는 효과를 가진 포션의 보조 값. -1이면 투사체 엔티티 자체에서 포션을 가져온다.
radius0Decimal number구름의 초기 반경(블록).
radius_on_use-1Decimal number구름이 효과를 적용할 때마다 반경이 줄어드는(또는 늘어나는) 양. -1이면 반경이 변하지 않는다.
reapplication_delay0Integer number구름이 같은 엔티티에 효과를 다시 적용하기까지 기다리는 틱 수.
Entity SpawnChanceSubcomponentDefinition​

Conditionally spawns one or two groups of entities at the impact location and optionally fires events on each spawned entity.

Entity SpawnChanceSubcomponentDefinition Properties​

JSON path: on_hit > spawn_chance

이름기본값유형설명
first_spawn_chance0Decimal number첫 번째 그룹이 스폰될 확률(0-1.0). 값은 1 이하여야 한다.
first_spawn_count0Integer number첫 번째 굴림이 성공했을 때 스폰되는 엔티티 수.
on_spawn[]Array of Spawn items스폰된 각 엔티티에 발생시킬 엔티티 이벤트 트리거 배열.
second_spawn_chance0Decimal number두 번째 그룹이 스폰될 확률(0-1.0). 첫 번째와 독립적으로 굴린다. 값은 1 이하여야 한다.
second_spawn_count0Integer number두 번째 굴림이 성공했을 때 스폰되는 엔티티 수.
spawn_babyfalseBoolean true/falsetrue이면 스폰된 엔티티가 (해당되는 경우) 새끼로 시작한다.
spawn_definitionString스폰할 엔티티 정의의 식별자.
Entity StickInGroundSubcomponentDefinition​

Causes the projectile to embed itself in the block it hits.

Entity StickInGroundSubcomponentDefinition Properties​

JSON path: on_hit > stick_in_ground

이름기본값유형설명
shake_time0Decimal number박힌 뒤 투사체가 시각적으로 떨리는 시간(초).
Entity ThrownPotionEffectSubcomponentDefinition​

Applies the splash-potion effects of a thrown potion to nearby entities at the impact point.

Entity ThrownPotionEffectSubcomponentDefinition Properties​

JSON path: on_hit > thrown_potion_effect

이름기본값유형설명
effect-1Integer number적용할 포션의 보조 값.

Should Bounce choices​

값제목설명
if_invulnerableIf invulnerable
if_no_damage_dealtIf no damage dealt
noNo

minecraft:push_through​

(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_push_through.md)

엔티티가 밀고 지나갈 수 있는 거리를 정한다.

Sets the distance through which the entity can push through.

Push Through Properties​

이름기본값유형설명
value0Decimal number엔티티가 밀고 지나갈 수 있는 값(블록).
출처
id출처라이선스커밋접근일
ms-learnMinecraft Creator 문서 (Microsoft Learn)CC BY 4.0 (문서), MIT (코드)a9fd1c02026-11-13