Can you teach me on how to make custom blocks? An example script would be awesome.
I also want my own dungeon. how to make a script for that? can you give me an example script please.
That is currently not possible - you can define a new block with different damage values - e.g. a trampoline with multiple colors available, but more data values for an already existing block is impossible.
That is currently not possible - you can define a new block with different damage values - e.g. a trampoline with multiple colors available, but more data values for an already existing block is impossible.
That is currently not possible - you can define a new block with different damage values - e.g. a trampoline with multiple colors available, but more data values for an already existing block is impossible.
Actually, you can make more damage values for a block, like stone, you just have to do something like Player.addItemInventory(ID, amount, damage), but you will have to code what the block does yourself, and you can't make another damage value have a different name. Different colors are possible with Block.setColor(). I think it is in the ModPE Function Wiki on my help topic (my signature), but anyway, here is how to use it:
I'm not sure if it works for already defined blocks or not. For an already existing block, you could do something like a stone block that when placed, it places a block with a different damage value or ID, and when broken, it explodes. For a trampoline - define, setColor, add code in modTick() using getX(), getY(), and getZ() methods.
The Meaning of Life, the Universe, and Everything.
Location:
Auckland
Join Date:
9/20/2014
Posts:
126
Minecraft:
softmage114486
Xbox:
softmage114486
Member Details
I'm trying to make it so if the player is holding a torch then the block below the players feet and 1 block in each direction (x+1,x-1,y-1,z+1,z-1) lights up, using the Block. setLightLevel(blockId, light level); but I cant select this blocks without there ids so idk how to select them, this is all done in the modTick function so its updated every 1/20 of a second, can you help? Or anyone else who can figure it out, I would really appreciate it but this is not magorly urgent
Aldo I'm looking for 6 people interedsted in being beta testers for my mod if you're interested please PM me
And setTile, make a new block that has a light level of 15 and gets placed on the players feet the removed if it isn't on the players feet.
Can you do Native Modding Wilco?
And setTile, make a new block that has a light level of 15 and gets placed on the players feet the removed if it isn't on the players feet.
Can you do Native Modding Wilco?
I can't, but every coding language is learnable
I may get into it. I already took a look at it yesterday, but didn't quite get it.
Maybe I'll try to learn it in a holiday, when I have a bit more free time.
I know how to code C++ and make Native mods if you need help.
It isn't really very fun so I think I will stick to Java Script.
Btw can you HELP me figure out how Item.defineArmor works?
Can I make sure other blocks with the same Id but different damage value like different colored wool don't change
Please help Kyurem
I also want my own dungeon. how to make a script for that? can you give me an example script please.
Then show me that and I'll be satisfied
Really, you can do that? How?
Interesting...
Thanks
If it's even possible, it would take ages to make that...
ModPE cant do that. Only C++ mods.
What mod?
Aldo I'm looking for 6 people interedsted in being beta testers for my mod if you're interested please PM me
Can you do Native Modding Wilco?
http://www.minecraftforum.net/members/Ender_Pe
I can't, but every coding language is learnable
I may get into it. I already took a look at it yesterday, but didn't quite get it.
Maybe I'll try to learn it in a holiday, when I have a bit more free time.
It isn't really very fun so I think I will stick to Java Script.
Btw can you HELP me figure out how Item.defineArmor works?
http://www.minecraftforum.net/members/Ender_Pe