In my mod InfernoCraft I added a dimension THAT ACTUALLY TELEPORTS YOU TO A DIFFERENT WORLD!! Its not full proof thoe... It only have like a 1/20 chance of actually generating the world without crashing a fix will be made. I allow u to copy and paste to your mod!! (Just give me credit for actually coming up with the simplest code you will ever see)
Coding
var world;
function useItem(x,y,z,itemId,blockId,side,data){
if(blockId==205){
world = Level.getWorldName()
ModPE.selectLevel("void")
print("Into The Void [MAY CRASH]")
}
}
Edit the name and stuff. (id,"void",print thing, and thats it.)
In my mod InfernoCraft I added a dimension THAT ACTUALLY TELEPORTS YOU TO A DIFFERENT WORLD!! Its not full proof thoe... It only have like a 1/20 chance of actually generating the world without crashing a fix will be made. I allow u to copy and paste to your mod!! (Just give me credit for actually coming up with the simplest code you will ever see)
Coding
var world;
function useItem(x,y,z,itemId,blockId,side,data){
if(blockId==205){
world = Level.getWorldName()
ModPE.selectLevel("void")
print("Into The Void [MAY CRASH]")
}
}
Edit the name and stuff. (id,"void",print thing, and thats it.)
Good job! But I prefer to use a command for it
Rollback Post to RevisionRollBack
Here to help.
Minecraft: Pocket Edition Modder, Web Developer. Plugin creator!
Hmm yeah to be honest that can be cool! I can make it so if your board in one world you can do /world name and u teleport to a new world! Noice. But ima work on making it full proof and for a dimension in my mod or in any one elses mod.
Hmm yeah to be honest that can be cool! I can make it so if your board in one world you can do /world name and u teleport to a new world! Noice. But ima work on making it full proof and for a dimension in my mod or in any one elses mod.
Rollback Post to RevisionRollBack
Here to help.
Minecraft: Pocket Edition Modder, Web Developer. Plugin creator!
Cheers!
To post a comment, please login or register a new account.
In my mod InfernoCraft I added a dimension THAT ACTUALLY TELEPORTS YOU TO A DIFFERENT WORLD!! Its not full proof thoe... It only have like a 1/20 chance of actually generating the world without crashing a fix will be made. I allow u to copy and paste to your mod!! (Just give me credit for actually coming up with the simplest code you will ever see)
Coding
var world;
function useItem(x,y,z,itemId,blockId,side,data){
if(blockId==205){
world = Level.getWorldName()
ModPE.selectLevel("void")
print("Into The Void [MAY CRASH]")
}
}
Edit the name and stuff. (id,"void",print thing, and thats it.)
Good job! But I prefer to use a command for it
Here to help.
Minecraft: Pocket Edition Modder, Web Developer. Plugin creator!
Cheers!
Hmm yeah to be honest that can be cool! I can make it so if your board in one world you can do /world name and u teleport to a new world! Noice. But ima work on making it full proof and for a dimension in my mod or in any one elses mod.
Here to help.
Minecraft: Pocket Edition Modder, Web Developer. Plugin creator!
Cheers!