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

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Joined Nov 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

Joined Apr 2019
Points:

User statistics:

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

Thank you very much!