Death note in minecraft

Started by Osmith on Sat, 07/03/2021 - 19:08

Topic category: Help with modding (Java Edition)

Last seen on 21:32, 22. Sep 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Death note in minecraft
Sat, 07/03/2021 - 19:08

i want to create a death note-like item, when you type the name of a player in the gui and click a button he die, everything i tried won't work, can someone help me?

Last seen on 16:17, 19. Sep 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
im trying to do this too..  
Wed, 07/07/2021 - 01:22

im trying to do this too..  

Last seen on 06:02, 17. Sep 2021
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I already did it. It's…
Wed, 07/07/2021 - 06:28

I already did it. It's actually pretty easy to do :D

You just have to get the text from an InputBox called "EnterName" (you have to create one) inside the GUI.
Every time you close the GUI / click on a button, it'll just execute the following procedure blocks:

[ Execute command / [ create text with: /kill @e[name=" + [ Get text inside textfield "EnterName" ]"] ] in the name of Event/target entity ]

To make it much more realistic you can add a potion effect called "Death".
As you type in the name, the target will receive the potion effect.
After the effect expired, the target will die.

[ Execute command / [ create text with: /effect give @e[name=" + [ Get text inside textfield "EnterName" ]"] <your_mod_id>:death 40 6 true ] in the name of Event/target entity ]

I even added a gamerule called "EnableDeathNote",
which case it'll only work if its value is true.

 

 

:D

Last seen on 18:23, 14. Jul 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I've Tryed what you say ([…
Sun, 07/11/2021 - 17:27

I've Tryed what you say ([ Execute command / [ create text with: /kill @e[name=" [ Get text inside textfield "EnterName" ] + "] ] in the name of Event/target entity ]),

but I can't use a "+" to sum the text of "/kill @e[type=" and the name.

What can i do?

PD: I'm spanish so my english is not the best

Last seen on 02:01, 27. Aug 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Use the Create Text From…
Sun, 07/11/2021 - 19:06

Use the Create Text From block

 

Create Text From:

  • /kill @e[name="
  • textfield EnterName
  • "]
Last seen on 18:23, 14. Jul 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
i have serached the Create…
Sun, 07/11/2021 - 20:01

i have serached the Create Texet From block for a while and i do not find it.

(im in 2020.2 version)

Last seen on 02:01, 27. Aug 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It definitely exists in that…
Sun, 07/11/2021 - 22:28

It definitely exists in that version

 

Its in the Text tab when you are editing a procedure

Last seen on 18:23, 14. Jul 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I have tryed and i only can…
Mon, 07/12/2021 - 08:55

I have tryed and i only can put two blocks in the "create text from".

Also I have tryed to put only two blocks of text (the /kill @e[name=" and the text input puting a * "] * in the end and does not work.

 

Last seen on 21:32, 22. Sep 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
thanks to AtomiX7_NG34, the…
Mon, 07/12/2021 - 15:49

thanks to AtomiX7_NG34, the procedure works perfectly

Last seen on 02:01, 27. Aug 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Else, hit the gear icon on…
Mon, 07/12/2021 - 20:24

Else, hit the gear icon on the block to add for slots