Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 145
    • Issues 145
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1110

Closed
Open
Created Apr 24, 2023 by Lxlp@LxlpDeveloper

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

Server Startup Logs

Debug log snippet

Issue Debug Logs

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking