Projectile that gets a block and gives it to the player

Started by Purple19842 on

Topic category: Advanced modding

Last seen on 05:14, 7. Jul 2023
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Projectile that gets a block and gives it to the player

I Am trying to make a projectile that, when it hits a block it will get the block type, give one to the player, and break the original block.

i have tried using the "get block" block, it wont go into the "add to inventory" block, and the other approach was, i made a variable with the "block at x/y/z", and tried to put the "get variable" block in the "add to inventory" block.

I Dont know of any other ways.