Chest not a block entity

Started by abaskers20 on

Topic category: Help with Minecraft modding (Java Edition)

Active 5 years ago
Joined May 2020
Points:
629

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
Chest not a block entity

I have made a working chest and I want to be able to run an execute data command on it to check it's its contents however the command console comes up with the error target is not a block entity

I've made a GUI and binded it to it and made a procedure to open the GUI on right click

What am I missing?

Active 3 years ago
Joined Mar 2020
Points:
1274

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1145
A block is not a block entity
Wed, 05/20/2020 - 15:11

A block is not a block entity

Active 3 years ago
Joined Apr 2020
Points:
658

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 23
Trolmaso a block entity is…
Wed, 05/20/2020 - 16:04

Trolmaso a block entity is not the same is an entity. A block entity is a block that contains nbt+ data and can contain items.

abaskers, you need to enable "Enable tile entity and inventory on this block" and fill in the area below.

Active 3 years ago
Joined Mar 2020
Points:
1274

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1145
Yeah sorry I know that but I…
Wed, 05/20/2020 - 16:06

Yeah sorry I know that but I got confused.