Hey guys will need a Minecraft mulling tutorial missed Oriole will be covering placing blocks with items so we have our items staff here just a normal item file and so let’s say we want to place a dirt block when we right click with this so do this we’re going to open up item Flint and steel right here they’ll click that and copy everything in this file actually now I take that back copy the on item use method and put it into this file it’s my item staff file then you need to leet some stuff delete this place sound effect unless you want to Play a sound but we’ll cover that later I’ll probably make that soon I think about it anyways um this world that set block with notify this is the position of the block you don’t have to worry about this and then this is the block that you want to place this flute and Steel so it places a block fire so we won’t block dirt spell that wrong so now this is fine so if we re save and start up minecraft if you right click it places the dirt block you can put on the sides or the top or whatever it works Fine there is there are some glitches like it’ll place blocks like on you shoot that’s my phone um but it’ll do that but this is I thought much extra coating this is all you can do but now I’ll show you some extra stuff you can Do just like flint and steel if you put block fire it will place fire which is also pretty cool then you can also put stuff like water still and they’ll place a block of water and you can do the same with lava and you can do all sorts of any block You can put down this and let’s say if you’re if you want your block to have durability hold on I’m sorry if you want your item have durability I covered that in a previous tutorial but after it places block you just put item stack the dot damaged item the amount You want it’s damaged and then entity player then that should work here I’ll just test it out real quick um there we go this should work now should have a durability of 10 and I like to tutorials and one if you didn’t watch my other ones yep then you can only place It a couple mountains anyways I hope you guys enjoyed this tutorials if you have any questions as always please put in the comment and leave a like if this helped you it let lets me know that you guys enjoy these so I’ll see you guys next time Video Information
This video, titled ‘Minecraft Modding Tutorial 17 – Placing blocks with your item’, was uploaded by Zac Wood on 2011-11-03 22:22:37. It has garnered views and [vid_likes] likes. The duration of the video is or seconds.