(Tutorial) How to Make a Sittable Chair, Sittable block MC 2021.1

Started by jlrrcc001 on

Topic category: User side tutorials

Last seen on 21:47, 23. Jun 2021
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(Tutorial) How to Make a Sittable Chair, Sittable block MC 2021.1
Wed, 06/02/2021 - 08:09 (edited)

Hi, let's start with this.

First we create a mod entity without AI, (it can be whatever you want, a single box is fine).

 

entitymod

 

 

Set the parameters like in the  photos below:

entity  parameters

So you can play with this, to set the height of your chair.

and

entity  parameters

entity  parameters

Now we create a block with the model of our chair, (I assume you know how to do this so I skip this part. Just don't forget to activate the axis rotation  "S / W / N / E  from the player site".

Then we create two procedures, the first one for the mod and trigger "on entity tick update"

on entity tick update

 

and the second one for our block (or blocks since you can use it in as many models as you want) and trigger "on block right click"

on block right click

 

commans
  South /summon sentate:sillamod ~0.5 ~ ~0.5 {Rotation:[0f,0f],Invulnerable:1,NoAI:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:199999980,ShowParticles:0b}]}
  North    /summon sentate:sillamod ~0.5 ~ ~0.5 {Rotation:[180f,0f],Invulnerable:1,NoAI:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:199999980,ShowParticles:0b}]}
  East /summon sentate:sillamod ~0.5 ~ ~0.5 {Rotation:[270f,0f],Invulnerable:1,NoAI:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:199999980,ShowParticles:0b}]}
  West /summon sentate:sillamod ~0.5 ~ ~0.5 {Rotation:[90f,0f],Invulnerable:1,NoAI:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:199999980,ShowParticles:0b}]}

 

You have to change the command to fit your mod, but only this part: sentate:sillamod = yourmodname:yourentitymodname.

 

And that's it.
just a few more things:
use a transparent texture in your entitymod so entitymod is not visible when it spawn and you need to install the plugin "Better Procedures". (https://mcreator.net/plugin/71402/fly-procedures)

 

sillas

sentado

 

PD: I am not a english speaker, i just learn it by myself. so please ignore the grammar errors.

 

This is the workspace: (https://www.mediafire.com/file/uv0hfkf79i3bscj/silla.zip/file)

Edited by jlrrcc001 on Wed, 06/02/2021 - 08:09
Last seen on 21:47, 23. Jun 2021
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you (ヅ), and thanks…
Wed, 06/02/2021 - 12:03

Thank you (ヅ), and thanks for this amazing piece of software.

Last seen on 19:12, 16. Apr 2023
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is exactly what I…
Mon, 06/07/2021 - 21:43

This is exactly what I needed! Thanks!

Last seen on 21:47, 23. Jun 2021
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you're welcome.
Tue, 06/08/2021 - 17:51
you're welcome.
Last seen on 19:12, 16. Apr 2023
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The only thing is, when the…
Sat, 06/19/2021 - 14:16

The only thing is, when the chair is broken or pushed, it makes you sit on nothing. How do I fix this?

Last seen on 21:47, 23. Jun 2021
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi @ooooggll, you miss this…
Wed, 06/23/2021 - 16:32

Hi @ooooggll, you miss this part Then we create two procedures, "the first one for the mod and trigger "on entity tick update", the mob despawn if it is not being ridden.

Last seen on 19:12, 16. Apr 2023
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@jlrrcc001 I did make it…
Wed, 06/23/2021 - 17:29

@jlrrcc001 I did make it despawn when a player is not sitting on it but what happens when your friend breaks the chair block, or a piston pushes it. That doesn't make the player dismount the seat, so either the seat will remain there or it is misaligned with the chair block.

Last seen on 21:47, 23. Jun 2021
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@ooooggll You can add a new…
Wed, 06/23/2021 - 21:49

@ooooggll You can add a new variable in the first procedure event 
"if: block in X-1, Y, Z = air" or "if: block in X, Y, Z-1 = air"
"do: despawn event/target entity"
So the mod entity will disappear if the chair is no longer there.

Last seen on 23:42, 2. Apr 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you update this to work…
Thu, 11/17/2022 - 03:22

Can you update this to work for MCreator 2022.3?

Last seen on 17:54, 15. Feb 2024
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to make it…
Mon, 07/17/2023 - 18:49

Is there a way to make it work on 2023.1 version ?

Last seen on 00:27, 8. Feb 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hey how do i create a block…
Mon, 02/05/2024 - 22:10

hey how do i create a block with the model of our chair?