#Disable interaction with block and print out /title in actionbar
6 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
let player = event.player
event.level.runCommandSilent('title ${player} actionbar "This is an actionbar"')
try with this
(idk if on kjs 1.20.1 fabric there was some changes)
BlockEvents.rightClicked('minecraft:end_portal_frame', event => {
event.player.statusMessage = "This is an actionbar";
event.cancel();
})