←
→
edited src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/fabricloom/FabricLoomModelImpl.groovy
⁠modmuss50: Support loom 0.13 and fix decompile options when using split Minecraft jars. (#1876 )
* Support loom 0.13 and fix decompile options when using split Minecraft jars.
* Use SideOnlyUtil
* Support loom 0.13 and fix decompile options when using split Minecraft jars.
* Use SideOnlyUtil
- /*
- * Minecraft Dev for IntelliJ
- *
- * https://minecraftdev.org
- *
- * Copyright (c) 2021 minecraft-dev
- *
- * MIT License
- */
- package com.demonwav.mcdev.platform.mcp.gradle.tooling.fabricloom
- class FabricLoomModelImpl implements FabricLoomModel, Serializable {
- private final File tinyMappings
- private final Map<String, String> decompilers
- FabricLoomModelImpl(File tinyMappings, Map<String, String> decompilers) {
- this.tinyMappings = tinyMappings
- this.decompilers = decompilers
- }
- @Override
- File getTinyMappings() {
- return tinyMappings
- }
- @Override
- Map<String, String> getDecompilers() {
- return decompilers
- }
- }
- /*
- * Minecraft Dev for IntelliJ
- *
- * https://minecraftdev.org
- *
- * Copyright (c) 2021 minecraft-dev
- *
- * MIT License
- */
- package com.demonwav.mcdev.platform.mcp.gradle.tooling.fabricloom
- import groovy.transform.Immutable
- @Immutable(knownImmutableClasses = [File])
- class FabricLoomModelImpl implements FabricLoomModel, Serializable {
- File tinyMappings
- Map<String, List<DecompilerModel>> decompilers
- boolean splitMinecraftJar
- @Immutable
- static class DecompilerModelImpl implements DecompilerModel, Serializable {
- String name
- String taskName
- String sourcesPath
- }
- }