Skip to content

"No SRG name found" when using "Copy / Paste Special... > AT Entry" #2371

Open
@octylFractal

Description

@octylFractal

Minecraft Development for IntelliJ plugin version

2024.2-1.8.1

IntelliJ version

2024.2.1 / 242.21829.142

Operating System

Linux 6.10.9-arch1-1

Target platform

No response

Description of the bug

Target platform: NeoForge, it wasn't in the drop down.

When I use the "Copy / Paste Special... > AT Entry" context action on any MC code from NeoForge, nothing is copied and "No SRG name found" is shown. NeoForge 1.21 does not use SRG names at all in ATs, so this makes sense. The entry should be entirely based off of the Mojang mappings.

This can be reproduced easily using any NeoForge project, adding:

        ChunkHolder holder = null;
        holder.changedBlocksPerSection[0] = null;

and trying to copy an AT entry for changedBlocksPerSection.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions