MCPcopy Index your code
hub / github.com/btk5h/skript-mirror

github.com/btk5h/skript-mirror @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
611 symbols 1,378 edges 73 files 1 documented · 0% updated 6y agov1.0.0 · 2018-11-16★ 3743 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

skript-mirror

skript-mirror is a robust reflection addon for advanced scripters. It aims to combine the capabilities of Java with the easy-to-use development environment of Skript.

Documentation | Source

Should I use skript-mirror?

If you were given a script or a code snippet that requires skript-mirror, the answer is: absolutely!

If you're looking to add skript-mirror to your scripting toolbox, it is highly recommended that you familiarize yourself with the basics of Java or another object-oriented programming language.

Are you considering writing an addon for Skript? Consider implementing your features in skript-mirror instead! skript-mirror offers several advantages over a traditional Skript addon:

  • Writing addons properly is difficult, especially if you're new to Java. skript-mirror will handle most of the boilerplate for you, allowing you to focus on maintaining high-quality Skript extensions.
  • Extensions written in skript-mirror can be tested quickly, just like any other script. Unlike a Skript addon, which requires compilation and a complete server restart, skript-mirror scripts can be refreshed with a simple sk reload.
  • Some features may require you to use reflection to access private methods, fields, and constructors. skript-mirror's built-in reflection allows you to access these private members seamlessly.
  • One of Skript's essential features is its customizability. Extensions written in skript-mirror promote this, allowing users to quickly make changes to your code, if necessary.

Extension points exported contracts — how you extend this code

ExceptionalFunction (Interface)
(no doc)
src/main/java/com/btk5h/skriptmirror/util/JavaUtil.java

Core symbols most depended-on inside this repo

error
called by 40
src/main/java/com/btk5h/skriptmirror/skript/reflect/ExprJavaCall.java
getClass
called by 30
src/main/java/com/btk5h/skriptmirror/util/SkriptMirrorUtil.java
getPattern
called by 29
src/main/java/com/btk5h/skriptmirror/skript/custom/CustomSyntaxSection.java
toArray
called by 27
src/main/java/com/btk5h/skriptmirror/skript/ExprSpread.java
get
called by 27
src/main/java/com/btk5h/skriptmirror/skript/custom/ExprParseMark.java
get
called by 22
src/main/java/com/btk5h/skriptmirror/skript/ExprBits.java
getCurrentScript
called by 18
src/main/java/com/btk5h/skriptmirror/util/SkriptUtil.java
defendExpression
called by 17
src/main/java/com/btk5h/skriptmirror/util/SkriptUtil.java

Shape

Method 523
Class 85
Enum 2
Interface 1

Languages

Java100%

Modules by API surface

src/main/java/com/btk5h/skriptmirror/skript/reflect/ExprJavaCall.java42 symbols
src/main/java/com/btk5h/skriptmirror/skript/custom/CustomSyntaxSection.java27 symbols
src/main/java/com/btk5h/skriptmirror/skript/custom/expression/CustomExpression.java23 symbols
src/main/java/com/btk5h/skriptmirror/skript/custom/ExprExpression.java22 symbols
src/main/java/com/btk5h/skriptmirror/skript/ExprSpread.java22 symbols
src/main/java/com/btk5h/skriptmirror/skript/custom/expression/ExprChangeValue.java21 symbols
src/main/java/com/btk5h/skriptmirror/skript/ExprArrayAccess.java21 symbols
src/main/java/com/btk5h/skriptmirror/skript/custom/CustomImport.java20 symbols
src/main/java/com/btk5h/skriptmirror/skript/reflect/EvtByReflection.java16 symbols
src/main/java/com/btk5h/skriptmirror/util/JavaUtil.java15 symbols
src/main/java/com/btk5h/skriptmirror/ObjectWrapper.java13 symbols
src/main/java/com/btk5h/skriptmirror/Descriptor.java12 symbols

For agents

$ claude mcp add skript-mirror \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page