Unable to use (get) NBT Tag of Minecraft Doors

Started by Achylles on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Unable to use (get) NBT Tag of Minecraft Doors
Sun, 10/25/2020 - 22:23 (edited)

Hello,

I´m using "Get NBT logic tag" to identiy if my doors are open, hinge and facing, wich is no Problem with the doors I made up without the "door" base.

If I try to identify the original Minecraft doors, it shows always the same...

I tried with ´Get NBT tag "open" of block at x: x, y: y-2, z: z if it has tile entity´ from a Block directly on Top of the door.

I wonder why I can´t read the door tag.

Did I misunderstand, using "open" as name?

Testing was in Mcreator Environment.

If I´m sugesting right that the name is false, what are the right names for the different door tags?

Or what is my mistake?

Edited by Achylles on Sun, 10/25/2020 - 22:23
Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Correction: It did not work…
Sat, 10/24/2020 - 20:19

Correction:

It did not work with the doors made with the "door" base.

It only worked with doors I made, wich did not use the "Door" base.

 

With the regular Minecraft doors it gives data I don´t understand.

If I ask for a Number instead of Boolean, it gives "-1.0".

With my own doors (not with "door block") it says "1.0" or "0.0" wich is "true" or "false" asked as Boolean.

I don´t know, where the Mistake is...

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What is the precise "Name" I…
Sat, 10/24/2020 - 20:23

What is the precise "Name" I should use inside the "Get NBT"-function?

I used "open", "hinge" and "powered", but nothing worked.

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't think that's NBT…
Fri, 10/30/2020 - 20:02

I don't think that's NBT data. It is a block property.

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If it´s a block property,…
Sun, 11/01/2020 - 21:20

If it´s a block property, how can I get the open and hinge state?