This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
[b]function[/b] explode(x,y,z,radius);
x, y, z, radius
[b]function[/b] rideAnimal(player,target);
player, target
[b]function[/b] addItemInventory(ID,amount,damageValue);
ID, amount, damageValue
[b]function[/b] preventDefault();
Quote from Thecactigod AAGGHH!!! First Connor and now you??? ATTACK HOOK DOESNT HAVE TO BE USED!!!
Quote from TheTenebrisUmbra1 Thanks I'm a noob in modding so thanks. (I haven't really made a mod yet)
explode
- This causes an explosion, where the centre is at the specified X, Y and Z coordinates
- The size of the explosion is based upon the specified raduis
- The parametersaccept a number
rideAnimal- This makes the player ride the target mob
- attackHook must be used for this function to work
- The parameters accept a native entity
addItemInventory- This adds the specified amount of the specified item/block to the player's inventory
- The parameters accept a number
preventDefault-
View User Profile
-
View Posts
-
Send Message
Curse Premium98.65% of the time, you'll be using the entity reference you got in attackHook. This is an actual scientific fact I just made up.
LOLY