Mounting a block

Started by TreePuncher42 on

Topic category: Help with MCreator software

Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mounting a block

I am making a furniture mod, and need to make my chair mountable. Really need some help.

Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make it a mob but uncheck the
Fri, 09/15/2017 - 00:15

Make it a mob but uncheck the AI box and make it mountable

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I would like this too. And to
Fri, 09/15/2017 - 16:22

I would like this too. And to actually make it a block instead of an entity. That would be very helpful for modding.

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In vanilla minecraft i spawn
Fri, 09/15/2017 - 20:18

In vanilla minecraft i spawn an invisible and invincible horse with commands XD

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But how do I use an item to…
Fri, 08/21/2020 - 15:47

But how do I use an item to spawn it where the player is looking? It would be weird to have a chair spawn egg...

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try something like this …
Sun, 08/23/2020 - 03:59

Try something like this (this allows you to still use a block and model for the furniture):

Use the "on block placed" event trigger inside your block's triggers page. Inside that procedure, use the world management category to add the "run command at (x y z)" block. Use the command to summon an invisible pig with a saddle and no AI at the same coordinates as the furniture block (but tweaking the y value to get the player's seating correct). 

/summon minecraft:pig ~ ~1 ~ {NoAI:1b,PersistenceRequired:1b,Silent:1,Invulnerable:1,Saddle:1,Age:0,ActiveEffects:[{Id:14,Amplifier:0,Duration:2147483647,ShowParticles:0}]}

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could also instead of a…
Sun, 08/23/2020 - 06:50

you could also instead of a pig make an entity that was the same size of a block or smaller and rideable so that the hitbox would be the same size.