Make a block shoot laser and laser expired condition

Started by idkwhattoput on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a block shoot laser and laser expired condition

How can i make a block that shoots a laser im using particles to make it look like a laser particles despawn when it hits a block but i have no idea how to do this since there no block that detect particles hitting another block.

also how can i make the block shoot particles repeatedly in a straight line using the 'Spawn single particle' block,my block model face north in blockbench how can i make the laser shoot straight north direction when block facing direction is north and if block facing direction is south laser shoot straight south direction same for west,east,up,down

im using mcreator 2024.4 forge 1.20.1 (my english might be wrong because it not my native language)