Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.

darkvc/MinecraftReflection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

Minecraft Reflection Library

This is a work-in-progress Minecraft Reflection plugin/library that aids in making reflection calls to Minecraft 1.17 and above (with backwards compatible).

This plugin downloads the mappings from Mojang and Spigot and builds a combined list of class and method/field mappings.

Because this library pulls both Spigot's and Mojang's mappings, there will be class name mapping conflicts. To fix this, duplicate mappings are stored together, and then each duplicate class/method/field will be tested.

Note: Not all classes defined will be accessible at runtime, as some class names may have had their names changed, and in some cases, class names are changed like this: n.m.s.EULA -> n.m.s.Eula.

TODO: More readme writing.

How to install

Repository:

<repository>
    <id>darkvc-repo</id>
    <url>https://repo.dark.vc/repository/public/</url>
    <snapshots>
        <enabled>true</enabled>
        <updatePolicy>always</updatePolicy>
    </snapshots>
</repository>

Dependency:

<dependency>
  <groupId>vc.dark.minecraft</groupId>
  <artifactId>minecraft-reflection</artifactId>
  <version>1.2-SNAPSHOT</version>
</dependency>

You do not need to install anything else (because the originally planned server plugin component of this has been scrapped).

About

Minecraft/Bukkit Reflection Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages