Locked door

Started by cantheman870 on

Topic category: Help with modding (Java Edition)

Last seen on 02:45, 22. Jun 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Locked door

I'm trying to make some linear structures for my mod. I have some locked doors that I want to unlock with a keycard. I've tried replacing the locked door with an unlocked version when I use the keycard on it but that just makes the bottom half of the unlocked version appear where i right click and the top half dissapear entirely. I'm open to learning to code if that helps, and I've done some javascript in the past, but I've forgotten most of it.

Last seen on 16:50, 22. Apr 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Javascript =/= Java, it's…
Tue, 06/22/2021 - 18:12

Javascript =/= Java, it's entirely different language

You could make your Locked Doors a 2 block high custom block
Then if used keycard, replace it with Unlocked Doors which are simply doors
Is this the way you made it? And it doesn't work?