Skip to content

Port to NeoForge #151

@sharky98

Description

@sharky98

The Problem

WorldEdit is available in NeoForge, but not WorldEditCUI. Thus, it is impossible to see the selected box.

A Solution

Port WorldEditCUI to NeoForge.

Alternatives

No response

Anything Else?

Based on an existing port in the past (https://github.com/zbx1425/WorldEditCUI-Arch), I've been able to make the port to NeoForge for 1.21.11 already. Code-wise, it simply need to port the file FabricModWorldEditCUI.java to NeoForge loader. However there is a lot of code structuring that has to be modified. I did drop ViaFabricPlusHook, since ViaVersion doesn't seems to have an equivalent for NeoForge, but there were not issues playing with the mod.

I did not look into the release workflow though.

Also, my port was "quick and dirty" and there is probably a lot that can be refactored in FabricModWorldEditCUI.java and NeoForgeModWorldEditCUI.java with Architectury to avoid code duplication.

If interested, I can provide a pull request in a few days (since I did the port kinda quickly and did not follow many coding rules 😅).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions