How do I make a key binding for sounds? And how do I make a Minecart-like entity?

Started by GRANDPA CAR on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Feb 2022
Points:
476

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
How do I make a key binding for sounds? And how do I make a Minecart-like entity?

I'm making a Train mod witch adds in a little diesel locomotive and I can't figure out how to make it act like a minecart. And I need to make a key binding of the H key to blow the whistle/horn. How do I do that?

Active 2 years ago
Joined Dec 2021
Points:
587

User statistics:

  • Modifications: 1
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 110
Im not sure for the minecart…
Tue, 02/15/2022 - 23:50

Im not sure for the minecart part but make a key binding that on pressing checks if the player is riding entity = train, and if so play sound at x, y, z Custom Sound

Active 3 years ago
Joined Feb 2022
Points:
476

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
@Legomatt28 Ight gotcha…
Wed, 03/02/2022 - 01:48

@Legomatt28 Ight gotcha. However it got too hard and complex so I just cancelled the whole mod.