All versions
3.0.1
Beta
Survival OneBlock Forge-1.21.11_3.0.13 months ago 2,672
Uploaded by
Compatibility
Minecraft: Java Edition
1.21.11
Platform
Forge
Supported environments
Client-side
Changes
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


