Building a block that functions like a door

Started by mshane951 on Thu, 09/24/2020 - 02:44

Topic category: Help with modding (Java Edition)

Last seen on 23:14, 19. Oct 2020
Joined Feb 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Building a block that functions like a door
Thu, 09/24/2020 - 02:44

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 19:50, 30. Oct 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 23:14, 19. Oct 2020
Joined Feb 2019
User points:

User statistics:

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

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