• 1

    posted a message on [W.I.P.] ModPE Tutorial! [By MasterGoomba]
    Hello, and welcome to a tutorial for all those noobs who want to learn ModPe! I'll be covering the basics here, and make a more advanced tutorial for more advanced people (that's self-explanatory).

    Here's The Start!

    First, you'll need to understand hooks. These are what call in events to happen. Here's a list :

    function useItem (x, y, z, itemId, blockId)

    function attackHook (attacker, victim)

    function procCmd (cmd)

    function modTick ()

    function newLevel ()

    function leaveGame ()

    See those? Those are hooks. These are incredibly vital to learning JavaScript and ModPE. I'll go over them in detail below.

    function useItem (x, y, z, itemId, blockId)




    This makes an event happen when you use a certain item on/or a certain block. x,y,z marks the point you use it.


    function attackHook (attacker, victim)



    This makes an event happen upon hitting an enemy. YOU are the attacker and the foe is the victim. This is important!


    function procCmd (cmd)



    This helps you create Commands! This is quite useful!


    function modTick ()



    This causes an event to happen every game tick. Not a second mind you, but a tick. This is ridiculously fast!


    function newLevel ()



    This causes an event to happen upon entering a world!


    function leaveGame ()



    This causes something to happen when you leave a world. Not too sure how this will be helpful though.


    Got it? I hope so. Time to go on!

    Setting Up Your Script

    The way you should set-up your Script is muy importante (very importante) .

    Here's how I do it.

    function useItem (x,y,z,itemId,blockId)
    {
    
    }


    This is a good start.

    I'll keep working on this, I need to go for now. I'll work heavily on making this a great tutorial for everyone. Be back some other time! PEACE!
    Posted in: MCPE: Mod / Tool Help & Requests
  • 1

    posted a message on MODPE SCRIPT HELP SITE!
    Hey guys! I've made a very basic (and free) site, for people to learn and make ModPE Scripts. I hope to see you there!

    WARNING STILL IN VERY EARLY DEV NO ACTUAL POSTS YET

    http://modpehelp.webs.com/
    Posted in: MCPE: Mods / Tools
  • 1

    posted a message on "Smelting em' up!" - A brand new modpack!
    Did you get permission to use these mods? Despite crediting, it still may be against their copyright if you do not gain their permission.
    Posted in: Minecraft Mods
  • 1

    posted a message on What is the worst Minecraft clone?
    DIE PETRAVIS DIE

    That game absolutely SUCKS. It should be dumped in a volcano and DIE. I like Survivalcraft though.
    Posted in: MCPE: Discussion
  • 1

    posted a message on What don't you want in 1.5
    I don't really want useless additions, like a new farming crop. We din't need carrots then, and we dont't need them now.
    Posted in: Future Updates
  • To post a comment, please .