Need help for some procedure

Started by Tiny on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help for some procedure

Hello guys, I'm trying to make If the player has pickaxe ( I already did. check Screen Shoot ) and if the player looking a obsidian block then giving me print. First part is working but I'm confusing in how to make if player looking a obsidian block and then giving me print or something action etc. wanted add to the "AND" procedure

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try the 'Look X Position'/…
Wed, 01/24/2024 - 15:32

Try the 'Look X Position'/'Look Y Position'/'Look Z Position' to get the block the entity is looking at. (And use the AND function to check if the block at this position is obsidian.)

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use raycasting. If you don't…
Wed, 01/24/2024 - 19:10

Use raycasting. If you don't know what that is watch an mcreator tutorial.