A few questions about Key-pressed simulation and /Team command

Started by minheragon12345 on

Topic category: Help with modding (Java Edition)

Last seen on 09:48, 26. Sep 2022
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A few questions about Key-pressed simulation and /Team command
Fri, 05/15/2020 - 12:45 (edited)

Just like the title, I have 2 question :

1, Is it possible to simulate a key pressed ? I mean I want to make the player drop the item in hand by simulating Q pressed. Or I want players to right/left click ?

2, And about /team. It would be great if we have procedure blocks about /team. Like, create teams, add/remove the event entity to a team. So that we can make many more things like hostile mobs being nice to team members or even nicer, we can do some effect with a team with procedures.

(and a small question, can a update of a non-motw-mod be motw ?)

Edited by minheragon12345 on Fri, 05/15/2020 - 12:45
Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For number 1 there is a key…
Fri, 05/15/2020 - 14:26

For number 1 there is a key-binding element type.

Last seen on 09:48, 26. Sep 2022
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No you dont get my idea, I…
Fri, 05/15/2020 - 15:50

No you dont get my idea, I meant make a procedure that do what a key do. Like if I meet a condition, the procedure simulate Q key. As the result, the player drop the item.

 

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh. That could be a cool…
Fri, 05/15/2020 - 15:51

Oh. That could be a cool idea.

Last seen on 09:48, 26. Sep 2022
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yep, is there no other post…
Sat, 05/16/2020 - 03:48

Yep, is there no other post/ticket about these things ? If so, I'll make a ticket XD