If your mod contains an event block, it may run one time in Minecraft then seem to stop working! This is easy to fix if you press the events and intervals button in your mod chest. It's a small branch / antler looking button. If that doesn't work, try pressing the redstone inside your mod chest, then re-adding the mod to the chest by pressing the Mod button on the badge page.


If that doesn't work try typing this into the chatarea in Minecraft, after you're successfully transferred to your private world:


/js refresh()


Or, there's a special javascript snippet you can use in your code to programmatically clear all events to your Minecraft name (the variable 'name' in this context should be his Minecraft name) Make sure to use the js block under the misc heading in the Blockly menu -- this may not work:


if (playerevents[name]) {
if (playerevents[name].length > 0) {
for (var i = 0; i < playerevents[name].length; i++) {
playerevents[name][i]()
}
playerevents[name] = []
}