Get Item and ItemStack from ItemEntity procedure block and minecraft type custom vatiables.

Started by Evolving_Code on

Topic category: Feature requests and ideas for MCreator

Active 3 years ago
Joined Apr 2019
Points:
693

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
Get Item and ItemStack from ItemEntity procedure block and minecraft type custom vatiables.

It'd be nice, if you could implement this feature. It's pretty easy, in my opinion.

It can be implemented like this:

 

ItemEntity i_entity;

if (entity typeof ItemEntity){
     
     i_entity = (ItemEntity)entity;
     ItemStack stack = i_entity.getItem();

}

It'd also be realy nice if you add support of  minecraft type variables (Item. ItemStack, Entity, etc) for procedures.

Active 3 years ago
Joined Apr 2019
Points:
693

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
up
Thu, 03/26/2020 - 09:33

up

Active 4 months ago
Joined Nov 2017
Points:
901

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 2
  • MCreator plugins: 0
  • Comments: 180
Not a MCreator dev, but I'll…
Thu, 03/26/2020 - 11:10

Not a MCreator dev, but I'll add it to my itemstack plugin

Active 3 years ago
Joined Apr 2019
Points:
693

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
Thank you very much!
Thu, 03/26/2020 - 15:55

Thank you very much!