Skip to content

Draconic Evolution can kill players wearing MI quantum armor #1252

@James103

Description

@James103

To setup the testing environment, install the following mods and their dependencies, or install the modpack "All the Mods 10" version 6.1:

  • Draconic Evolution 3.1.4.632
  • Brandon's Core 3.2.1.309
  • CodeChicken Lib 4.6.1.526
  • Modern Industrialization 2.4.1
  • GuideME 21.1.15
  • NeoForge 21.1.219
  • Minecraft 1.21.1

To reproduce this:

  1. Create a new world with the above mods installed or in All the Mods 10.
  2. Go into survival mode.
  3. Give yourself and equip a full set of MI quantum armor.
  4. Go to the End dimension and make your way to coordinates /execute in the_end run tp @s 10000 100 0 or any integer multiple thereof. You should see a Chaos Guardian and its island along the way.
  5. Wait until a Chaos Guardian engages its signature laser beam on you.
  6. After approximately 6 to 8 seconds of firing, you will die.

A death achieved this way is caused by the following code path being triggered, which, as far as I understand, completely bypasses the hurt method which the quantum armor injects at the beginning of to cancel its execution. At no point did a Totem of Undying I had equipped in my offhand get popped, even during the ticks before and after that kind of death.
https://github.com/Draconic-Inc/Draconic-Evolution/blob/d297c2657cefa6ac2af19a96ee12a51ab07d36f5/src/main/java/com/brandon3055/draconicevolution/entity/guardian/control/LaserBeamPhase.java#L95-L107

Assuming a full set of MI quantum armor is intended to protect players from all sources of damage, even from the /kill command, this is an exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions