This repository has been archived by the owner on Nov 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ec1964c
Showing
6 changed files
with
305 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
<title>NMS mapping browser</title> | ||
|
||
<script> | ||
let path = window.location.pathname; | ||
|
||
if (path.startsWith('/')) { | ||
path = path.substring(1); | ||
} | ||
const parts = path.split('/', 2); | ||
if (parts.length === 2 && parts[1] !== '') { | ||
/* >= 1.14.4: mojmaps are used for links */ | ||
const versionSpigotMap = { | ||
'1.8.8': 'v1_8_R3', | ||
'1.9': 'v1_9_R1', | ||
'1.9.2': 'v1_9_R1', | ||
'1.9.4': 'v1_9_R2', | ||
'1.10': 'v1_10_R1', | ||
'1.10.2': 'v1_10_R1', | ||
'1.11': 'v1_11_R1', | ||
'1.11.1': 'v1_11_R1', | ||
'1.11.2': 'v1_11_R1', | ||
'1.12': 'v1_12_R1', | ||
'1.12.1': 'v1_12_R1', | ||
'1.12.2': 'v1_12_R1', | ||
'1.13': 'v1_13_R1', | ||
'1.13.1': 'v1_13_R2', | ||
'1.13.2': 'v1_13_R2', | ||
'1.14': 'v1_14_R1', | ||
'1.14.1': 'v1_14_R1', | ||
'1.14.2': 'v1_14_R1', | ||
'1.14.3': 'v1_14_R1' | ||
}; | ||
if (versionSpigotMap.hasOwnProperty(parts[0])) { | ||
parts[1] = parts[1].replace('/VVV/', '/' + versionSpigotMap[parts[0]] + '/'); | ||
} | ||
} | ||
|
||
if (parts[0] !== 'history') { | ||
window.location.href = 'https://mappings.cephx.dev/' + parts.join('/'); | ||
} | ||
</script> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" | ||
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" | ||
crossorigin="anonymous"> | ||
</head> | ||
<body> | ||
<div class="px-4 py-5 my-5 text-center"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" fill="currentColor" class="bi bi-box-arrow-up-right" viewBox="0 0 16 16"> | ||
<path fill-rule="evenodd" d="M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5"/> | ||
<path fill-rule="evenodd" d="M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0z"/> | ||
</svg> | ||
<h1 class="display-5 fw-bold my-3">Are you sure you want to be here?</h1> | ||
<div class="col-lg-6 mx-auto"> | ||
<p class="lead mb-4"> | ||
You probably wanted to visit the new mapping browser. You should be redirected soon. If not, please click <a href="https://mappings.cephx.dev">here</a>. | ||
</p> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<hr class="my-5"> | ||
<div class="card border-danger mb-2"> | ||
<div class="card-body"> | ||
<h5 class="card-title text-danger"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" | ||
class="bi bi-exclamation-triangle" viewBox="0 0 16 16"> | ||
<path d="M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017.163.163 0 0 1-.054-.06.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"></path> | ||
<path d="M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z"></path> | ||
</svg> | ||
Discontinuation Notice | ||
</h5> | ||
<p> In June 2021, with the release of Minecraft 1.17, Spigot's team decided to abandon their member | ||
mappings in favor of a Mojang-mapped development environment with an obfuscated runtime. This | ||
change was unexpected for us, and because we needed to access NMS in our plugins, we created | ||
this project. It enabled us to browse mappings, track the history of individual symbols, and | ||
automatically generate reflective accessors for multiple versions at once. However, the project | ||
has faced significant issues, primarily high memory usage and poor performance, which have | ||
worsened with each new version. </p> | ||
<p> Therefore, one of our team members developed a new project called <b><a | ||
href="https://github.com/zlataovce/takenaka"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" | ||
class="bi bi-github" viewBox="0 0 16 16"> | ||
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path> | ||
</svg> takenaka</a></b>. This new successor to NMSMapper has many new | ||
features, such as support for viewing generics and parameter names. Most importantly, it | ||
performs much better than NMSMapper. As a result, we have decided to retire NMSMapper in favor | ||
of takenaka. | ||
</p> | ||
<p><b>Mapping browser</b><br> The mapping browser <b>is no longer supported</b>. We have implemented | ||
redirects on our website, so all links to specific versions, packages, and classes now point to | ||
<a href="https://mappings.cephx.dev">mappings.cephx.dev</a>. Most existing links should function | ||
correctly, except for those related to history comparisons of individual classes. | ||
</p> | ||
<p><b>Reflective accessor generator</b><br> | ||
If you used NMSMapper to generate reflective accessors, you will need to update your build | ||
scripts and source code to work with takenaka. We understand this may be time-consuming, | ||
especially for larger build scripts. Therefore, we will continue updating NMSMapper's generator | ||
on demand. If you require an update, please request it on our <a | ||
href="https://discord.gg/4xB54Ts">Discord</a> server or via <a | ||
href="https://github.com/ScreamingSandals/NMSMapper/issues/new">GitHub</a>. | ||
</p> | ||
</div> | ||
</div> | ||
<div class="card"> | ||
<div class="card-body"><h5 class="card-title">Migrating from Spigot to Mojang mappings?</h5> | ||
<p class="card-text">Mojang <-> Spigot comparison pages are now available. On these pages, you | ||
can | ||
see all Spigot-mapped symbols and their Mojang equivalents.</p> | ||
<p class="card-text">These symbols are compared across multiple versions:</p> | ||
<ul> | ||
<li>1.16.5 - the last Spigot version with Spigot-mapped fields</li> | ||
<li>1.17.1 - the last Spigot version with Spigot-mapped methods</li> | ||
<li>1.18.2 - the first major Spigot version in which only classes are Spigot-mapped</li> | ||
</ul> | ||
<p class="card-text text-muted">Symbols which weren't Spigot-mapped in 1.16.5 are not compared.</p> | ||
<p class="card-text text-muted">Note: These pages may negatively impact your browser's performance, | ||
due | ||
to their size and processing power needed to render them.</p><a | ||
href="comparison/mojang-to-spigot.html" class="btn btn-outline-success me-1">Mojang & | ||
Spigot | ||
comparison</a><a href="comparison/mojang-to-obfuscated-to-spigot.html" | ||
class="btn btn-outline-secondary">Mojang, Obfuscated & Spigot | ||
comparison</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top"> | ||
<div class="col-md-4 d-flex align-items-center"> | ||
<span class="text-muted">© 2024 Screaming Sandals</span> | ||
</div> | ||
|
||
<ul class="nav col-md-4 justify-content-end list-unstyled d-flex"> | ||
<li class="ms-3"> | ||
<a class="text-muted" href="https://screamingsandals.org"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" | ||
class="bi bi-globe" viewBox="0 0 16 16"> | ||
<path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855A7.97 7.97 0 0 0 5.145 4H7.5V1.077zM4.09 4a9.267 9.267 0 0 1 .64-1.539 6.7 6.7 0 0 1 .597-.933A7.025 7.025 0 0 0 2.255 4H4.09zm-.582 3.5c.03-.877.138-1.718.312-2.5H1.674a6.958 6.958 0 0 0-.656 2.5h2.49zM4.847 5a12.5 12.5 0 0 0-.338 2.5H7.5V5H4.847zM8.5 5v2.5h2.99a12.495 12.495 0 0 0-.337-2.5H8.5zM4.51 8.5a12.5 12.5 0 0 0 .337 2.5H7.5V8.5H4.51zm3.99 0V11h2.653c.187-.765.306-1.608.338-2.5H8.5zM5.145 12c.138.386.295.744.468 1.068.552 1.035 1.218 1.65 1.887 1.855V12H5.145zm.182 2.472a6.696 6.696 0 0 1-.597-.933A9.268 9.268 0 0 1 4.09 12H2.255a7.024 7.024 0 0 0 3.072 2.472zM3.82 11a13.652 13.652 0 0 1-.312-2.5h-2.49c.062.89.291 1.733.656 2.5H3.82zm6.853 3.472A7.024 7.024 0 0 0 13.745 12H11.91a9.27 9.27 0 0 1-.64 1.539 6.688 6.688 0 0 1-.597.933zM8.5 12v2.923c.67-.204 1.335-.82 1.887-1.855.173-.324.33-.682.468-1.068H8.5zm3.68-1h2.146c.365-.767.594-1.61.656-2.5h-2.49a13.65 13.65 0 0 1-.312 2.5zm2.802-3.5a6.959 6.959 0 0 0-.656-2.5H12.18c.174.782.282 1.623.312 2.5h2.49zM11.27 2.461c.247.464.462.98.64 1.539h1.835a7.024 7.024 0 0 0-3.072-2.472c.218.284.418.598.597.933zM10.855 4a7.966 7.966 0 0 0-.468-1.068C9.835 1.897 9.17 1.282 8.5 1.077V4h2.355z"/> | ||
</svg> | ||
</a> | ||
</li> | ||
<li class="ms-3"> | ||
<a class="text-muted" href="https://github.com/ScreamingSandals"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" | ||
class="bi bi-github" viewBox="0 0 16 16"> | ||
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"/> | ||
</svg> | ||
</a> | ||
</li> | ||
<li class="ms-3"> | ||
<a class="text-muted" href="https://discord.gg/4xB54Ts"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" | ||
class="bi bi-discord" viewBox="0 0 16 16"> | ||
<path d="M13.545 2.907a13.227 13.227 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.19 12.19 0 0 0-3.658 0 8.258 8.258 0 0 0-.412-.833.051.051 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.041.041 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032c.001.014.01.028.021.037a13.276 13.276 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019c.308-.42.582-.863.818-1.329a.05.05 0 0 0-.01-.059.051.051 0 0 0-.018-.011 8.875 8.875 0 0 1-1.248-.595.05.05 0 0 1-.02-.066.051.051 0 0 1 .015-.019c.084-.063.168-.129.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.052.052 0 0 1 .053.007c.08.066.164.132.248.195a.051.051 0 0 1-.004.085 8.254 8.254 0 0 1-1.249.594.05.05 0 0 0-.03.03.052.052 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.235 13.235 0 0 0 4.001-2.02.049.049 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.034.034 0 0 0-.02-.019Zm-8.198 7.307c-.789 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612Zm5.316 0c-.788 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612Z"/> | ||
</svg> | ||
</a> | ||
</li> | ||
</ul> | ||
</footer> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nms.screamingsandals.org |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.