# Pizza
//In game name//
ID=358
//Pizzas ID needs to be unique to it does not interfear with vanila game
?XXX,XXX,XXX,1
//The line above this is the recipe you may use any variable you would like just stick to X,# for begining//
*X=357
//the line above THIS is the what the variable X is like in math X= (item ID) the item id needs to be looked up if you dont know//
Uses=10
//Im pretty sure its 10 out of 100 this is how much every healling right click u use so 10 uses//
&Heal,2
//How much this item heals when right clicked//
this tells you every thing i know i know more about make my block tho :tongue.gif:
no no okay so if u want the recipe to be like this
[] [] []
[] []
[] [] []
it would be
? , X , ,1
there if u want the space to be blank leave a space THERE HAS TO BE 3 SPACES BETWEEN THEM ALL
first three blanks are top row second middle last bottom row
?ZEZ,ZRZ,ZRZ
z=nothing i will not put on the file
E=296 (wheat)
R=20 (glass)
that how i do it?
What you need to do is,
First- make sure the variables are the same, Z doesnt = z
Next- You need to put the * to define that your defineing a variable
And if you want to put a comment, you would use //coment here or #comment here
because anything else will interphere with the script.
Finally just incase you didnt know, make SURE the item file and png are named the same.
# Beer
ID=300 //what ever you want
? X , Z , Z ,1 //defines the crafting recipe
*X=296
*Z=20 //Defines the variables
MaxStack=64 //How ever many per stack
Uses=1 //How many times you can use it
&Heal,5 //How much it heals
#Beer
//In game name//
ID=358
//ID in game//
?XXX,X#X,XXX,1
//recipe in game//
*X=20
*#=296
//These two lines are what the variables mean must have star in front. X=glass #=wheat
&heal,2
HELP doesn't work xD this is what i put into my .minecraft/mod/item/Beer.item
# Beer
ID=672 //what ever you want
? X , Z , Z ,1 //defines the crafting recipe
*X=296
*Z=20 //Defines the variables
MaxStack=1 //How ever many per stack
Uses=2 //How many times you can use it
&Heal,3 //How much it heals
into my minecraft.jar/triman/Beer.png
and it didnt work i used the recipe and with my singleplayer commands=/give 672 1
Idk im just used to it :wink.gif: so i just do it naturally now makes it look neater to me :wink.gif: im going to make tutorial videos tell me if yall want any thing added to it :wink.gif:
# Beer
ID=358
?XXX,XXX,XXX,1
&heal,2
so the
?XXX,XXX,XXX,1
is the recipe and the X is an item id? like ?X1X,XXX,XXX,1 this will make:
[] []
[] [] []
[] [] [] =Beer? or how does this work?
Also, I named the file to Beer.item when i put this in will it automatically work?
*X="item id"
Thanks paul
this tells you every thing i know i know more about make my block tho :tongue.gif:
[] []
[] []
[] [] will be my beer and for the x's i will do this
?ZEZ,ZRZ,ZRZ
z=nothing i will not put on the file
E=296 (wheat)
R=20 (glass)
that how i do it?
this is my file
[] [] []
[] []
[] [] []
it would be
there if u want the space to be blank leave a space THERE HAS TO BE 3 SPACES BETWEEN THEM ALL
first three blanks are top row second middle last bottom row
What you need to do is,
First- make sure the variables are the same, Z doesnt = z
Next- You need to put the * to define that your defineing a variable
And if you want to put a comment, you would use //coment here or #comment here
because anything else will interphere with the script.
Finally just incase you didnt know, make SURE the item file and png are named the same.
# Beer
ID=672 //what ever you want
? X , Z , Z ,1 //defines the crafting recipe
*X=296
*Z=20 //Defines the variables
MaxStack=1 //How ever many per stack
Uses=2 //How many times you can use it
&Heal,3 //How much it heals
into my minecraft.jar/triman/Beer.png
and it didnt work i used the recipe and with my singleplayer commands=/give 672 1
Yep it does,
I have a drinking cup with a 32 max stack.
Just a question; in java does it require you to end a comment also with//?
And is // a multi-line comment, because im too used to Lua
thats okay for one line but if u go like this
it wouldnt work so u do this
Ok thank, cause in Lua it was
// For single line
[[
And that for multi-
line
]]