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

Last seen on 07:42, 26. Jun 2021
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.

Last seen on 07:42, 26. Jun 2021
Joined Apr 2019
Points:

User statistics:

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

up

Last seen on 14:12, 3. Jun 2023
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

Last seen on 07:42, 26. Jun 2021
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!