Building a block that functions like a door

Started by mshane951 on

Topic category: Help with modding (Java Edition)

Last seen on 02:34, 26. Apr 2023
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Building a block that functions like a door

So I been trying to build a less resource heavy door for a project I am working on. The idea is to have one block that is closed variant which is completely solid and using the right click function for blocks to have it changed into a transparent block that you can pass through and vice versa. So it will basically function like a door but I can place 1000s of them without a FPS drop. However the function doesn't appear to working and I don't know why. 

I did the function Event Trigger - triggered by external call or when (global trigger): Player Right Clicks Block

Which after is Replace Block at X, Y and Z (not sure if I need to specify these) with the open block. 

It is a similar procedure from open to closed.

 

Last seen on 22:49, 17. Mar 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There's already a fully…
Mon, 09/28/2020 - 20:04

There's already a fully functional block base for doors, you just need to set the bottom and top textures, give it an item texture, (plus all the stuff you'd normally do for blocks), and you're good to go.

Last seen on 02:34, 26. Apr 2023
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh wait there is? Where? Is…
Fri, 10/02/2020 - 01:28

oh wait there is? Where? Is it under blocks? 

Last seen on 01:27, 31. Mar 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not working for me. Doors…
Thu, 04/20/2023 - 00:04

Not working for me. Doors using the base block are pink and black checkered blocks instead of using the provided textures.