Agent skill
generate-vanilla-source
Generate vanilla Minecraft source code.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/generate-vanilla-source-sharo-jef-sharoutils
SKILL.md
-
Run genSources
shell./gradlew genSources -
Source jars will be generated under following paths:
./.gradle/loom-cache/minecraftMaven/net/minecraft/minecraft-common-<hash>/<version>/minecraft-common-<hash>-<version>-sources.jar./.gradle/loom-cache/remapped_mods/<mapping_version>/net/fabricmc/fabric-api/<module>/<version>/<module>-<version>-sources.jar
-
Inspect JAR contents in memory (no extraction to disk)
powershell# Example: Read LivingEntity.java from minecraft-common sources JAR $jarPath = ".gradle\loom-cache\minecraftMaven\net\minecraft\minecraft-common-<hash>\<version>\minecraft-common-<hash>-<version>-sources.jar" Add-Type -AssemblyName System.IO.Compression.FileSystem $zip = [System.IO.Compression.ZipFile]::OpenRead($jarPath) $entry = $zip.Entries | Where-Object { $_.FullName -eq "net/minecraft/entity/LivingEntity.java" } $stream = $entry.Open() $reader = New-Object System.IO.StreamReader($stream) $content = $reader.ReadToEnd() $reader.Close() $stream.Close() $zip.Dispose() # Search for specific methods or patterns $content | Select-String -Pattern "methodName" -Context 5,10 # Extract specific line ranges $lines = $content -split "`n" $startIndex = ($lines | Select-String -Pattern "public void methodName" | Select-Object -First 1).LineNumber - 1 $lines[$startIndex..($startIndex + 20)] -join "`n"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?