mojira.dev

KYKY5435

Assigned

No issues.

Reported

Comments

This bug might be reproduced if you have an invalid custom skin (“A local or platform skin could not be loaded”)

I have no resource packs/addons enabled

*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: IMG_0706.png]
[media: IMG_0707.png]

Yes

[media: ScreenRecording_08-17-2025 07-14-22_1.mp4]

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,
				});
			}
		}
	}
}
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,
				});
			}
		}
	}
}

[media: ScreenRecording_08-07-2025 09-28-06_1.mp4]

[media: ScreenRecording_08-04-2025 01-14-57_1.mp4]

Hi,

The issue no longer occurs when turning off resource packs.

Thanks!

model: iPhone XR, OS: iOS 18.5 (latest). No software updates

Singleplayer

Load more comments