How to create a Hammer (3x3x3)?

Started by Toutoukamon on Sat, 02/16/2019 - 21:43

Topic category: User side tutorials

Last seen on 18:59, 21. May 2019
Joined Aug 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How to create a Hammer (3x3x3)?
Mon, 02/18/2019 - 17:21 (edited)

Hello everyone !

YES ! I succeeded to create a hammer ! I think that I am the first one to create a hammer.

I go to explain you how to create a hammer.

 

 

First of all, I would just like to say that his hammer mine in 3x3x3 because I think that we cannot get direction of player, so I could not make sure that the hammer just mine with 3x3x1.

(So dear developpers, can you add possibility to detect the direction of plyer please for create a hammer 3x3x1 ?)

THIS HAMMER HAVE ONLY ONE PROBLEM, HAMMER MINE IN 3x3x3x BUT PLAYER IS TO CENTER OF CUBE, SO IT'S ONLY MINE 2 BLOCKS IN FRONT OF PLAYER AND ON BLOCK BEHIND PLAYER.

 

(If you want to see what hammer looks like go see the video just here : https://www.youtube.com/watch?v=CqU6KIDRqGQ&feature=youtu.be)

 

1- You have to create a texture for your item.

2- Create an item or a tool like an other element of you mod. (I create my hammer like a pickaxe, but you don't have to create like me. You can create like a special tool. If you don't create you hammer as me, you have to add a block "Remove block at x y z drop at x y z" and don't touch to x y z.)

3- Create a procedure with events "When block destroyed with tool".

4- Then, when you are in procedure editor, download procedure that I made and that i share (link just here : http://www.mediafire.com/file/47g65i2orm7ft7b/hammer_3x3x3x%28center%29…)

5- When you are download procedure, return in MCreator and click on buton "Import procedure" and go take procedure you downloaded.

6- Place the "block" (all blocks of procedure) after the green block, like when you create a procedure.

7- If you want add other things in the procedure add your other blocks before of after.

8- Click "Next" and if you want create other procedures with other events create it and click "next".

 

You have now you own Hammer for you mod !

 

I hope this tutorial help you and I am very happy to have find how to create hammer (only because now many mods create or update for have hammers).

 

Goldorion

 

Edit 1: I change the link for download the procedure because I change (add) a other thing.

Edited by Toutoukamon on Mon, 02/18/2019 - 17:21
Last seen on 18:59, 21. May 2019
Joined Aug 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I created a 3d model hammer…
Sat, 02/16/2019 - 21:49

I created a 3d model hammer and I give you if you want.

http://www.mediafire.com/file/2mhqj98a9u5iuai/hammer.json/file (hammer json)

 

If you use my hammer, you have to create a 4x4 texture file and put color like this : #$

                                                                                                                                  #$

# means color for handle and

$ means color for head of hammer

Last seen on 17:47, 20. Mar 2019
Joined Oct 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Your file is from which…
Mon, 02/18/2019 - 13:17
Your file is from which extension ?


because i do not want to open it do a video tutorial to help people who do not understand how to do it because your file i can not open it
Last seen on 18:59, 21. May 2019
Joined Aug 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Ok, like I said in the…
Mon, 02/18/2019 - 13:33

Ok, like I said in the tutorial, I created a procedure and I share you for that you can download the procedure and import it in MCreator. You have to have MCreator 1.8.1 at least, because we cannot import a procedure before MCreator 1.8.1, but I advise you to use MCreator 1.8.2. You cannot open the file in your computer. For open it, you have to create a procedure, click on "Import Procedure" and go take my procedure in .ptpl.

 

I hope that I help you.

Goldorion

 

P-S : I will go make a tutorial video and post it here, so you can do a tutorial video, but I'll go to make one and you can credit me for have "creat" the tutorial and discover how to make a hammer in MCreator 1.8.2  please ?

Last seen on 17:47, 20. Mar 2019
Joined Oct 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
ok I would do an ad for your…
Mon, 02/18/2019 - 13:45

ok I would do an ad for your video
and thanks again for explaining to me how to take on your .ptpl file

 

Last seen on 18:59, 21. May 2019
Joined Aug 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
You're welcome !
Mon, 02/18/2019 - 13:49

You're welcome !

Last seen on 11:37, 18. May 2019
Joined Nov 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Hello? By the way you are…
Mon, 02/18/2019 - 17:54

Hello? By the way you are NOT the first person to create a "hammer", or an item that does this.

Last seen on 18:59, 21. May 2019
Joined Aug 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I know that I am not the…
Mon, 02/18/2019 - 18:31

I know that I am not the first person, but I am the first person to create it since 1.7.9, so since the preicedures, but I know that is possible before 1.7.9. Someone say me in Unnoficial Discord server of MCreator.

Last seen on 16:26, 25. May 2019
Joined Jun 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
If you are using 1.8.2, you…
Tue, 02/19/2019 - 07:00

If you are using 1.8.2, you can make a better hammer :)

You can use the "get player direction" block to get the direction, then mine 3 blocks in front of the player. I'vs never actually used this block at the moment but I think it gives you a variable.

You should also check for the harvest level and check if the blocks that are being broken are not bedrock, command block, barrier [...] or maybe even obsidian (it would be a bit too OP to instantly destroy obsidian).

Anyways, nice tutorial :)

Last seen on 16:26, 25. May 2019
Joined Jun 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Sorry, I meant 9 blocks in…
Tue, 02/19/2019 - 07:01

Sorry, I meant 9 blocks in front of the player, not 3.

Last seen on 15:39, 25. May 2019
Joined May 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Cool tuto
Tue, 02/19/2019 - 11:15

Cool tuto