Raytrace mechanic - the ignorepassableblocks and fluidcollisionmode parameters are ignored
Summary
The Raytrace mechanic's ignorepassableblocks
and fluidcollisionmode
parameters are ignored, and the mechanic draws a raytrace that always stops at passable blocks and fluids.
Steps to reproduce
Just trying to use the mechanic with such options should be enough to replicate the bug, but for convenience's sake i have pasted over the metaskill i personally used to test it.
Raytrace_TestSkill:
Skills:
- raytrace{ignorepassableblocks=true;fluidcollisionmode=NEVER;
entityskill=[
- sound{s=entity.experience_orb.pickup} @self
];
locationSkill=[
- particles{p=flame;a=20;s=0.2;hS=0.1;vS=0.1}
];
d=100} @Forward{f=10000}
Pointing at a passable block or a fluid will stop the raytrace, regardless of what the relevant parameters are being set to. Not setting them at all will change nothing.
Currently I am on:
- Minecraft version:
1.19.2
- Paper version:
Paper-300 (MC: 1.19.2)
- MythicMobs version:
5.2.6 STABLE
-Premium version
-Build 0819d467
Current behavior
The Raytrace mechanic does not behave accordingly to what the ignorepassableblocks
and fluidcollisionmode
parameters are set to.
Intended correct behavior
It does.
Server log file
Debug log snippet