*Correction:
Lanterns can only be placed on shelves where the direction is only “west”, not “east”
Blocks that need support (such as redstone torches) can be placed above a shelf when “minecraft:cardinal_direction”=“south” for the shelf
Blocks that need support on the sides (such as ladders) can be placed on all sides in all shelf orientations.
Blocks that need support above (such as lanterns) can be placed below a shelf when “minecraft:cardinal_direction” is either “east” or “west”
Whether the shelf is touching other shelves or if there are blocks beneath a shelf does not matter
Yes
Full code used:
import { world, system } from "@minecraft/server"; world.afterEvents.worldLoad.subscribe(() => { system.run(startupRepeat); }); function startupRepeat() { const players = world.getPlayers(); if (players.length > 0) { system.run(startup); } else { system.run(startupRepeat); } } function startup() { const players = world.getPlayers(); system.run(start); system.runInterval(() => { system.run(main); }); } function start() {} function main() { let players = world.getPlayers(); let overworld = world.getDimension("overworld"); for (const player of players) { let playerLocation = player.location; if (playerLocation.y >= -63) { let playerLocationBlock = overworld.getBlock(playerLocation); if (playerLocationBlock.type.id === "minecraft:trip_wire") { player.applyImpulse({ x: -0.5, y: 0, z: 0, }); } } } }
Hi,
The issue no longer occurs when turning off resource packs.
Thanks!
model: iPhone XR, OS: iOS 18.5 (latest). No software updates
Singleplayer
*Correction:
Lanterns can only be placed on shelves where the direction is only “west”, not “east”
Blocks that need support (such as redstone torches) can be placed above a shelf when “minecraft:cardinal_direction”=“south” for the shelf
Blocks that need support on the sides (such as ladders) can be placed on all sides in all shelf orientations.
Blocks that need support above (such as lanterns) can be placed below a shelf when “minecraft:cardinal_direction” is either “east” or “west”
Whether the shelf is touching other shelves or if there are blocks beneath a shelf does not matter
[media][media]Yes
[media]Full code used:
Hi,
The issue no longer occurs when turning off resource packs.
Thanks!
model: iPhone XR, OS: iOS 18.5 (latest). No software updates
Singleplayer