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 16:16, 7. Apr 2020
Joined Apr 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
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.

2Upvote this forum topic
Last seen on 16:16, 7. Apr 2020
Joined Apr 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
up
Thu, 03/26/2020 - 09:33

up

0Upvote this forum topic
Last seen on 18:01, 5. Apr 2020
Joined Nov 2017
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
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

0Upvote this forum topic
Last seen on 16:16, 7. Apr 2020
Joined Apr 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Thank you very much!
Thu, 03/26/2020 - 15:55

Thank you very much!

0Upvote this forum topic