Hello, I'm a little new and I want to have that I really figuring that I should make my own mods but........I Don't Know How so please type in the comments below thatcan help me or link to apps that helps for modding really I downt know how!!!!! And IN want To Know How!!!!!!!!???"want to have mods that I want" sorry for bad english.
I see you want to make mods. It gets simple once you have everything in your head.
I can help you but this is going to take some time to learn.
But anyways, lets start off with lesson 1
---------------------------------------
Lesson 1: functions
---------------------------------------
The first thing that I ever learned about modding was the functions. Very very very important. What functions do is tell what the code will do.
function useItem(x, y, z, itemId, blockId, side) == a function
Now your probably wondering....what the heck does thos do?????
This function tells if the player touches a block.
So...if you say this to a computer....he'll think..."If the player touches a block---"
I know all this might seem a little strange, but you'll learn (eventually)
So...remember...
function useItem(x, y, z, itemId, blockId, side) == if the player touches the block
Now thats only one command, we still have lots and lots and lots of commands....
On this site, you will see pictures of all minecraft items, next to the items, you will see numbers. Select the item you want to use for this project. (btw/ by the way, it can be a block too)
So now we're going to learn a new command.
YAY!
this is the code:
if(itemId==??)
What this is, is telling what item we want. With this, we can make do things like make things explode when we use a stick.
So if you used a stick in this case, the number/ID would be 280, so the command would look like this:
Now we are combining the code. It will look like this:
function useItem(x, y, z, itemId, blockId, side)
{
if(itemId==280)
{
Notice, i put two of {. These tell that its the start of code.
To end the code we would use }.
So now we are going to make it....explode! When we tap with a stick, it will explods!
The code we will use, for explode is this:
explode(5,5,)
The reason I use 5 is because the bigger the number the worst the lag. So don't go any farther than 20.
So now, we will change the code a little more.
function useItem(x, y, z, itemId, blockId, side)<----function, tells that when I tap
{<-----start of code
if(itemId==280)<-----if we use a stick
{<----another start
explode(5,5);<----explode, radious of 5,
}<-----code ends
}<-----code ends
Congratulations! You made your first mod!
Modding is really easy, if you have any problems, just let me know.
I see you want to make mods. It gets simple once you have everything in your head.
I can help you
But anyways, lets start off with lesson 1
---------------------------------------
Lesson 1: functions
---------------------------------------
The first thing that I ever learned about modding was the functions. Very very very important. What functions do is tell what the code will do.
function useItem(x, y, z, itemId, blockId, side) == a function
Now your probably wondering....what the heck does thos do?????
This function tells if the player touches a block.
So...if you say this to a computer....he'll think..."If the player touches a block---"
I know all this might seem a little strange, but you'll learn (eventually)
So...remember...
function useItem(x, y, z, itemId, blockId, side) == if the player touches the block
Now thats only one command, we still have lots and lots and lots of commands....
-----------------------------
Lesson 2 Apps
-----------------------------
There are a few apps you will need before beginning to mod:
1. DroidEdit Free (On Google Play App Store) (free)
2.Blocklauncher Pro/free (On Google Play Store) (I recommend Pro) (like.....$2.99)
-----------------------------
Lesson 3: Completing a sentence
-----------------------------
Open up Droidedit for your android phone/tablet.
Type in the function we reviewed in lesson 1.
(function useItem(x, y, z, itemId, blockId, side))
Okay,
Once you did that, go to this website:
http://minecraft-ids.grahamedgecombe.com/
On this site, you will see pictures of all minecraft items, next to the items, you will see numbers. Select the item you want to use for this project. (btw/ by the way, it can be a block too)
So now we're going to learn a new command.
YAY!
this is the code:
if(itemId==??)
What this is, is telling what item we want. With this, we can make do things like make things explode when we use a stick.
So if you used a stick in this case, the number/ID would be 280, so the command would look like this:
if(itemId==280)
Simple right?
function useItem(x, y, z, itemId, blockId, side)
{
if(itemId==280)
{
Notice, i put two of {. These tell that its the start of code.
To end the code we would use }.
So now we are going to make it....explode! When we tap with a stick, it will explods!
The code we will use, for explode is this:
explode(5,5,)
The reason I use 5 is because the bigger the number the worst the lag. So don't go any farther than 20.
So now, we will change the code a little more.
function useItem(x, y, z, itemId, blockId, side)<----function, tells that when I tap
{<-----start of code
if(itemId==280)<-----if we use a stick
{<----another start
explode(5,5);<----explode, radious of 5,
}<-----code ends
}<-----code ends
Congratulations! You made your first mod!
Modding is really easy, if you have any problems, just let me know.
Christian BJ
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
Yes, I don't care
If you need me to show you more, let me know.