File Details
Survival OneBlock Forge-1.21.11_3.0.1
- B
- Jul 5, 2026
- 28.68 MB
- 265
- 1.21.11
- Forge
File Name
Survival OneBlock Forge-1.21.11_3.0.1.zip
Supported Versions
- 1.21.11
===========================================================
OneBlock Spawn Check
Fixed for v3.0.1
===========================================================
# Increase retry counter
scoreboard players add #temp_1 cob.block 1
# Clear previous failure state
tag @s remove fail
# Invalid spawn block
execute if block ~ ~-1 ~ #obs:spawn_check run tag @s add fail
# Too many attempts
execute if score #temp_1 cob.block matches 41.. run tag @s add fail
# Retry trader spawn
execute if entity @s[tag=ob.trader_spawn,tag=fail] if score #temp_1 cob.block matches ..40 run function obs:random_trader
# Retry visitor spawn
execute if entity @s[tag=ob.visitor_spawn,tag=fail] if score #temp_1 cob.block matches ..40 run function obs:visitor_spawn
# Cleanup failed marker
kill @s[tag=fail]
# Reset counter
scoreboard players set #temp_1 cob.block 0