Mounting a block

Started by TreePuncher42 on Tue, 08/22/2017 - 22:42

Topic category: Help with MCreator software

Last seen on 03:38, 25. Aug 2017
Joined Jun 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Mounting a block
Tue, 08/22/2017 - 22:42

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

Last seen on 01:28, 7. Oct 2017
Joined Jan 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 19:55, 28. Sep 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 10:37, 28. Sep 2020
Joined Jul 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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...

Last seen on 05:43, 28. Sep 2020
Joined Jun 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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}]}

Last seen on 16:56, 9. Sep 2020
Joined Apr 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.