MinecraftDev icon indicating copy to clipboard operation
MinecraftDev copied to clipboard

Add entrypoint support to language adaptors

Open cputnam-a11y opened this issue 2 months ago • 0 comments

Minecraft Development for IntelliJ plugin version

2025.1-1.8.6-590

Description of the feature request

Image Image Image

add support for LanguageAdaptors as entrypoints, including

  • making idea not mark them unused when they are listed in the fabric.mod.json
  • adding jump to target support in the fabric.mod.json
  • adding class autocomplete based on classes implementing the interface in the language adaptors block of the fabric.mod.json
public interface DummyLanguageAdaptor extends LanguageAdapter {
	@Override
	default <T> T create(ModContainer mod, String value, Class<T> type) throws LanguageAdapterException {
		throw new LanguageAdapterException(this.getClass().getSimpleName() + " never could do anything properly... Father will be very angry :(");
	}
}

cputnam-a11y avatar Nov 04 '25 16:11 cputnam-a11y