mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 14:38:53 +00:00
Prevent suffocation while using /rtp (#445)
* rtp: check for suffocation before teleport * safety resolvers: teleport to middle of block * rtp: Fix negative coordinates being off by one * unsafe blocks: add campfires and magma * unsafe blocks: deduplicate block id formatting
This commit is contained in:
1 parent
377e46ff92
commit
771c16ed1a
6 files changed
+118
-26
No files matched your search
@@ -22,4 +22,12 @@ unsafe_blocks:
|
||||
- 'minecraft:cave_air'
|
||||
- 'minecraft:void_air'
|
||||
- 'minecraft:pointed_dripstone'
|
||||
- 'minecraft:cactus'
|
||||
- 'minecraft:cactus'
|
||||
- 'minecraft:magma_block'
|
||||
- 'minecraft:campfire'
|
||||
- 'minecraft:soul_campfire'
|
||||
|
||||
# Blocks that are safe to teleport into
|
||||
safe_occupation_blocks:
|
||||
- 'minecraft:air'
|
||||
- 'minecraft:cave_air'
|
||||
Reference in new issue
Block a user