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

Started by Evolving_Code on Sat, 03/21/2020 - 07:45

Topic category: Feature requests and ideas for MCreator

Last seen on 12:51, 27. Jul 2020
Joined Apr 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Get Item and ItemStack from ItemEntity procedure block and minecraft type custom vatiables.
Sat, 03/21/2020 - 07:45

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.

Last seen on 12:51, 27. Jul 2020
Joined Apr 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
up
Thu, 03/26/2020 - 09:33

up

Last seen on 10:37, 8. Oct 2020
Joined Nov 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 12:51, 27. Jul 2020
Joined Apr 2019
User points:

User statistics:

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

Thank you very much!