Place the ZIP file directly into your world's datapacks folder without extracting it, then run /reload.
This datapack is separate from the Thief Villager datapack. If you do not need the thief feature, stop or remove that datapack.
Every time a player successfully places a block, exactly one mob is summoned.
The chance is 100%, with no cooldown.
One of 83 mob types from Minecraft Java 1.21.4 is selected with equal probability (1/83, approximately 1.20% each).
The pool includes the Wither, Ender Dragon, Warden, Elder Guardian, Creaking, Giant, Illusioner, and Zombie Horse.
Immediately after placement, the datapack locates the placed block using the player's line of sight and summons the mob directly above the center of that block.
The placed block remains unchanged.
Dragons, Ghasts, and Phantoms use the same spawn position and are not moved to random nearby locations or into the air.
Small blocks such as slabs use the top of the block space as the spawn reference.
The line-of-sight check works up to 16 blocks away. Special clients that allow placement outside normal sight may produce different results.
Only in rare situations where no targeted block can be detected will the mob be summoned above the player instead.
The summoned mob's name is displayed in the action bar.
In multiplayer, each player's block placements are handled independently.
Variants such as block color, mob color, or baby/adult forms are not treated as separate entries.
Non-mob entities such as boats, armor stands, dropped items, and arrows are excluded.
/function blockmobs:stop
Stops new mob summons.
/function blockmobs:start
Restarts mob summoning.
/function blockmobs:test
Immediately summons one random mob, even while the datapack is stopped.
Detects real block placements in Survival and Creative mode.
Does not react to failed placements, opening containers, opening doors, or blocks placed using commands such as /setblock.
Water bucket placement and entity placement are treated differently from normal block placement.
To keep hostile mobs active, use Easy difficulty or higher.
On Peaceful difficulty, hostile mobs may immediately disappear.
Fish may die outside water, and Nether mob dimension-conversion behavior follows vanilla Minecraft mechanics.
Boss mobs use the same probability as all other mobs.
Because the Wither and Ender Dragon can destroy terrain, using a dedicated challenge world is recommended.
Mobs created by explosions, slime splitting, or other vanilla mob behaviors are not counted as additional placement summons.
Tested on an official Minecraft Java 1.21.4 local server.
Verified:
Continuous real-player block placement
Exactly one mob summoned per successful placement
Stop and restart commands
Exclusion of command-placed blocks
Successful summoning of all 83 mob types
Additional testing confirmed that the mob spawn position correctly matches the center above the newly placed block when:
Placing blocks in front of the player
Attaching blocks to wall sides
Building vertical pillars beneath the player
allay, armadillo, axolotl, bat, bee, blaze, bogged, breeze, camel, cat, cave_spider, chicken, cod, cow, creaking, creeper, dolphin, donkey, drowned, elder_guardian, enderman, endermite, ender_dragon, evoker, fox, frog, ghast, giant, glow_squid, goat, guardian, hoglin, horse, husk, illusioner, iron_golem, llama, magma_cube, mooshroom, mule, ocelot, panda, parrot, phantom, pig, piglin, piglin_brute, pillager, polar_bear, pufferfish, rabbit, ravager, salmon, sheep, shulker, silverfish, skeleton, skeleton_horse, slime, sniffer, snow_golem, spider, squid, stray, strider, tadpole, trader_llama, tropical_fish, turtle, vex, villager, vindicator, wandering_trader, warden, witch, wither, wither_skeleton, wolf, zoglin, zombie, zombie_horse, zombie_villager, zombified_piglin.
블록 설치 랜덤 몹 — Java 1.21.4
설치
ZIP을 풀지 않고 월드의 datapacks 폴더에 넣은 후 /reload 를 실행하세요.
이 데이터팩은 기존 도둑 주민 데이터팩과 별개입니다. 도둑 기능이 필요 없으면 해당 팩을 중지/제거하세요.
규칙
플레이어가 블록을 성공적으로 설치할 때마다 몹 1마리를 소환합니다. 확률은 100%, 대기시간은 없습니다.
1.21.4의 몹 종류 83종을 같은 확률(각 1/83, 약 1.20%)로 선택합니다.
위더, 엔더 드래곤, 워든, 엘더 가디언, 크리킹, 자이언트, 환술사, 좀비 말도 포함합니다.
설치 직후 시선으로 블록을 찾고, 해당 블록 중앙 바로 위에서 소환합니다. 설치한 블록은 그대로 유지합니다.
드래곤/가스트/팬텀도 동일한 위치를 사용하며 임의로 주변이나 공중으로 옮기지 않습니다.
반 블록 등 작은 블록도 해당 블록 칸의 상단을 기준으로 합니다.
시선은 최대 16블록까지 확인합니다. 특수 클라이언트로 시선 밖에 설치하는 경우 위치가 다를 수 있습니다.
시선에 블록이 전혀 잡히지 않는 특수 상황에만 플레이어 위에서 소환합니다.
소환한 몹 이름을 액션바에 표시합니다. 멀티플레이에서도 각 플레이어의 설치에 반응합니다.
블록 모양/색상, 몹 색상, 아기 여부는 별도 종으로 중복 추첨하지 않습니다.
보트, 갑옷 거치대, 아이템, 화살 등 몹이 아닌 엔티티는 제외합니다.
명령어
/function blockmobs:stop 새 소환 중지
/function blockmobs:start 다시 시작
/function blockmobs:test 즉시 무작위 1마리 소환 (중지 상태에서도 작동)
동작 범위
서바이벌/크리에이티브의 실제 블록 설치를 감지합니다.
실패한 설치, 상자 열기, 문 열기, /setblock 같은 명령 설치에는 반응하지 않습니다.
물 양동이 사용이나 엔티티 설치는 일반적인 블록 설치와 다릅니다.
적대 몹도 유지하려면 난이도를 쉬움 이상으로 설정하세요. 평화로움에서는 적대 몹이 즉시 사라질 수 있습니다.
물고기는 물 밖에서 죽을 수 있고, 네더 몹의 차원 변환 등은 바닐라 동작을 따릅니다.
보스도 일반 몹과 같은 확률입니다. 위더/드래곤은 지형을 파괴할 수 있으므로 새 도전용 월드를 권장합니다.
폭발 등으로 생긴 몹이나 분열한 슬라임은 원래 몹의 바닐라 행동이며 추가 설치 소환은 아닙니다.
검증
공식 1.21.4 로컬 서버에서 실제 클라이언트의 연속 설치, 매번 1마리 소환, 중지/재시작, 명령 설치 제외, 83종 전체 소환을 확인했습니다.
앞쪽 설치, 벽 옆면에 이어 붙이기, 발밑 기둥 쌓기에서 새 블록 중앙 위 좌표와 몹 생성 좌표가 일치하는지 확인했습니다.
전체 후보 (83종)
allay, armadillo, axolotl, bat, bee, blaze, bogged, breeze, camel, cat, cave_spider, chicken, cod, cow, creaking, creeper, dolphin, donkey, drowned, elder_guardian, enderman, endermite, ender_dragon, evoker, fox, frog, ghast, giant, glow_squid, goat, guardian, hoglin, horse, husk, illusioner, iron_golem, llama, magma_cube, mooshroom, mule, ocelot, panda, parrot, phantom, pig, piglin, piglin_brute, pillager, polar_bear, pufferfish, rabbit, ravager, salmon, sheep, shulker, silverfish, skeleton, skeleton_horse, slime, sniffer, snow_golem, spider, squid, stray, strider, tadpole, trader_llama, tropical_fish, turtle, vex, villager, vindicator, wandering_trader, warden, witch, wither, wither_skeleton, wolf, zoglin, zombie, zombie_horse, zombie_villager, zombified_piglin