mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-24 15:14:26 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8dc885fd0f | ||
|
|
64287474d0 | ||
|
|
4d06896ad7 | ||
|
|
ab6ddfc225 | ||
|
|
5b0b6afcf5 | ||
|
|
c70e82fa25 | ||
|
|
942893e1b7 | ||
|
|
0a3152d7f5 | ||
|
|
7ab82d9c8f | ||
|
|
c706774cf8 | ||
|
|
59c9843594 | ||
|
|
ccf0e6e70f | ||
|
|
41c5717b15 | ||
|
|
5fe93ba59f | ||
|
|
932f6fb191 | ||
|
|
04716ae7ac | ||
|
|
7975bb792e | ||
|
|
e6522739d8 | ||
|
|
a0a5e172d7 | ||
|
|
5304006c64 | ||
|
|
368f01ed70 | ||
|
|
ed503a6d1f | ||
|
|
a63d11e050 | ||
|
|
1f58c213a7 | ||
|
|
8516bc6875 | ||
|
|
e2f3d0d37e | ||
|
|
0a41b3c6fb | ||
|
|
f9bb0ef464 | ||
|
|
240584c18f | ||
|
|
670a0d303e | ||
|
|
a49de70418 | ||
|
|
2f607eb550 | ||
|
|
8bb8b45f45 | ||
|
|
b10776df26 | ||
|
|
4501fb51e8 | ||
|
|
df341c77df | ||
|
|
8c06ad78de | ||
|
|
00a559e90c | ||
|
|
38cfbfbfc3 | ||
|
|
e5840ed566 | ||
|
|
aa1ac81482 | ||
|
|
6f70882698 | ||
|
|
6f0afbeb99 | ||
|
|
c3781798a9 | ||
|
|
b9a54771aa | ||
|
|
964dee8cde | ||
|
|
f86f8ea578 | ||
|
|
1b9d9582c3 | ||
|
|
f19cf95e0d | ||
|
|
3a26ebf6b4 | ||
|
|
4d712976b5 | ||
|
|
00229a3c93 | ||
|
|
8d10ffae81 | ||
|
|
0816ae6671 | ||
|
|
3b32b4ef95 | ||
|
|
bfb3abbf52 | ||
|
|
a0307b5e37 | ||
|
|
1409c006e6 | ||
|
|
dba566d60d | ||
|
|
6d41617437 | ||
|
|
a411b10869 | ||
|
|
a893d64b6d | ||
|
|
90011e59f0 | ||
|
|
f16d3f20f6 | ||
|
|
d9525c9546 | ||
|
|
69ccdf9382 | ||
|
|
46b95034d0 | ||
|
|
301bcafcc3 | ||
|
|
b45547e657 | ||
|
|
a5b624e9de | ||
|
|
ebfc9141e9 | ||
|
|
a35ff69db9 | ||
|
|
7e6c782ab6 | ||
|
|
f48a714cbe | ||
|
|
77b92f6313 | ||
|
|
ce79fc18fa | ||
|
|
9527c701fe | ||
|
|
0c6eb05820 | ||
|
|
b293748b20 | ||
|
|
cd5b21418c | ||
|
|
a1dc37c4bb | ||
|
|
1c3fd99446 | ||
|
|
719caab981 | ||
|
|
06e1ba84c9 | ||
|
|
c7345b5d46 | ||
|
|
3789f30f44 | ||
|
|
da36a2b514 | ||
|
|
318906ac8d | ||
|
|
86d64b568d | ||
|
|
16a07e6854 | ||
|
|
5180d15b7b | ||
|
|
8e5c9fc57f | ||
|
|
de1b643550 | ||
|
|
1aea3231c9 | ||
|
|
b3dd8925a3 | ||
|
|
9d58327485 | ||
|
|
9e4dc92a79 | ||
|
|
7185e43116 | ||
|
|
ce4274affd | ||
|
|
3b5ba9fa1c | ||
|
|
9c77bc25cb | ||
|
|
d681836f66 | ||
|
|
c45de8d9e0 | ||
|
|
b3672e066f | ||
|
|
ce62b1e0ae | ||
|
|
3149430d6c | ||
|
|
e11cae05e0 | ||
|
|
0adcf2ee60 | ||
|
|
93568151c0 | ||
|
|
e0b429754d | ||
|
|
02d80edbd1 | ||
|
|
cd1a62a3fa | ||
|
|
3381590cbd | ||
|
|
284efbfdf5 | ||
|
|
0b6ad87c5c | ||
|
|
e7a415a141 | ||
|
|
3ea4d27c18 | ||
|
|
aff6dd9254 | ||
|
|
f2b15d6939 |
No files matched your search
@@ -0,0 +1 @@
|
||||
{"hash":"4a7c7b09c","date":"2026-04-20T21:00:54-04:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"hash":"3448957d0","date":"2026-03-13T17:28:33-04:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"hash":"2dd41fb9d","date":"2026-03-11T17:24:50-04:00"}
|
||||
@@ -1,22 +0,0 @@
|
||||
# This is the universal Text Editor Configuration
|
||||
# for all GTNewHorizons projects
|
||||
# See: https://editorconfig.org/
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.{bat,ini}]
|
||||
end_of_line = crlf
|
||||
|
||||
[*.{dtd,json,info,mcmeta,md,sh,svg,xml,xsd,xsl,yaml,yml}]
|
||||
indent_size = 2
|
||||
|
||||
[*.lang]
|
||||
trim_trailing_whitespace = false
|
||||
@@ -1,44 +0,0 @@
|
||||
* text eol=lf
|
||||
|
||||
*.[jJ][aA][rR] binary
|
||||
|
||||
*.[pP][nN][gG] binary
|
||||
*.[jJ][pP][gG] binary
|
||||
*.[jJ][pP][eE][gG] binary
|
||||
*.[gG][iI][fF] binary
|
||||
*.[tT][iI][fF] binary
|
||||
*.[tT][iI][fF][fF] binary
|
||||
*.[iI][cC][oO] binary
|
||||
*.[sS][vV][gG] text
|
||||
*.[eE][pP][sS] binary
|
||||
*.[xX][cC][fF] binary
|
||||
|
||||
*.[kK][aA][rR] binary
|
||||
*.[mM]4[aA] binary
|
||||
*.[mM][iI][dD] binary
|
||||
*.[mM][iI][dD][iI] binary
|
||||
*.[mM][pP]3 binary
|
||||
*.[oO][gG][gG] binary
|
||||
*.[rR][aA] binary
|
||||
|
||||
*.7[zZ] binary
|
||||
*.[gG][zZ] binary
|
||||
*.[tT][aA][rR] binary
|
||||
*.[tT][gG][zZ] binary
|
||||
*.[zZ][iI][pP] binary
|
||||
|
||||
*.[tT][cC][nN] binary
|
||||
*.[sS][oO] binary
|
||||
*.[dD][lL][lL] binary
|
||||
*.[dD][yY][lL][iI][bB] binary
|
||||
*.[pP][sS][dD] binary
|
||||
*.[tT][tT][fF] binary
|
||||
*.[oO][tT][fF] binary
|
||||
|
||||
*.[pP][aA][tT][cC][hH] -text
|
||||
|
||||
*.[bB][aA][tT] text eol=crlf
|
||||
*.[cC][mM][dD] text eol=crlf
|
||||
*.[pP][sS]1 text eol=crlf
|
||||
|
||||
*[aA][uU][tT][oO][gG][eE][nN][eE][rR][aA][tT][eE][dD]* binary
|
||||
@@ -1,19 +0,0 @@
|
||||
---
|
||||
name: CustomNPC+ Issue Report
|
||||
about: Report an issue with the current version of CustomNPC+
|
||||
title: ''
|
||||
labels: Bug, Unreviewed
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Issue description:**
|
||||
|
||||
**If crashed, link to crash report (use a site such as pastebin):**
|
||||
|
||||
**Versions:**
|
||||
* Minecraft: 1.7.10
|
||||
* Forge:
|
||||
* CustomNPC+:
|
||||
|
||||
**Can it be reproduced with *just* CustomNPC+? If not, list the other mods *required* to reproduce the issue.**
|
||||
@@ -1,44 +0,0 @@
|
||||
<script>
|
||||
(function() {
|
||||
// Fix uppercase text in table cells
|
||||
// Javadoc 11: method names are in th[scope="row"] a, not td a
|
||||
function fixCase() {
|
||||
document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) {
|
||||
var t = el.textContent.trim();
|
||||
if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) {
|
||||
el.textContent = t.toLowerCase();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Correct navPadding = topNav height + subNav height
|
||||
// Uses !important to override jQuery's inline style
|
||||
function fixPadding() {
|
||||
var topNav = document.querySelector(".topNav");
|
||||
var subNav = document.querySelector(".subNav");
|
||||
var pad = document.querySelector(".navPadding");
|
||||
if (!pad) return;
|
||||
var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0);
|
||||
if (h > 0) {
|
||||
pad.style.setProperty("padding-top", h + "px", "important");
|
||||
}
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
fixCase();
|
||||
// Run fixPadding after jQuery has had its chance
|
||||
setTimeout(fixPadding, 0);
|
||||
setTimeout(fixPadding, 50);
|
||||
setTimeout(fixPadding, 200);
|
||||
|
||||
// Use MutationObserver to permanently override any further jQuery writes
|
||||
var pad = document.querySelector(".navPadding");
|
||||
if (pad) {
|
||||
var observer = new MutationObserver(function() {
|
||||
fixPadding();
|
||||
});
|
||||
observer.observe(pad, { attributes: true, attributeFilter: ["style"] });
|
||||
}
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
@@ -1,11 +0,0 @@
|
||||
<div id="javadoc-header">
|
||||
<a href="/CustomNPC-Plus/" class="header-brand">
|
||||
<div class="header-title">
|
||||
CustomNPC+
|
||||
<span>Javadoc Reference</span>
|
||||
</div>
|
||||
</a>
|
||||
<a href="/CustomNPC-Plus/" class="header-back">
|
||||
Back to Index
|
||||
</a>
|
||||
</div>
|
||||
@@ -1,14 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Javadoc Index</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600&family=IBM+Plex+Sans:ital,wght@0,300;0,600;1,300&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/main.jsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
Generated
-1679
File diff suppressed because it is too large.
Load diff
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"name": "javadoc-index",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-react": "^4.2.1",
|
||||
"vite": "^7.3.1"
|
||||
}
|
||||
}
|
||||
@@ -1,64 +0,0 @@
|
||||
import styles from './App.module.css'
|
||||
import { useDocs } from './useDocs'
|
||||
import TerminalHeader from './components/TerminalHeader'
|
||||
import Section from './components/Section'
|
||||
import { ReleaseCard, ExperimentalCard } from './components/Card'
|
||||
import { LoadingState, ErrorState, EmptyState } from './components/States'
|
||||
import Footer from './components/Footer'
|
||||
|
||||
export default function App() {
|
||||
const { data, loading, error } = useDocs()
|
||||
|
||||
const releases = data?.releases || []
|
||||
const experimental = data?.experimental || []
|
||||
|
||||
return (
|
||||
<div className={styles.root}>
|
||||
<TerminalHeader />
|
||||
|
||||
{/* ── Releases ── */}
|
||||
<Section
|
||||
label="Release"
|
||||
variant="releases"
|
||||
count={loading ? undefined : releases.length}
|
||||
>
|
||||
{loading ? (
|
||||
<LoadingState />
|
||||
) : error ? (
|
||||
<ErrorState message={error} />
|
||||
) : releases.length === 0 ? (
|
||||
<EmptyState label="releases" />
|
||||
) : (
|
||||
<div className={styles.grid}>
|
||||
{releases.map((r, i) => (
|
||||
<ReleaseCard key={r.id} release={r} index={i} />
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
</Section>
|
||||
|
||||
{/* ── Experimental ── */}
|
||||
<Section
|
||||
label="Experimental"
|
||||
variant="experimental"
|
||||
count={loading ? undefined : experimental.length}
|
||||
>
|
||||
{loading ? (
|
||||
<LoadingState />
|
||||
) : error ? null : experimental.length === 0 ? (
|
||||
<EmptyState label="experimental branches" />
|
||||
) : (
|
||||
<div className={styles.grid}>
|
||||
{experimental.map((b, i) => (
|
||||
<ExperimentalCard key={b.id} branch={b} index={i} />
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
</Section>
|
||||
|
||||
{!loading && !error && (
|
||||
<Footer source={data?.source} />
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
.root {
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
padding: 48px 32px 96px;
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.root { padding: 24px 16px 64px; }
|
||||
.grid { grid-template-columns: 1fr; }
|
||||
}
|
||||
@@ -1,97 +0,0 @@
|
||||
import styles from './Card.module.css'
|
||||
import { REPO_NAME } from '../config'
|
||||
|
||||
const BASE_PATH = `/${REPO_NAME}`
|
||||
|
||||
function formatDate(iso) {
|
||||
if (!iso) return null
|
||||
try {
|
||||
return new Intl.DateTimeFormat('en-GB', {
|
||||
day: '2-digit', month: 'short', year: 'numeric'
|
||||
}).format(new Date(iso))
|
||||
} catch (e) { return null }
|
||||
}
|
||||
|
||||
export function ReleaseCard({ release, index }) {
|
||||
const isLatest = release.isLatest
|
||||
const date = formatDate(release.date)
|
||||
const cardClass = isLatest
|
||||
? styles.card + ' ' + styles.latest
|
||||
: styles.card + ' ' + styles.release
|
||||
|
||||
return (
|
||||
<a
|
||||
href={BASE_PATH + '/' + release.path + '/'}
|
||||
className={cardClass}
|
||||
style={{ animationDelay: (index * 50) + 'ms' }}
|
||||
>
|
||||
<div className={styles.header}>
|
||||
<div className={styles.badges}>
|
||||
{isLatest && (
|
||||
<span className={styles.badge + ' ' + styles.badgeLatest}>● latest</span>
|
||||
)}
|
||||
<span className={styles.badge + ' ' + styles.badgeRelease}>release</span>
|
||||
</div>
|
||||
<span className={styles.arrow}>→</span>
|
||||
</div>
|
||||
|
||||
<div className={styles.version}>
|
||||
v{release.version}
|
||||
</div>
|
||||
<div className={styles.meta}>
|
||||
{date && (
|
||||
<div className={styles.metaRow}>
|
||||
<span className={styles.metaKey}>date</span>
|
||||
<span className={styles.metaVal}>{date}</span>
|
||||
</div>
|
||||
)}
|
||||
<div className={styles.metaRow}>
|
||||
<span className={styles.metaKey}>path</span>
|
||||
<span className={styles.metaVal}>{release.path}/</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
)
|
||||
}
|
||||
|
||||
export function ExperimentalCard({ branch, index }) {
|
||||
const date = formatDate(branch.date)
|
||||
|
||||
return (
|
||||
<a
|
||||
href={BASE_PATH + '/' + branch.path + '/'}
|
||||
className={styles.card + ' ' + styles.experimental}
|
||||
style={{ animationDelay: (index * 50) + 'ms' }}
|
||||
>
|
||||
<div className={styles.header}>
|
||||
<span className={styles.badge + ' ' + styles.badgeExperimental}>
|
||||
experimental
|
||||
</span>
|
||||
<span className={styles.arrow}>→</span>
|
||||
</div>
|
||||
|
||||
<div className={styles.version + ' ' + styles.versionBranch}>
|
||||
{branch.branch}
|
||||
</div>
|
||||
|
||||
<div className={styles.meta}>
|
||||
{date && (
|
||||
<div className={styles.metaRow}>
|
||||
<span className={styles.metaKey}>date</span>
|
||||
<span className={styles.metaVal}>{date}</span>
|
||||
</div>
|
||||
)}
|
||||
{branch.hash && (
|
||||
<div className={styles.metaRow}>
|
||||
<span className={styles.metaKey}>sha</span>
|
||||
<span className={styles.metaVal + ' ' + styles.hash}>{branch.hash}</span>
|
||||
</div>
|
||||
)}
|
||||
<div className={styles.metaRow}>
|
||||
<span className={styles.metaKey}>path</span>
|
||||
<span className={styles.metaVal}>{branch.path}/</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
)
|
||||
}
|
||||
@@ -1,143 +0,0 @@
|
||||
.card {
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
background: var(--bg2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
padding: 20px 22px;
|
||||
transition: border-color 0.15s, background 0.15s, transform 0.15s;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
animation: fadeUp 0.35s ease both;
|
||||
}
|
||||
|
||||
.card::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0; left: 0; right: 0;
|
||||
height: 2px;
|
||||
opacity: 0;
|
||||
transition: opacity 0.15s;
|
||||
}
|
||||
|
||||
.release::before { background: var(--green); }
|
||||
.latest::before { background: linear-gradient(90deg, var(--green), var(--blue)); }
|
||||
.experimental::before { background: var(--amber); }
|
||||
|
||||
.card:hover {
|
||||
border-color: var(--border2);
|
||||
background: var(--bg3);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.card:hover::before { opacity: 1; }
|
||||
|
||||
/* ── Header ── */
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.badges {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.badge {
|
||||
font-size: 9px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
padding: 2px 8px;
|
||||
border-radius: 2px;
|
||||
border: 1px solid;
|
||||
}
|
||||
|
||||
.badgeLatest {
|
||||
color: var(--green);
|
||||
border-color: var(--green-dim);
|
||||
background: rgba(57, 211, 83, 0.08);
|
||||
animation: pulseBorder 2s ease infinite;
|
||||
}
|
||||
|
||||
.badgeRelease {
|
||||
color: var(--text-dim);
|
||||
border-color: var(--border2);
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.badgeExperimental {
|
||||
color: var(--amber);
|
||||
border-color: var(--amber-dim);
|
||||
background: rgba(240, 160, 48, 0.08);
|
||||
}
|
||||
|
||||
.arrow {
|
||||
font-size: 14px;
|
||||
color: var(--border2);
|
||||
transition: color 0.15s, transform 0.15s;
|
||||
}
|
||||
|
||||
.card:hover .arrow {
|
||||
color: var(--text-mid);
|
||||
transform: translateX(3px);
|
||||
}
|
||||
|
||||
/* ── Version ── */
|
||||
.version {
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
color: var(--text);
|
||||
margin-bottom: 4px;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.latest .version { color: var(--green); }
|
||||
.versionBranch { font-size: 16px; color: var(--amber); }
|
||||
|
||||
/* ── Meta ── */
|
||||
.meta {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
margin-top: 12px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.metaRow {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 10px;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.metaKey {
|
||||
min-width: 36px;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.metaVal {
|
||||
color: var(--text-mid);
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.hash { color: var(--blue); }
|
||||
|
||||
/* ── Animations ── */
|
||||
@keyframes fadeUp {
|
||||
from { opacity: 0; transform: translateY(10px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
@keyframes pulseBorder {
|
||||
0%, 100% { border-color: var(--green-dim); }
|
||||
50% { border-color: var(--green); }
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
import styles from './Footer.module.css'
|
||||
import { REPO_OWNER, REPO_NAME } from '../useDocs'
|
||||
|
||||
export default function Footer({ source }) {
|
||||
const now = new Intl.DateTimeFormat('en-GB', {
|
||||
day: '2-digit', month: 'short', year: 'numeric',
|
||||
hour: '2-digit', minute: '2-digit', timeZoneName: 'short'
|
||||
}).format(new Date())
|
||||
|
||||
return (
|
||||
<footer className={styles.footer}>
|
||||
<span>
|
||||
<span className={styles.dot} />
|
||||
Auto-generated · {source === 'manifest' ? 'manifest.json' : 'GitHub API'}
|
||||
</span>
|
||||
<span>{now}</span>
|
||||
<span>Template by:
|
||||
<a
|
||||
href={`https://github.com/somehussar/`}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.link}
|
||||
>
|
||||
github.com/somehussar
|
||||
</a>
|
||||
</span>
|
||||
</footer>
|
||||
)
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
.footer {
|
||||
margin-top: 64px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid var(--border);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
font-size: 11px;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.dot {
|
||||
display: inline-block;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--green);
|
||||
margin-right: 6px;
|
||||
animation: blink 2s ease infinite;
|
||||
}
|
||||
|
||||
.link {
|
||||
color: var(--blue);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.3; }
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
import styles from './Section.module.css'
|
||||
|
||||
export default function Section({ label, count, variant, children }) {
|
||||
return (
|
||||
<section className={styles.section}>
|
||||
<div className={styles.header}>
|
||||
<span className={`${styles.tag} ${styles[variant]}`}>{label}</span>
|
||||
<div className={styles.line} />
|
||||
{count !== undefined && (
|
||||
<span className={styles.count}>
|
||||
{count} {label.toLowerCase()}{count !== 1 ? 's' : ''}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
{children}
|
||||
</section>
|
||||
)
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
.section {
|
||||
margin-top: 40px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.tag {
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.15em;
|
||||
text-transform: uppercase;
|
||||
padding: 3px 10px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.releases {
|
||||
color: var(--green);
|
||||
border-color: var(--green-dim);
|
||||
background: rgba(57, 211, 83, 0.06);
|
||||
}
|
||||
|
||||
.experimental {
|
||||
color: var(--amber);
|
||||
border-color: var(--amber-dim);
|
||||
background: rgba(240, 160, 48, 0.06);
|
||||
}
|
||||
|
||||
.line {
|
||||
flex: 1;
|
||||
height: 1px;
|
||||
background: var(--border);
|
||||
}
|
||||
|
||||
.count {
|
||||
font-size: 11px;
|
||||
color: var(--text-dim);
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
import styles from './States.module.css'
|
||||
|
||||
export function LoadingState() {
|
||||
return (
|
||||
<div className={styles.box}>
|
||||
<div className={styles.spinner} />
|
||||
<p className={styles.label}>Fetching documentation index...</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export function ErrorState({ message }) {
|
||||
return (
|
||||
<div className={styles.box}>
|
||||
<div className={styles.errorIcon}>⚠</div>
|
||||
<p className={styles.errorMsg}>{message}</p>
|
||||
<p className={styles.errorSub}>
|
||||
Check that the gh-pages branch exists and is publicly accessible.
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export function EmptyState({ label }) {
|
||||
return (
|
||||
<div className={`${styles.box} ${styles.empty}`}>
|
||||
<p className={styles.label}>No {label} found.</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
.box {
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
padding: 48px;
|
||||
text-align: center;
|
||||
background: var(--bg2);
|
||||
}
|
||||
|
||||
.empty {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border: 2px solid var(--border2);
|
||||
border-top-color: var(--green);
|
||||
border-radius: 50%;
|
||||
animation: spin 0.75s linear infinite;
|
||||
margin: 0 auto 14px;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-size: 12px;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.errorIcon {
|
||||
font-size: 22px;
|
||||
margin-bottom: 10px;
|
||||
color: var(--red);
|
||||
}
|
||||
|
||||
.errorMsg {
|
||||
font-size: 13px;
|
||||
color: var(--red);
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.errorSub {
|
||||
font-size: 11px;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
@@ -1,186 +0,0 @@
|
||||
import { useState, useEffect } from 'react'
|
||||
import styles from './TerminalHeader.module.css'
|
||||
import { PROJECT_NAME, REPO_NAME, LINKS, AUTHORS } from '../config'
|
||||
|
||||
function useGitHubProfile(username) {
|
||||
const [profile, setProfile] = useState(null)
|
||||
const [loading, setLoading] = useState(true)
|
||||
|
||||
useEffect(() => {
|
||||
const cacheKey = 'gh-profile-' + username
|
||||
|
||||
// Check sessionStorage first — avoids hammering the API on every render
|
||||
try {
|
||||
const cached = sessionStorage.getItem(cacheKey)
|
||||
if (cached) {
|
||||
setProfile(JSON.parse(cached))
|
||||
setLoading(false)
|
||||
return
|
||||
}
|
||||
} catch (e) {}
|
||||
|
||||
fetch('https://api.github.com/users/' + username)
|
||||
.then(r => {
|
||||
if (!r.ok) throw new Error('HTTP ' + r.status)
|
||||
return r.json()
|
||||
})
|
||||
.then(d => {
|
||||
// Don't cache error responses like rate limit messages
|
||||
if (!d.message) {
|
||||
try { sessionStorage.setItem(cacheKey, JSON.stringify(d)) } catch (e) {}
|
||||
}
|
||||
setProfile(d)
|
||||
setLoading(false)
|
||||
})
|
||||
.catch(() => setLoading(false))
|
||||
}, [username])
|
||||
|
||||
return { profile, loading }
|
||||
}
|
||||
|
||||
function AuthorTile({ username, active }) {
|
||||
const { profile, loading } = useGitHubProfile(username)
|
||||
const tileClass = styles.authorTile + (active ? ' ' + styles.authorTileActive : '')
|
||||
|
||||
if (loading) {
|
||||
return (
|
||||
<div className={tileClass}>
|
||||
<div className={styles.authorAvatarSkeleton} />
|
||||
<div className={styles.authorInfo}>
|
||||
<div className={styles.authorSkeleton} style={{ width: '60px' }} />
|
||||
<div className={styles.authorSkeleton} style={{ width: '80px', marginTop: '4px' }} />
|
||||
<div className={styles.authorBioPlaceholder} />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
if (!profile || profile.message) {
|
||||
return (
|
||||
<a
|
||||
href={'https://github.com/' + username}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={tileClass}
|
||||
>
|
||||
<div className={styles.authorAvatarSkeleton} />
|
||||
<div className={styles.authorInfo}>
|
||||
<span className={styles.authorName}>{username}</span>
|
||||
<span className={styles.authorLogin}>@{username}</span>
|
||||
<div className={styles.authorBioPlaceholder} />
|
||||
</div>
|
||||
</a>
|
||||
)
|
||||
}
|
||||
|
||||
return (
|
||||
<a
|
||||
href={profile.html_url}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={tileClass}
|
||||
>
|
||||
<img
|
||||
src={profile.avatar_url}
|
||||
alt={profile.login}
|
||||
className={styles.authorAvatar}
|
||||
/>
|
||||
<div className={styles.authorInfo}>
|
||||
<span className={styles.authorName}>{profile.name || profile.login}</span>
|
||||
<span className={styles.authorLogin}>@{profile.login}</span>
|
||||
{profile.bio
|
||||
? <span className={styles.authorBio}>{profile.bio}</span>
|
||||
: <div className={styles.authorBioPlaceholder} />
|
||||
}
|
||||
</div>
|
||||
</a>
|
||||
)
|
||||
}
|
||||
|
||||
function AuthorsTiles() {
|
||||
const [active, setActive] = useState(0)
|
||||
|
||||
useEffect(() => {
|
||||
if (AUTHORS.length <= 1) return
|
||||
const t = setInterval(() => {
|
||||
setActive(i => (i + 1) % AUTHORS.length)
|
||||
}, 4000)
|
||||
return () => clearInterval(t)
|
||||
}, [])
|
||||
|
||||
return (
|
||||
<div className={styles.authors}>
|
||||
<div className={styles.outputLine}>
|
||||
<span className={styles.chevron}>›</span> Authors:
|
||||
</div>
|
||||
<div className={styles.authorRow}>
|
||||
{AUTHORS.map((username, i) => (
|
||||
<AuthorTile
|
||||
key={username}
|
||||
username={username}
|
||||
active={i === active}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default function TerminalHeader() {
|
||||
return (
|
||||
<div className={styles.wrap}>
|
||||
<div className={styles.bar}>
|
||||
<div className={styles.dot + ' ' + styles.red} />
|
||||
<div className={styles.dot + ' ' + styles.amber} />
|
||||
<div className={styles.dot + ' ' + styles.green} />
|
||||
<span className={styles.title}>javadoc-index — bash</span>
|
||||
</div>
|
||||
<div className={styles.body}>
|
||||
<h1 className={styles.heading}>
|
||||
{PROJECT_NAME}
|
||||
</h1>
|
||||
|
||||
<div className={styles.promptLine}>
|
||||
<span className={styles.prompt}>$</span>
|
||||
<span className={styles.cmd}>browse-docs</span>
|
||||
<span className={styles.arg}>{REPO_NAME}</span>
|
||||
<span className={styles.flag}>--all-versions</span>
|
||||
</div>
|
||||
|
||||
<div className={styles.outputLine}>
|
||||
<span className={styles.chevron}>›</span> Fetching available documentation builds...
|
||||
</div>
|
||||
<div className={styles.outputLine}>
|
||||
<span className={styles.chevron}>›</span> Found project links:
|
||||
</div>
|
||||
|
||||
<div className={styles.links}>
|
||||
{LINKS.map(function(l) {
|
||||
return (
|
||||
<a
|
||||
key={l.tag}
|
||||
href={l.href}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.link}
|
||||
>
|
||||
<span className={styles.linkTag} style={{ color: l.color, borderColor: l.color }}>
|
||||
{l.tag}
|
||||
</span>
|
||||
<span className={styles.linkLabel}>{l.label}</span>
|
||||
<span className={styles.linkArrow} style={{ color: l.color }}>↗</span>
|
||||
</a>
|
||||
)
|
||||
})}
|
||||
</div>
|
||||
|
||||
<AuthorsTiles />
|
||||
|
||||
<div className={styles.promptLine} style={{ marginTop: '16px' }}>
|
||||
<span className={styles.prompt}>$</span>
|
||||
<span className={styles.cursor} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -1,303 +0,0 @@
|
||||
.wrap {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
background: var(--bg3);
|
||||
border: 1px solid var(--border2);
|
||||
border-bottom: none;
|
||||
border-radius: 8px 8px 0 0;
|
||||
padding: 10px 16px;
|
||||
}
|
||||
|
||||
.dot {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.red { background: #ff5f57; }
|
||||
.amber { background: #febc2e; }
|
||||
.green { background: #28c840; }
|
||||
|
||||
.title {
|
||||
margin-left: 8px;
|
||||
font-size: 11px;
|
||||
color: var(--text-dim);
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.body {
|
||||
background: var(--bg2);
|
||||
border: 1px solid var(--border2);
|
||||
border-radius: 0 0 8px 8px;
|
||||
padding: 16px 36px 36px;
|
||||
}
|
||||
|
||||
/* ── Heading ── */
|
||||
.heading {
|
||||
font-family: 'IBM Plex Sans', sans-serif;
|
||||
font-size: clamp(28px, 5vw, 52px);
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.02em;
|
||||
color: var(--text);
|
||||
line-height: 1.05;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.heading strong {
|
||||
font-weight: 600;
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
/* ── Prompt ── */
|
||||
.promptLine {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 10px;
|
||||
margin-bottom: 6px;
|
||||
font-size: 13px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.prompt { color: var(--green); font-weight: 600; }
|
||||
.cmd { color: var(--text); }
|
||||
.arg { color: var(--blue); }
|
||||
.flag { color: var(--amber); }
|
||||
|
||||
/* ── Output lines ── */
|
||||
.outputLine {
|
||||
font-size: 12px;
|
||||
color: var(--text-dim);
|
||||
line-height: 1.8;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.chevron {
|
||||
color: var(--text-mid);
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
/* ── Links ── */
|
||||
.links {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
padding-left: 36px;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
text-decoration: none;
|
||||
padding: 3px 0;
|
||||
width: fit-content;
|
||||
transition: opacity 0.15s;
|
||||
}
|
||||
|
||||
.link:hover { opacity: 0.8; }
|
||||
|
||||
.link:hover .linkLabel {
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 3px;
|
||||
}
|
||||
|
||||
.linkTag {
|
||||
font-size: 9px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.1em;
|
||||
border: 1px solid;
|
||||
border-radius: 2px;
|
||||
padding: 1px 5px;
|
||||
min-width: 28px;
|
||||
text-align: center;
|
||||
opacity: 0.9;
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
}
|
||||
|
||||
.linkLabel {
|
||||
font-size: 12px;
|
||||
color: var(--text-mid);
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
}
|
||||
|
||||
.linkArrow {
|
||||
font-size: 11px;
|
||||
opacity: 0.6;
|
||||
transition: opacity 0.15s, transform 0.15s;
|
||||
}
|
||||
|
||||
.link:hover .linkArrow {
|
||||
opacity: 1;
|
||||
transform: translate(2px, -2px);
|
||||
}
|
||||
|
||||
/* ── Authors ── */
|
||||
.authors {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.authorRow {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 8px;
|
||||
padding-left: 36px;
|
||||
margin-top: 6px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* ── Author tile ── */
|
||||
.authorTile {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
background: var(--bg3);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
padding: 8px 12px;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
/* width is dynamic — grows with content */
|
||||
width: max-content;
|
||||
min-width: 140px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: border-color 0.2s, background 0.2s, transform 0.2s;
|
||||
}
|
||||
|
||||
.authorTile::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0; left: 0; right: 0;
|
||||
height: 2px;
|
||||
background: var(--green);
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.authorTileActive::before,
|
||||
.authorTile:hover::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.authorTileActive {
|
||||
border-color: var(--green-dim);
|
||||
background: rgba(57, 211, 83, 0.04);
|
||||
}
|
||||
|
||||
.authorTile:hover {
|
||||
border-color: var(--border2);
|
||||
background: #161b22;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
/* ── Author content ── */
|
||||
.authorAvatar {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid var(--border2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.authorAvatarSkeleton {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--border2);
|
||||
flex-shrink: 0;
|
||||
animation: shimmer 1.5s ease infinite;
|
||||
}
|
||||
|
||||
.authorInfo {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.authorName {
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: var(--text);
|
||||
font-family: 'IBM Plex Sans', sans-serif;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.authorLogin {
|
||||
font-size: 10px;
|
||||
color: var(--blue);
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Bio — always reserves vertical height, width animates open */
|
||||
.authorBio {
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
color: var(--text-dim);
|
||||
font-family: 'IBM Plex Sans', sans-serif;
|
||||
margin-top: 2px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
/* always reserve vertical space */
|
||||
height: 14px;
|
||||
/* collapsed horizontally */
|
||||
width: 0;
|
||||
opacity: 0;
|
||||
transition: opacity 0.25s ease, width 0.3s ease;
|
||||
}
|
||||
|
||||
.authorTileActive .authorBio,
|
||||
.authorTile:hover .authorBio {
|
||||
width: 200px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Placeholder for loading/no-profile/no-bio states */
|
||||
.authorBioPlaceholder {
|
||||
height: 14px;
|
||||
margin-top: 2px;
|
||||
width: 0; /* never takes horizontal space, never expands */
|
||||
}
|
||||
|
||||
.authorSkeleton {
|
||||
height: 9px;
|
||||
border-radius: 4px;
|
||||
background: var(--border2);
|
||||
animation: shimmer 1.5s ease infinite;
|
||||
}
|
||||
|
||||
/* ── Cursor ── */
|
||||
.cursor {
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 13px;
|
||||
background: var(--green);
|
||||
margin-left: 2px;
|
||||
vertical-align: text-bottom;
|
||||
animation: blink 1s step-end infinite;
|
||||
}
|
||||
|
||||
/* ── Animations ── */
|
||||
@keyframes blink {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0; }
|
||||
}
|
||||
|
||||
@keyframes shimmer {
|
||||
0%, 100% { opacity: 0.4; }
|
||||
50% { opacity: 0.8; }
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.body { padding: 20px; }
|
||||
.links { padding-left: 20px; }
|
||||
.authorRow { padding-left: 20px; }
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
// ─── Project Configuration ───────────────────────────────────
|
||||
// This is the ONLY file that should differ between projects.
|
||||
// Everything else in the pages app is generic.
|
||||
// ─────────────────────────────────────────────────────────────
|
||||
|
||||
export const PROJECT_NAME = 'CustomNPC+'
|
||||
export const REPO_OWNER = 'KAMKEEL'
|
||||
export const REPO_NAME = 'CustomNPC-Plus'
|
||||
|
||||
export const LINKS = [
|
||||
{
|
||||
tag: 'GH',
|
||||
label: 'github.com/KAMKEEL/CustomNPC-Plus',
|
||||
href: 'https://github.com/KAMKEEL/CustomNPC-Plus',
|
||||
color: '#e6edf3',
|
||||
},
|
||||
{
|
||||
tag: 'DC',
|
||||
label: 'discord.gg/94qmjEDxkp',
|
||||
href: 'https://discord.gg/94qmjEDxkp',
|
||||
color: '#5865f2',
|
||||
},
|
||||
{
|
||||
tag: 'CF',
|
||||
label: 'curseforge.com/minecraft/mc-mods/customnpc-plus',
|
||||
href: 'https://www.curseforge.com/minecraft/mc-mods/customnpc-plus',
|
||||
color: '#f16436',
|
||||
},
|
||||
{
|
||||
tag: 'MR',
|
||||
label: 'modrinth.com/mod/customnpc-plus',
|
||||
href: 'https://modrinth.com/mod/customnpc-plus/',
|
||||
color: '#1bd96a',
|
||||
},
|
||||
]
|
||||
|
||||
// GitHub usernames — profiles are fetched at runtime
|
||||
export const AUTHORS = ['kamkeel', 'c0508383', 'bigguy345', 'somehussar']
|
||||
@@ -1,50 +0,0 @@
|
||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
|
||||
:root {
|
||||
--bg: #080b0f;
|
||||
--bg2: #0d1117;
|
||||
--bg3: #131920;
|
||||
--border: #1e2936;
|
||||
--border2: #253040;
|
||||
--green: #39d353;
|
||||
--green-dim: #1a6b2a;
|
||||
--amber: #f0a030;
|
||||
--amber-dim: #7a4e10;
|
||||
--blue: #58a6ff;
|
||||
--blue-dim: #1a3a6b;
|
||||
--text: #cdd9e5;
|
||||
--text-dim: #636e7b;
|
||||
--text-mid: #8b949e;
|
||||
--red: #f85149;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* Scanlines */
|
||||
body::after {
|
||||
content: '';
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: repeating-linear-gradient(
|
||||
0deg,
|
||||
transparent,
|
||||
transparent 2px,
|
||||
rgba(0,0,0,0.025) 2px,
|
||||
rgba(0,0,0,0.025) 4px
|
||||
);
|
||||
pointer-events: none;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
a { color: inherit; text-decoration: none; }
|
||||
|
||||
::-webkit-scrollbar { width: 6px; }
|
||||
::-webkit-scrollbar-track { background: var(--bg2); }
|
||||
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
|
||||
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }
|
||||
@@ -1,13 +0,0 @@
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom/client'
|
||||
import App from './App'
|
||||
import { PROJECT_NAME } from './config'
|
||||
import './index.css'
|
||||
|
||||
document.title = `${PROJECT_NAME} — Javadoc Index`
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root')).render(
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>
|
||||
)
|
||||
@@ -1,94 +0,0 @@
|
||||
import { useState, useEffect } from 'react'
|
||||
import { REPO_OWNER, REPO_NAME } from './config'
|
||||
|
||||
const BASE_PATH = `/${REPO_NAME}`
|
||||
const API_BASE = `https://api.github.com/repos/${REPO_OWNER}/${REPO_NAME}`
|
||||
|
||||
// Cache bust on every page load — appends current timestamp to manifest URL
|
||||
// so the browser never serves a stale manifest.json
|
||||
async function fetchFromManifest() {
|
||||
const bust = `?t=${Date.now()}`
|
||||
const res = await fetch(`${BASE_PATH}/manifest.json${bust}`, {
|
||||
cache: 'no-store', // tells browser not to cache this request at all
|
||||
})
|
||||
if (!res.ok) throw new Error('No manifest')
|
||||
return res.json()
|
||||
}
|
||||
|
||||
async function fetchFromGitHubAPI() {
|
||||
const refRes = await fetch(`${API_BASE}/git/ref/heads/gh-pages`)
|
||||
if (!refRes.ok) throw new Error('gh-pages branch not found')
|
||||
const refData = await refRes.json()
|
||||
const sha = refData.object.sha
|
||||
|
||||
const treeRes = await fetch(`${API_BASE}/git/trees/${sha}?recursive=1`)
|
||||
if (!treeRes.ok) throw new Error('Could not fetch tree')
|
||||
const treeData = await treeRes.json()
|
||||
|
||||
const commitsRes = await fetch(`${API_BASE}/commits?sha=gh-pages&per_page=100`)
|
||||
const commits = commitsRes.ok ? await commitsRes.json() : []
|
||||
|
||||
const commitMap = {}
|
||||
commits.forEach(c => {
|
||||
const date = c.commit?.committer?.date || c.commit?.author?.date || ''
|
||||
const hash = c.sha?.slice(0, 7) || ''
|
||||
const msg = c.commit?.message || ''
|
||||
const vMatch = msg.match(/releases\/([\d.]+)/)
|
||||
if (vMatch) commitMap[`releases/${vMatch[1]}`] = { date, hash }
|
||||
const eMatch = msg.match(/experimental\/([\w-]+)/)
|
||||
if (eMatch) commitMap[`experimental/${eMatch[1]}`] = { date, hash }
|
||||
})
|
||||
|
||||
const releaseDirs = new Set()
|
||||
const experimentalDirs = new Set()
|
||||
|
||||
treeData.tree.forEach(item => {
|
||||
if (item.type !== 'tree') return
|
||||
const parts = item.path.split('/')
|
||||
if (parts[0] === 'releases' && parts.length === 2) releaseDirs.add(parts[1])
|
||||
if (parts[0] === 'experimental' && parts.length === 2) experimentalDirs.add(parts[1])
|
||||
})
|
||||
|
||||
// Sort releases newest first, mark first as latest
|
||||
const sortedReleases = [...releaseDirs]
|
||||
.sort((a, b) => b.localeCompare(a, undefined, { numeric: true }))
|
||||
|
||||
const releases = sortedReleases.map((v, i) => {
|
||||
const c = commitMap[`releases/${v}`] || {}
|
||||
return {
|
||||
id: v,
|
||||
version: v,
|
||||
path: `releases/${v}`,
|
||||
date: c.date,
|
||||
hash: c.hash,
|
||||
isLatest: i === 0, // newest version is always latest
|
||||
}
|
||||
})
|
||||
|
||||
const experimental = [...experimentalDirs].sort().map(b => {
|
||||
const c = commitMap[`experimental/${b}`] || {}
|
||||
return { id: b, branch: b, path: `experimental/${b}`, date: c.date, hash: c.hash }
|
||||
})
|
||||
|
||||
return { releases, experimental, source: 'api' }
|
||||
}
|
||||
|
||||
export function useDocs() {
|
||||
const [data, setData] = useState(null)
|
||||
const [loading, setLoading] = useState(true)
|
||||
const [error, setError] = useState(null)
|
||||
|
||||
useEffect(() => {
|
||||
fetchFromManifest()
|
||||
.then(d => { setData(d); setLoading(false) })
|
||||
.catch(() =>
|
||||
fetchFromGitHubAPI()
|
||||
.then(d => { setData(d); setLoading(false) })
|
||||
.catch(e => { setError(e.message); setLoading(false) })
|
||||
)
|
||||
}, [])
|
||||
|
||||
return { data, loading, error }
|
||||
}
|
||||
|
||||
export { BASE_PATH, REPO_OWNER, REPO_NAME }
|
||||
@@ -1,12 +0,0 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { REPO_NAME } from './src/config.js'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
base: `/${REPO_NAME}/`,
|
||||
build: {
|
||||
outDir: '../../.github/pages-dist',
|
||||
emptyOutDir: true,
|
||||
}
|
||||
})
|
||||
@@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
# -----------------------------------------------
|
||||
# doc-config.sh — shared config for javadoc deploy
|
||||
#
|
||||
# Sourced by:
|
||||
# - resolve-doc-path.sh
|
||||
# - javadoc.yml (via sanity-check job)
|
||||
#
|
||||
# ADD WHITELISTED BRANCHES HERE AND NOWHERE ELSE.
|
||||
# main is always handled automatically.
|
||||
# -----------------------------------------------
|
||||
|
||||
MAIN_BRANCH_NAME="master"
|
||||
|
||||
EXPERIMENTAL_WHITELIST=(
|
||||
"dev"
|
||||
# "new-branch"
|
||||
)
|
||||
@@ -1,107 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
RELEASES=()
|
||||
EXPERIMENTAL=()
|
||||
|
||||
# Collect releases
|
||||
if [ -d "./releases" ]; then
|
||||
for dir in ./releases/*/; do
|
||||
[ -d "$dir" ] || continue
|
||||
name=$(basename "$dir")
|
||||
RELEASES+=("$name")
|
||||
done
|
||||
fi
|
||||
|
||||
# Collect experimental branches
|
||||
if [ -d "./experimental" ]; then
|
||||
for dir in ./experimental/*/; do
|
||||
[ -d "$dir" ] || continue
|
||||
name=$(basename "$dir")
|
||||
EXPERIMENTAL+=("$name")
|
||||
done
|
||||
fi
|
||||
|
||||
# Sort releases in reverse semver order (newest first)
|
||||
if [ ${#RELEASES[@]} -gt 0 ]; then
|
||||
IFS=$'\n' RELEASES=($(sort -rV <<< "${RELEASES[*]}")); unset IFS
|
||||
fi
|
||||
|
||||
# ── Store source commit metadata for this deploy ───────────────
|
||||
# DEPLOY_PATH, SOURCE_HASH, SOURCE_DATE are passed in as env vars from the workflow
|
||||
if [ -n "$DEPLOY_PATH" ] && [ -n "$SOURCE_HASH" ]; then
|
||||
mkdir -p ".doc-meta"
|
||||
META_KEY="${DEPLOY_PATH//\//_}"
|
||||
cat > ".doc-meta/${META_KEY}.json" << JSON
|
||||
{"hash":"${SOURCE_HASH}","date":"${SOURCE_DATE}"}
|
||||
JSON
|
||||
echo "Stored source metadata for $DEPLOY_PATH → $SOURCE_HASH @ $SOURCE_DATE"
|
||||
fi
|
||||
|
||||
# ── Helper: get source commit hash + date for a path ──────────
|
||||
get_commit_info() {
|
||||
local path="$1"
|
||||
|
||||
# If this is the path we just deployed, use the injected source commit
|
||||
if [ "$path" = "$DEPLOY_PATH" ] && [ -n "$SOURCE_HASH" ]; then
|
||||
echo "${SOURCE_HASH} ${SOURCE_DATE}"
|
||||
return
|
||||
fi
|
||||
|
||||
# Try reading from stored metadata file (set by previous deploys)
|
||||
local meta=".doc-meta/${path//\//_}.json"
|
||||
if [ -f "$meta" ]; then
|
||||
local hash date
|
||||
hash=$(python3 -c "import json,sys; d=json.load(open('$meta')); print(d.get('hash',''))" 2>/dev/null || grep -o '"hash":"[^"]*"' "$meta" | cut -d'"' -f4)
|
||||
date=$(python3 -c "import json,sys; d=json.load(open('$meta')); print(d.get('date',''))" 2>/dev/null || grep -o '"date":"[^"]*"' "$meta" | cut -d'"' -f4)
|
||||
echo "${hash:-} ${date:-}"
|
||||
return
|
||||
fi
|
||||
|
||||
# Last resort: gh-pages git log (hash will be wrong but better than empty)
|
||||
local hash date
|
||||
hash=$(git log --oneline -1 -- "$path" 2>/dev/null | awk '{print $1}')
|
||||
date=$(git log --format="%cI" -1 -- "$path" 2>/dev/null)
|
||||
echo "${hash:-} ${date:-}"
|
||||
}
|
||||
|
||||
# ── Build releases JSON ────────────────────────────────────────
|
||||
RELEASES_JSON="["
|
||||
|
||||
for i in "${!RELEASES[@]}"; do
|
||||
version="${RELEASES[$i]}"
|
||||
read -r HASH DATE <<< "$(get_commit_info "releases/$version")"
|
||||
if [ "$i" -eq 0 ]; then
|
||||
IS_LATEST="true"
|
||||
else
|
||||
IS_LATEST="false"
|
||||
fi
|
||||
RELEASES_JSON+="{\"id\":\"${version}\",\"version\":\"${version}\",\"path\":\"releases/${version}\",\"date\":\"${DATE}\",\"isLatest\":${IS_LATEST}},"
|
||||
done
|
||||
|
||||
RELEASES_JSON="${RELEASES_JSON%,}]"
|
||||
|
||||
# ── Build experimental JSON ────────────────────────────────────
|
||||
EXPERIMENTAL_JSON="["
|
||||
|
||||
for branch in "${EXPERIMENTAL[@]}"; do
|
||||
read -r HASH DATE <<< "$(get_commit_info "experimental/$branch")"
|
||||
EXPERIMENTAL_JSON+="{\"id\":\"${branch}\",\"branch\":\"${branch}\",\"path\":\"experimental/${branch}\",\"hash\":\"${HASH}\",\"date\":\"${DATE}\"},"
|
||||
done
|
||||
|
||||
EXPERIMENTAL_JSON="${EXPERIMENTAL_JSON%,}]"
|
||||
|
||||
# ── Write manifest.json ────────────────────────────────────────
|
||||
cat > manifest.json << JSON
|
||||
{
|
||||
"releases": ${RELEASES_JSON},
|
||||
"experimental": ${EXPERIMENTAL_JSON},
|
||||
"generated": "$(date -u '+%Y-%m-%dT%H:%M:%SZ')",
|
||||
"source": "manifest"
|
||||
}
|
||||
JSON
|
||||
|
||||
echo "manifest.json generated:"
|
||||
cat manifest.json
|
||||
echo ""
|
||||
echo "Done."
|
||||
@@ -1,52 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
source "$SCRIPT_DIR/doc-config.sh"
|
||||
|
||||
BRANCH="${GITHUB_REF#refs/heads/}"
|
||||
SAFE_BRANCH="${BRANCH//\//-}"
|
||||
|
||||
if [ "$BRANCH" = "$MAIN_BRANCH_NAME" ]; then
|
||||
# Version resolution order:
|
||||
# -> check if gradle.properties has a `modVersion` tag. If it does, just grab it.
|
||||
# -> check if it has the `version` tag. Grab it if it does
|
||||
# -> check build.gradle for the version tag.
|
||||
if [ -f "gradle.properties" ] && grep -q "^modVersion=" gradle.properties; then
|
||||
VERSION=$(grep "^modVersion=" gradle.properties | cut -d'=' -f2 | tr -d '[:space:]')
|
||||
elif [ -f "gradle.properties" ] && grep -q "^version=" gradle.properties; then
|
||||
VERSION=$(grep "^version=" gradle.properties | cut -d'=' -f2 | tr -d '[:space:]')
|
||||
elif [ -f "build.gradle" ]; then
|
||||
VERSION=$(grep "^version" build.gradle | head -1 | sed "s/version\s*=\s*['\"]//;s/['\"].*//;s/\s//g")
|
||||
elif [ -f "build.gradle.kts" ]; then
|
||||
VERSION=$(grep "^version" build.gradle.kts | head -1 | sed "s/version\s*=\s*\"//;s/\".*//;s/\s//g")
|
||||
else
|
||||
echo "Could not find version. Defaulting to 'unknown'."
|
||||
VERSION="unknown"
|
||||
fi
|
||||
|
||||
echo "Resolved version: $VERSION"
|
||||
|
||||
# Only deploy to releases/<version> — isLatest is handled by generate-index.sh
|
||||
echo "path=releases/$VERSION" >> $GITHUB_OUTPUT
|
||||
echo "extra_path=" >> $GITHUB_OUTPUT
|
||||
|
||||
else
|
||||
MATCHED=false
|
||||
for ALLOWED in "${EXPERIMENTAL_WHITELIST[@]}"; do
|
||||
if [ "$BRANCH" = "$ALLOWED" ]; then
|
||||
MATCHED=true
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$MATCHED" = true ]; then
|
||||
echo "path=experimental/$SAFE_BRANCH" >> $GITHUB_OUTPUT
|
||||
echo "extra_path=" >> $GITHUB_OUTPUT
|
||||
echo "Branch '$BRANCH' is whitelisted, deploying to experimental/$SAFE_BRANCH"
|
||||
else
|
||||
echo "path=" >> $GITHUB_OUTPUT
|
||||
echo "extra_path=" >> $GITHUB_OUTPUT
|
||||
echo "Branch '$BRANCH' is not whitelisted. Skipping deploy."
|
||||
fi
|
||||
fi
|
||||
@@ -1,146 +0,0 @@
|
||||
name: Build and test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master, main ]
|
||||
push:
|
||||
branches: [ master, main ]
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
runs-on: ubuntu-24.04
|
||||
env:
|
||||
WORKSPACE_TASK: ${{ vars.WORKSPACE_TASK || 'setupCIWorkspace' }}
|
||||
RUN_SERVER_TIMEOUT: ${{ vars.RUN_SERVER_TIMEOUT || 90 }}
|
||||
RUN_SERVER_ENABLED: ${{ vars.RUN_SERVER_ENABLED || 'true' }}
|
||||
steps:
|
||||
- name: Install Ubuntu dependencies
|
||||
run: |
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y mesa-utils xvfb x11-xserver-utils
|
||||
|
||||
- name: Checkout mod repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Initialize submodules
|
||||
run: git submodule update --init --recursive
|
||||
|
||||
- name: Checkout workflows repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: GTNewHorizons/GTNH-Actions-Workflows
|
||||
path: .gtnh-workflows
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK versions
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: |
|
||||
8
|
||||
17
|
||||
21
|
||||
distribution: 'zulu'
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
with:
|
||||
build-scan-publish: true
|
||||
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
|
||||
build-scan-terms-of-use-agree: "yes"
|
||||
validate-wrappers: true
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Setup the workspace
|
||||
run: ./gradlew --build-cache --info --stacktrace "${WORKSPACE_TASK}"
|
||||
|
||||
- name: Compile the mod
|
||||
run: ./gradlew --build-cache --info --stacktrace assemble
|
||||
|
||||
- name: Attach compilation artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ github.repository_id }}-build-libs
|
||||
path: build/libs/
|
||||
retention-days: 90
|
||||
|
||||
- name: Run post-build checks
|
||||
id: build_mod
|
||||
run: xvfb-run --server-args="-screen 0 1366x768x24" ./gradlew --build-cache --info --stacktrace build
|
||||
|
||||
- name: Attach gradle reports
|
||||
if: failure() && steps.build_mod.conclusion == 'failure'
|
||||
uses: actions/upload-artifact@v4
|
||||
continue-on-error: true
|
||||
with:
|
||||
name: ${{ github.repository_id }}-reports
|
||||
path: build/reports/
|
||||
retention-days: 31
|
||||
|
||||
- name: Attempt to make a PR fixing spotless errors
|
||||
if: >-
|
||||
${{ failure() && steps.build_mod.conclusion == 'failure'
|
||||
&& github.event_name == 'pull_request'
|
||||
&& !github.event.pull_request.draft
|
||||
&& github.event.pull_request.head.repo.full_name == github.repository }}
|
||||
run: |
|
||||
git reset --hard
|
||||
git checkout "${PR_BRANCH}"
|
||||
./gradlew --build-cache --info --stacktrace spotlessApply || exit 1
|
||||
git diff --exit-code && exit 1
|
||||
git config user.name "GitHub GTNH Actions"
|
||||
git config user.email "<>"
|
||||
git switch -c "${FIXED_BRANCH}"
|
||||
git commit -am "spotlessApply"
|
||||
git push --force-with-lease origin "${FIXED_BRANCH}"
|
||||
gh pr create \
|
||||
--head "${FIXED_BRANCH}" \
|
||||
--base "${PR_BRANCH}" \
|
||||
--title "Spotless apply for branch ${PR_BRANCH} for #${{ github.event.pull_request.number }}" \
|
||||
--body "Automatic spotless apply to fix formatting errors, applies to PR #${{ github.event.pull_request.number }}" \
|
||||
2>&1 | tee pr-message.log || true
|
||||
gh pr comment "${PR_BRANCH}" -F pr-message.log || true
|
||||
shell: bash
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
PR_BRANCH: ${{ github.head_ref }}
|
||||
FIXED_BRANCH: ${{ github.head_ref }}-spotless-fixes
|
||||
|
||||
- name: Run server for up to ${{ env.RUN_SERVER_TIMEOUT }} seconds
|
||||
if: ${{ env.RUN_SERVER_ENABLED == 'true' }}
|
||||
run: |
|
||||
mkdir -p run
|
||||
echo "eula=true" > run/eula.txt
|
||||
echo "level-seed=-6202107849386030209\nonline-mode=true\n" > run/server.properties
|
||||
echo "stop" > run/stop.txt
|
||||
timeout "${RUN_SERVER_TIMEOUT}" ./gradlew --build-cache --info --stacktrace runServer 2>&1 < run/stop.txt | tee -a server.log || true
|
||||
|
||||
- name: Test no errors reported during server run
|
||||
if: ${{ env.RUN_SERVER_ENABLED == 'true' }}
|
||||
run: |
|
||||
chmod +x .gtnh-workflows/scripts/test_no_error_reports
|
||||
.gtnh-workflows/scripts/test_no_error_reports
|
||||
|
||||
- name: Test no prerelease dependencies used
|
||||
run: |
|
||||
! grep -P -- "-pre(?!shadow)" dependencies.gradle*
|
||||
|
||||
- name: Make sure asset files are not overoptimized
|
||||
run: |
|
||||
echo "Checking for grayscale asset files which are not supported by the java8 image loader"
|
||||
fail=0
|
||||
set -o pipefail
|
||||
while IFS= read -r -d $'\n' file; do
|
||||
if $(file --brief -- "$file" | grep -q grayscale); then
|
||||
printf "found grayscale image '%s'\n" "$file"
|
||||
fail=1
|
||||
fi
|
||||
done < <(gh pr diff --name-only "${PR_NUMBER}" | grep 'src/main/resources/.*\\.png$')
|
||||
|
||||
exit $fail
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
PR_NUMBER: ${{ github.event.number }}
|
||||
@@ -1,27 +0,0 @@
|
||||
name: Java CI with Gradle
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Update Git Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew SetupCIWorkspace build
|
||||
- name: Build with Gradle (nomixin)
|
||||
run: ./gradlew build -Pnomixin
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Package
|
||||
path: build/libs
|
||||
@@ -1,224 +0,0 @@
|
||||
name: Generate and Deploy Javadoc
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- '**'
|
||||
delete:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
force_deploy:
|
||||
description: 'Force redeploy Javadocs without a new commit'
|
||||
required: false
|
||||
default: 'true'
|
||||
|
||||
jobs:
|
||||
sanity-check:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
should_deploy: ${{ steps.deploy_check.outputs.should_deploy }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Check for deploy tag
|
||||
id: deploy_check
|
||||
run: |
|
||||
source .github/scripts/doc-config.sh
|
||||
|
||||
BRANCH="${GITHUB_REF#refs/heads/}"
|
||||
|
||||
# Always deploy on manual trigger
|
||||
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
||||
echo "should_deploy=true" >> $GITHUB_OUTPUT
|
||||
echo "Reason: workflow_dispatch"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Main branch: only deploy if commit message contains [deploy-docs]
|
||||
if [ "$BRANCH" = "$MAIN_BRANCH_NAME" ]; then
|
||||
if echo "${{ github.event.head_commit.message }}" | grep -q "\[deploy-docs\]"; then
|
||||
echo "should_deploy=true" >> $GITHUB_OUTPUT
|
||||
echo "Reason: master branch with [deploy-docs] tag"
|
||||
else
|
||||
echo "should_deploy=false" >> $GITHUB_OUTPUT
|
||||
echo "Reason: master branch without [deploy-docs] tag, skipping"
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Experimental branches: only deploy if whitelisted
|
||||
for ALLOWED in "${EXPERIMENTAL_WHITELIST[@]}"; do
|
||||
if [ "$BRANCH" = "$ALLOWED" ]; then
|
||||
echo "should_deploy=true" >> $GITHUB_OUTPUT
|
||||
echo "Reason: branch '$BRANCH' is whitelisted"
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
|
||||
echo "should_deploy=false" >> $GITHUB_OUTPUT
|
||||
echo "Reason: branch '$BRANCH' is not whitelisted, skipping"
|
||||
|
||||
build-and-deploy-javadoc:
|
||||
needs: sanity-check
|
||||
if: needs.sanity-check.outputs.should_deploy == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout source branch
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Initialize submodules
|
||||
run: git submodule update --init --recursive
|
||||
|
||||
- name: Setup JDK 8 (compile)
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '8'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Set up JDK 8 (Zulu)
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '8'
|
||||
distribution: 'zulu'
|
||||
- name: Setup JDK 11 (javadoc)
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: Extract convention plugin version
|
||||
id: convention
|
||||
run: |
|
||||
VERSION=$(grep "id 'com.gtnewhorizons.gtnhsettingsconvention'" settings.gradle settings.gradle.kts 2>/dev/null | grep -o "version '[0-9]\+\.[0-9]\+\.[0-9]\+'" | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+')
|
||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||
echo "Detected convention version: $VERSION"
|
||||
|
||||
- name: Get source commit info
|
||||
id: source_commit
|
||||
run: |
|
||||
echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
||||
echo "date=$(git log -1 --format='%cI')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache Gradle wrapper
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.gradle/wrapper
|
||||
key: gradle-wrapper-${{ hashFiles('**/gradle-wrapper.properties') }}
|
||||
|
||||
- name: Cache Gradle dependencies
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/caches/modules-*
|
||||
~/.gradle/caches/jars-*
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/gradle.properties') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- name: Cache RFG
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
build/rfg
|
||||
build/tmp/.cache/expanded
|
||||
build/tmp/deobfuscateMergedJarToSrg
|
||||
key: ${{ runner.os }}-rfg-convention${{ steps.convention.outputs.version }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-rfg-
|
||||
|
||||
- name: Cache Node modules
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: .github/pages/node_modules
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('.github/pages/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
|
||||
- name: Generate Javadoc
|
||||
run: ./gradlew javadoc
|
||||
|
||||
- name: Get deploy path
|
||||
id: deploy_path
|
||||
run: bash .github/scripts/resolve-doc-path.sh
|
||||
|
||||
- name: Deploy to gh-pages
|
||||
if: steps.deploy_path.outputs.path != ''
|
||||
uses: peaceiris/actions-gh-pages@v4
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./build/docs/javadoc
|
||||
destination_dir: ${{ steps.deploy_path.outputs.path }}
|
||||
keep_files: true
|
||||
|
||||
# Give GitHub a moment to settle after the peaceiris push
|
||||
- name: Wait for gh-pages to settle
|
||||
run: sleep 10
|
||||
|
||||
- name: Checkout gh-pages
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: gh-pages
|
||||
path: gh-pages-index
|
||||
|
||||
- name: Generate manifest
|
||||
run: |
|
||||
cd gh-pages-index
|
||||
SOURCE_HASH="${{ steps.source_commit.outputs.hash }}" \
|
||||
SOURCE_DATE="${{ steps.source_commit.outputs.date }}" \
|
||||
DEPLOY_PATH="${{ steps.deploy_path.outputs.path }}" \
|
||||
bash ../.github/scripts/generate-index.sh
|
||||
|
||||
- name: Install page dependencies
|
||||
run: npm ci --prefix .github/pages
|
||||
|
||||
- name: Build index page
|
||||
run: |
|
||||
mkdir -p .github/pages/public
|
||||
cp gh-pages-index/manifest.json .github/pages/public/manifest.json
|
||||
npm run build --prefix .github/pages
|
||||
|
||||
- name: Deploy index to gh-pages
|
||||
run: |
|
||||
cp -r .github/pages-dist/* gh-pages-index/
|
||||
cd gh-pages-index
|
||||
git config user.name "github-actions"
|
||||
git config user.email "[email protected]"
|
||||
git add -A
|
||||
git commit -m "Regenerate index and manifest [skip ci]" || echo "Unchanged"
|
||||
git push
|
||||
|
||||
cleanup-on-delete:
|
||||
if: github.event_name == 'delete' && github.event.ref_type == 'branch'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout gh-pages
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: 'gh-pages'
|
||||
|
||||
- name: Remove deleted branch docs
|
||||
run: |
|
||||
BRANCH="${{ github.event.ref }}"
|
||||
SAFE="experimental/${BRANCH//\//-}"
|
||||
if [ -d "./$SAFE" ]; then
|
||||
rm -rf "./$SAFE"
|
||||
META_KEY="${SAFE//\//_}"
|
||||
rm -f ".doc-meta/${META_KEY}.json"
|
||||
git config user.name "github-actions"
|
||||
git config user.email "[email protected]"
|
||||
git add -A
|
||||
git commit -m "Remove docs for deleted branch: $BRANCH"
|
||||
git push
|
||||
else
|
||||
echo "No docs found for $SAFE, skipping."
|
||||
fi
|
||||
@@ -1,14 +0,0 @@
|
||||
|
||||
name: Release tagged build
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: [ '*' ]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
release-tags:
|
||||
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/release-tags.yml@master
|
||||
secrets: inherit
|
||||
-50
@@ -1,50 +0,0 @@
|
||||
.gradle
|
||||
.settings
|
||||
/.idea/
|
||||
/.vscode/
|
||||
/run/
|
||||
/out/
|
||||
/build/
|
||||
/eclipse/
|
||||
.classpath
|
||||
.project
|
||||
/bin/
|
||||
/config/
|
||||
/copilot/
|
||||
/buildSrc/build/
|
||||
/crash-reports/
|
||||
/logs/
|
||||
options.txt
|
||||
/saves/
|
||||
usernamecache.json
|
||||
banned-ips.json
|
||||
banned-players.json
|
||||
eula.txt
|
||||
ops.json
|
||||
server.properties
|
||||
servers.dat
|
||||
usercache.json
|
||||
whitelist.json
|
||||
/out/
|
||||
*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
src/main/resources/mixins.*([!.]).json
|
||||
*.bat
|
||||
*.DS_Store
|
||||
!gradlew.bat
|
||||
.factorypath
|
||||
addon.local.gradle
|
||||
addon.local.gradle.kts
|
||||
addon.late.local.gradle
|
||||
addon.late.local.gradle.kts
|
||||
layout.json
|
||||
out
|
||||
run
|
||||
src/main/resources/assets/customnpcs/api
|
||||
df/
|
||||
tmp/
|
||||
src/test
|
||||
node_modules
|
||||
.github/pages-dist
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
[submodule "src/api"]
|
||||
path = src/api
|
||||
url = https://github.com/KAMKEEL/CustomNPC-Plus-API.git
|
||||
branch = dev
|
||||
[submodule "gradle-plugins"]
|
||||
path = gradle-plugins
|
||||
url = https://github.com/bigguy345/dts-gradle-plugin
|
||||
File renamed without changes.
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<title>Redirecting...</title>
|
||||
<script>
|
||||
var base = '/CustomNPC-Plus/';
|
||||
var path = window.location.pathname;
|
||||
var relative = path.replace(base, '');
|
||||
|
||||
async function redirect() {
|
||||
if (relative.startsWith('releases/') || relative.startsWith('experimental/')) {
|
||||
window.location.replace(base);
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
var res = await fetch(base + 'manifest.json?t=' + Date.now(), { cache: 'no-store' });
|
||||
var manifest = await res.json();
|
||||
var latest = manifest.releases.find(r => r.isLatest);
|
||||
if (latest) {
|
||||
window.location.replace(base + latest.path + '/' + relative);
|
||||
return;
|
||||
}
|
||||
} catch (e) {}
|
||||
|
||||
window.location.replace(base);
|
||||
}
|
||||
|
||||
redirect();
|
||||
</script>
|
||||
<style>
|
||||
body { background: #0c0c0e; color: #e8e8ee; font-family: monospace; display: flex; align-items: center; justify-content: center; height: 100vh; margin: 0; flex-direction: column; gap: 16px; }
|
||||
a { color: #c8f060; }
|
||||
p { color: #9090a0; font-size: 13px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>404</h1>
|
||||
<p>This page doesn't exist or has been moved.</p>
|
||||
<p>Redirecting you shortly — if nothing happens, <a href="/CustomNPC-Plus/">click here</a>.</p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,98 +0,0 @@
|
||||
# CustomNPC+ 1.11 Changelog
|
||||
|
||||
## Ability System
|
||||
- Phase-based abilities (Wind-up, Active, Dazed) with configurable cooldowns, targeting, range, interrupts, invulnerability, and magic damage
|
||||
- **Melee:** Slam, Heavy Hit, Cutter
|
||||
- **Energy Projectiles:** Orb, Disc, Beam, Laser Shot with variant system, homing, hit types (Single/Pierce/Multi), size interpolation, explosions
|
||||
- **Barriers:** Dome, Wall, Shield with HP, reflection, damage absorption
|
||||
- **Defensive:** Guard, Counter, Dodge
|
||||
- **Movement:** Charge, Dash, Teleport
|
||||
- **AOE:** Shockwave, Sweeper, Vortex
|
||||
- **Hazards & Traps:** Persistent zones and proximity triggers with visual presets
|
||||
- **Effect:** Healing, buffs, debuffs with target filtering (Allies/Enemies/All)
|
||||
- **Custom Ability:** Blank-slate type with full script hooks and toggle modes
|
||||
- Burst system, chained ability combos with concurrency, telegraph system (6 shapes)
|
||||
- Per-phase animations and sound events
|
||||
- Ability conditions: HP Threshold, Hit Count, Has Item, Quest Completed, Has Effect
|
||||
- 12-slot player ability hotbar with HUD editor
|
||||
- Full scripting API for ability and energy projectile lifecycle events
|
||||
- Ability Extender system for custom hooks
|
||||
- Live preview in editor
|
||||
- Commands: `/kam ability list|types|prebuilts|info|delete|reload|give|remove|giveChain|removeChain|player`
|
||||
|
||||
## Auction House
|
||||
- Global marketplace with bidding, buyout, and snipe protection
|
||||
- Built-in currency system (configurable, profile-persistent, Vault support)
|
||||
- Listing fees, sales tax, minimum prices
|
||||
- My Trades panel with claim management (20-day expiry)
|
||||
- Search/sort, notifications (online + offline summary)
|
||||
- Trade slots (default 8, expandable via permissions)
|
||||
- Item blacklist (by item, wildcard, mod, NBT; soulbound always blocked)
|
||||
- Auctioneer NPC role
|
||||
- Admin GUI and logging
|
||||
- Cancelable scripting events: Create, Bid, Buyout, Cancel, Claim
|
||||
|
||||
## Script Editor
|
||||
- Full code editor with syntax highlighting, autocomplete, error detection, and hover tooltips
|
||||
- Go to Line, Search/Replace, Go to Definition, Fullscreen
|
||||
- Undo/Redo, Duplicate Line, Comment Toggle, Rename, Move Lines
|
||||
- Line numbers, smooth scrolling, indent guides, brace matching, smart brackets
|
||||
|
||||
## Java Scripting
|
||||
- Write scripts in Java via Janino compiler with automatic hook resolution
|
||||
- Per-tab language selector (mix Java and JavaScript)
|
||||
- External `.java` file support
|
||||
|
||||
## Client-Side Scripting
|
||||
- Server-controlled client script execution with auto-sync (off by default)
|
||||
|
||||
## Addon API Support
|
||||
- Ship `.d.ts` type definitions for automatic script editor autocomplete
|
||||
- Patch support for extending CNPC+ types, hot reload
|
||||
|
||||
## Traders
|
||||
- Stock system: Global or Per-Player modes with configurable restock timers
|
||||
- Currency trades (items + coins)
|
||||
- Client-side balance preview
|
||||
|
||||
## Cloner
|
||||
- Folder and subfolder organization for all categories
|
||||
- Full-width directory browser, improved tabs, tag-based filtering
|
||||
|
||||
## Animations
|
||||
- Data store for passing data across events/frames
|
||||
- Consumer-based task system
|
||||
- Expanded scripting API
|
||||
|
||||
## Animated Textures
|
||||
- Frame-based animation for items, effect icons, ability hotbar, scripted GUIs
|
||||
|
||||
## NPC API
|
||||
- `IHitboxData` (width/height scaling), `ITintData` (hurt tint, persistent tints)
|
||||
- Scriptable behavior: sprint, swim, doors, fire reactions, tactical chance, walking range
|
||||
- `ISound` (volume, pitch, repeat, position)
|
||||
- Skin overlay `getColor()`/`setColor()`, knockback API
|
||||
- Six overlays in singleplayer, script error reporting to console
|
||||
|
||||
## NPC Combat & Behavior
|
||||
- Attack speed enforcement, passive faction protection
|
||||
- Improved track speed, invalid texture fallback
|
||||
|
||||
## Other Changes
|
||||
- Player Dialog Events match NPC Dialog Events
|
||||
- Linked Item attack speed and scripting API
|
||||
- Right-click cycling on multi-option buttons
|
||||
- Legacy quest import (1.6.4), fullscreen/pannable GUIs, unified menu background
|
||||
- Textfield CTRL shortcuts, `java.lang.reflect` banned in scripts
|
||||
- Entity packet loss fix (invisible NPCs)
|
||||
- Natural spawn GUI, runtime control, and despawn improvements
|
||||
|
||||
## Bug Fixes
|
||||
- Script config sync, Bukkit integration
|
||||
- Quest cooldown for MC/RL Custom timers, quest/dialog saving and categories
|
||||
- Bard music restart on dialog open
|
||||
- Spawner yaw, biome spawn persistence, NPC invisibility
|
||||
- Track speed, set speed edge cases, spawn data, block waypoints, job spawner
|
||||
- Hitbox scaling and collision
|
||||
- Animation offsets, lookup failures, syncing, resync on teleport, registration names, double loading
|
||||
- Mount movement jitter, dismount edge cases
|
||||
Binary file not shown.
@@ -1,54 +0,0 @@
|
||||
CustomNPC+ is distributed under a reasonably open license. You probably want to have a read through this if you want to do something with it other than just play.
|
||||
|
||||
You are completely free and have the right to Use, Share and Adapt the mod. These rights can not be removed from you as long as follow the license terms.
|
||||
If you simply wish to play with the mod and do nothing else, go for it, this license is of no use to you.
|
||||
|
||||
TL;DR
|
||||
> You CAN
|
||||
-- Fork and modify the code.
|
||||
-- Submit Pull Requests to this repository.
|
||||
-- Copy portions of this code for use in other projects.
|
||||
-- Write your own code that uses this code as a dependency. (addon mods!)
|
||||
|
||||
> You CANNOT
|
||||
-- Redistribute this in its entirety as source or compiled code.
|
||||
-- Create or distribute code which contains 50% or more Functionally Equivalent Statements* from this repository.
|
||||
|
||||
> You MUST
|
||||
-- Maintain a visible repository of your code which is inspired by, derived from, or copied from this code. Basically, if you use it, pay it forward. You keep rights to your OWN code, but you still must make your source visible.
|
||||
|
||||
General Clauses
|
||||
Clauses that apply in general to any of the uses that follow.
|
||||
- Personal Permission Clause
|
||||
I will only give personal permission if I, KAMKEEL, am directly asked. If personal permission is given this does not imply endorsement.
|
||||
- Waive Clause
|
||||
All restrictive clauses in this license can be ignored with personal permission. Read the above clause.
|
||||
- Extensive Clause
|
||||
This license applies to CustomNPC+, the CustomNPC+ website, the legacy CustomNPC+ website and all other code, assets or binaries found on this website or the github repository unless otherwise indicated.
|
||||
- Informal Clause
|
||||
This license will not hold up in court. I have no intention of suing anyone for breaking it, the worst that can happen to you if you do is that I'll get annoyed and ask you to rectify your mistake. If you use a public distribution platform (such as CurseForge) it's also possible your project will get taken down. Breaking the license also makes you a jerk, and you don't want to be a jerk, do you?
|
||||
|
||||
If you want to Distribute CustomNPC+
|
||||
"Distribution" refers to making available binaries, assets, or source of the mod available from the original sources as part of your modpack or otherwise.
|
||||
- Attribution Clause
|
||||
You must give appropriate credit to KAMKEEL as the creator of CustomNPC+ or the parts of it you're using. Noppes can also be credit as the original Mod Author. If you do any alterations the fact that you do so should also be indicated. A link back is optional but it would be cool if you would do so.
|
||||
- Redistribution Clause
|
||||
You may not redistribute the enitirity of the source code provided, unless heavy modifications are made to it as a whole. More than 50% of the code cannot be redistributed unless direct permission is provided from either KAMKEEL or Noppes.
|
||||
- Non-Monetary Clause
|
||||
You may not charge for access to the distribution itself or gain money through it, this includes any type of inline advertisement, such as url shorteners (adf.ly or otherwise) or ads in your service slowing the download down. This includes restricting any amount of access behind a paywall. Charging for ingame goods such as mod items or cosmetic features on a server does not count as distribution and falls purely under the Mojang Terms of Service.
|
||||
|
||||
If you want to Feature CustomNPC+
|
||||
"Featuring" refers to using CustomNPC+ in an environment where you do not distribute binaries, assets, or source. An example would be a YouTube Let's Play.
|
||||
- Thief Clause
|
||||
You must not claim that you made CustomNPC+. Giving appropriate credit to KAMKEEL as the creator of CustomNPC+ makes you cooler, but you don't have to do it if you don't want to.
|
||||
|
||||
If you want to Use CustomNPC+ Code or Assets
|
||||
Usage of code or assets falls under the Extensive Clause.
|
||||
- External Clause
|
||||
Certain parts of the codebase are indicated to be licensed under alternative licenses. You must obey those licenses.
|
||||
- Attribution Clause
|
||||
You must give appropriate credit to KAMKEEL as the creator of CustomNPC+ or the parts of it you're using. Noppes can also be credit as the original Mod Author. If you do any alterations the fact that you do so should also be indicated. A link back is optional but it would be cool if you would do so.
|
||||
- Copyleft Clause
|
||||
Your project must be open source (have its source visible and allow for redistribution and modification) and include a clause similar to this one in its license.
|
||||
- API Clause
|
||||
Any of the other clauses under this section do not apply to any CustomNPC+ API code (the subdirectory src/api or https://github.com/KAMKEEL/CustomNPC-Plus-API). However, if CustomNPC+ API code is used, it must be included verbatim as it was obtained.
|
||||
@@ -1,432 +0,0 @@
|
||||

|
||||
|
||||
# CustomNPC+
|
||||
|
||||
**CustomNPC+** is a Minecraft 1.7.10 Forge mod that lets you create fully customizable NPCs with advanced AI, combat abilities, quests, dialogs, scripting, an economy system, and much more. Built for creative and storytelling players who want to transform their worlds into living RPG experiences.
|
||||
|
||||
> CustomNPC+ is a branch version of the original [CustomNPC](https://www.curseforge.com/minecraft/mc-mods/custom-npcs) by [Noppes](https://github.com/Noppes), developed with permission. This is not an official version of CustomNPC.
|
||||
|
||||
---
|
||||
|
||||
<a href="https://discord.gg/pQqRTvFeJ5"> <img src="images/Discord.png" width="400" height="60"> </a>
|
||||
|
||||
[](https://modrinth.com/mod/customnpc-plus)
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/moreplayermodels-plus)
|
||||
[](https://github.com/KAMKEEL/Plugin-Mod)
|
||||
|
||||
---
|
||||
|
||||
## Installation
|
||||
|
||||
CustomNPC+ is a **replacement** for the original CustomNPC — not an add-on. Do not install both together. Simply drop CustomNPC+ into your client or server mods folder. All original CustomNPC features are preserved and expanded upon.
|
||||
|
||||
> Please **backup your world** before installing. Report any bugs on the [issue tracker](https://github.com/KAMKEEL/CustomNPC-Plus/issues).
|
||||
|
||||
### Downloads
|
||||
|
||||
- **Modrinth**: [Download](https://modrinth.com/mod/customnpc-plus)
|
||||
- **CurseForge**: [Download](https://www.curseforge.com/minecraft/mc-mods/customnpc-plus)
|
||||
|
||||
---
|
||||
|
||||
<a href="https://ko-fi.com/kamkeel"> <img src="images/Kofi.png" width="400" height="60"> </a>
|
||||
|
||||
> More betas with new features will continue to be released to supporters for **Early Access** to new content!
|
||||
|
||||
---
|
||||
|
||||
## Feature Overview
|
||||
|
||||
### NPC Creation & Customization
|
||||
|
||||
Create NPCs with deep visual customization and lifelike behavior.
|
||||
|
||||
<img src="images/NPCEditor.gif" width="474" height="260"/>
|
||||
|
||||
- **Skin System** - 1.8 skin support (64x64), Alex & Steve64 models, full URL64 selector that downloads full-size images for custom skins
|
||||
- **Body Parts** - Wings, fins, capes, horns, tails. Hide individual body parts (arms, legs, head, body)
|
||||
- **Skin Overlays** - Layer additional textures on top of the base skin with color tinting and alpha control
|
||||
- **Custom Models** - Support for custom model formats, plus Gecko and DBC addon model integration
|
||||
- **Hitbox Scaling** - Independently scale NPC hitbox width and height
|
||||
- **Tint System** - Control hurt flash color and apply persistent color tints
|
||||
|
||||
---
|
||||
|
||||
### NPC AI & Behavior
|
||||
|
||||
NPCs have a full AI system for combat, pathing, and interaction.
|
||||
|
||||
- **Flying NPCs** - Smart pathfinding in 3D space for flying entities
|
||||
- **Combat AI** - Multiple tactical behaviors: attack, ranged attack, ambush, pounce, dodge-shoot, zigzag, stalk, orbit, sprint-to-target, and leap attacks
|
||||
- **Movement Types** - Standing, wandering, and moving path modes
|
||||
- **Pathfinding** - Ground, flying, and water navigation
|
||||
- **Door Interaction** - NPCs can break, open, or ignore doors
|
||||
- **Behavior Controls** - Configurable sprinting, swimming, fire reactions, tactical chance, and walking range
|
||||
- **Attack Speed** - NPCs respect attack speed timing when dealing damage
|
||||
- **Faction Awareness** - NPCs respond to faction standings. Passive faction NPCs are protected from damage
|
||||
|
||||
<img src="images/FlyingNPC.gif" width="474" height="260"/>
|
||||
|
||||
---
|
||||
|
||||
### NPC Roles & Jobs
|
||||
|
||||
**Roles** give NPCs interactive functions — Trader, Follower, Bank, Transporter, Postman, Companion, Mount, and Auctioneer. **Jobs** give NPCs background tasks — Bard, Healer, Guard, Item Giver, Follower, Spawner, Conversation, and Chunk Loader.
|
||||
|
||||
---
|
||||
|
||||
### Dialog System
|
||||
|
||||
Create branching dialog trees for storytelling and player interaction.
|
||||
|
||||
<img src="images/Dialog.png" width="474" height="260"/>
|
||||
|
||||
- **Dialog Trees** - Multi-level branching conversations with unlimited depth
|
||||
- **Dialog Options** - Player choices that affect outcomes, trigger quests, or change faction standings
|
||||
- **Dialog Images** - Display images alongside dialog text
|
||||
- **Dialog Colors** - Customizable text and background colors
|
||||
- **Categories** - Organize dialogs into categories for large projects
|
||||
- **Availability Conditions** - Show or hide dialogs based on quests, factions, items, or custom conditions
|
||||
- **Script Hooks** - Full scripting support for dialog open, close, and option events
|
||||
|
||||
---
|
||||
|
||||
### Quest System
|
||||
|
||||
A complete quest framework for RPG progression.
|
||||
|
||||
<img src="images/QuestMarks.png" width="474" height="260"/>
|
||||
|
||||
- **Quest Types** - Item collection, dialog completion, kill targets, reach locations, area kills, and fully manual (script-driven) quests
|
||||
- **Quest Tracking** - On-screen HUD overlay showing active quest objectives
|
||||
- **Categories** - Organize quests into categories
|
||||
- **Rewards** - Configure item, XP, and currency rewards
|
||||
- **Cooldowns** - Repeatable quests with MC time, real-time, or custom cooldown intervals
|
||||
- **Party Quests** - Share quest objectives across party members with configurable sharing modes
|
||||
- **Availability** - Control quest visibility based on completed quests, faction standing, dialogs, and more
|
||||
- **Script Hooks** - Events for quest start, completion, turn-in, and custom quest objectives
|
||||
|
||||
---
|
||||
|
||||
### Ability System
|
||||
|
||||
A full combat ability system for both NPCs and players.
|
||||
|
||||
<img src="images/NPCAbilities.gif" width="474" height="260"/>
|
||||
<img src="images/PlayerAbilities.gif" width="474" height="260"/>
|
||||
|
||||
**Melee Abilities** - Slam, Heavy Hit, Cutter
|
||||
**Energy Projectiles** - Orbs, Discs, Beams, Laser Shots with full visual customization, homing, and hit types
|
||||
**Energy Barriers** - Domes, Walls, Shields with HP, reflection, and damage absorption
|
||||
**Defensive** - Guard, Counter, Dodge with configurable damage reduction and counter-attacks
|
||||
**Movement** - Charge, Dash, Teleport
|
||||
**AOE** - Shockwave, Sweeper, Vortex
|
||||
**Hazards & Traps** - Persistent damage zones and proximity-triggered traps with visual presets
|
||||
**Support** - Ability Effect for healing, buffs, and debuffs
|
||||
|
||||
**Key Features:**
|
||||
- Phase-based execution (Wind-up, Active, Dazed) with visual telegraphs
|
||||
- Burst system for rapid multi-fire
|
||||
- Chained abilities for sequential combos
|
||||
- Player ability hotbar (12 slots) with unlock system
|
||||
- Full scripting API for every lifecycle event
|
||||
- Live preview in the ability editor
|
||||
|
||||
---
|
||||
|
||||
### Auction House & Economy
|
||||
|
||||
A complete marketplace and economy system.
|
||||
|
||||
<img src="images/Auction.png" width="474" height="260"/>
|
||||
|
||||
- **Built-in Currency** - Configurable currency with starting balance, max cap, and Vault plugin integration
|
||||
- **Auction House** - Global player marketplace with bidding, buyout, snipe protection, and notifications
|
||||
- **Trade Slots** - Configurable per-player slot limits via permissions
|
||||
- **Item Blacklist** - Block items by name, wildcard, mod, or NBT tag from being listed
|
||||
- **Admin Tools** - Dedicated admin GUI for managing listings and creating server auctions
|
||||
- **Scripting API** - Cancelable events for creates, bids, buyouts, cancels, and claims
|
||||
|
||||
**Trader Enhancements:**
|
||||
- Limited stock with automatic restocking (MC time, real-time, or custom intervals)
|
||||
- Global or per-player stock modes
|
||||
- Currency costs on top of item trades
|
||||
- Client-side balance preview
|
||||
|
||||
---
|
||||
|
||||
### Script Editor
|
||||
|
||||
A full-featured code editor built right into Minecraft.
|
||||
|
||||
<img src="images/ScriptEditor.gif" width="474" height="260"/>
|
||||
|
||||
- **Syntax Highlighting** - Color-coded keywords, types, variables, methods, strings, and comments
|
||||
- **Autocomplete** - Smart suggestions with type awareness, static vs instance context, and auto-imports
|
||||
- **Error Detection** - Real-time underlining of wrong argument types, missing methods, type mismatches, and unused imports
|
||||
- **Hover Info** - Full type information, documentation, and JSDoc rendering on hover
|
||||
- **Navigation** - Go to line, search & replace, go to definition, and fullscreen mode
|
||||
- **Editing** - Smart undo/redo, duplicate lines, comment toggle, rename refactoring, smart bracket pairing
|
||||
- **Visual** - Line numbers, smooth scrolling, indent guides, brace matching, resizable panels
|
||||
|
||||
---
|
||||
|
||||
### Scripting
|
||||
|
||||
Write scripts in **JavaScript** or **Java** to control every aspect of the mod.
|
||||
|
||||
- **Java Scripting** - Write real Java code compiled by the Janino engine. Full support for classes, generics, lambdas, and method references
|
||||
- **JavaScript** - Full Nashorn-based JavaScript with ECMAScript 5.1 globals (Math, JSON, Date, Number)
|
||||
- **Client-Side Scripting** - Run scripts on the client for responsive visual experiences (server-controlled)
|
||||
- **154+ Script Hooks** - Events for NPCs, players, blocks, items, quests, dialogs, factions, abilities, auction, animations, and more
|
||||
- **Script Types** - NPC, Player, Global, Block, Item, Linked Item, Effect, Ability, Recipe, and Forge Event scripts
|
||||
- **Scripted Blocks** - Blocks with full script hooks for click, redstone, neighbor changes, and more
|
||||
- **Scripted Items** - Items with use, attack, toss, pickup, and durability hooks
|
||||
- **Custom GUIs** - Build custom interfaces with buttons, text fields, scroll panels, and slots via scripting
|
||||
- **GUI Overlays** - Persistent on-screen overlays with labels, lines, and textured rectangles
|
||||
- **Addon API** - Mods can ship `.d.ts` type definitions for full autocomplete in the editor
|
||||
|
||||
**Resources:**
|
||||
- API Repository: [CustomNPC+ API](https://github.com/KAMKEEL/CustomNPC-Plus-API)
|
||||
- Java Docs: [kamkeel.github.io/CustomNPC-Plus](https://kamkeel.github.io/CustomNPC-Plus/)
|
||||
|
||||
<img src="images/ScriptedBlock.png" width="474" height="260"/>
|
||||
<img src="images/ScriptedParticle.png" width="474" height="260"/>
|
||||
|
||||
---
|
||||
|
||||
### Animation System
|
||||
|
||||
Create custom animations for NPCs directly in-game.
|
||||
|
||||
- **Animation Maker** - Visual editor for creating frame-based animations
|
||||
- **Animation Parts** - Animate individual body parts with rotation, position, and scaling
|
||||
- **Frame Events** - Script hooks for animation start, end, frame enter, and frame exit
|
||||
- **Data Store** - Animations can store and pass data across events and frames
|
||||
- **Task System** - Consumer-based callbacks for animation lifecycle
|
||||
- **Built-in Animations** - Pre-made animations for abilities that work automatically
|
||||
- **Multiple Registrations** - Register multiple animations under one common name
|
||||
- **Animated Textures** - Frame-based animated textures for items, effects, and ability icons
|
||||
|
||||
<img src="images/AnimationMaker.gif" width="474" height="260"/>
|
||||
|
||||
---
|
||||
|
||||
### Custom Effects
|
||||
|
||||
Create custom status effects beyond vanilla potions.
|
||||
|
||||
- **Custom Icons** - Each effect gets its own texture, with support for animated icons
|
||||
- **Script Hooks** - Events for effect apply, tick, and removal
|
||||
- **Ability Integration** - Abilities can apply custom effects to targets
|
||||
- **Condition System** - Check if entities have specific effects for ability or availability conditions
|
||||
|
||||
---
|
||||
|
||||
### Profile System
|
||||
|
||||
Multiple character slots on a single account.
|
||||
|
||||
- **Profile Slots** - Each slot stores separate quest progress, dialogs, factions, currency, abilities, and effects
|
||||
- **Region Locking** - Lock profiles to specific areas
|
||||
- **Soulbound Items** - Bind items to a specific player by UUID
|
||||
- **Profile-Slotbound Items** - Bind items to a specific profile slot
|
||||
|
||||
---
|
||||
|
||||
### Party System
|
||||
|
||||
Group up with other players for cooperative gameplay.
|
||||
|
||||
- **Party Management** - Invite, kick, leave, disband, and transfer leadership
|
||||
- **Quest Sharing** - Share quest objectives across party members
|
||||
- **Ability Integration** - Party members are treated as allies for AOE ability targeting
|
||||
- **Script Hooks** - Events for invites, kicks, leaves, disbands, and quest completion
|
||||
|
||||
<img src="images/PartySystem.png" width="474" height="260"/>
|
||||
<img src="images/QuestParty.png" width="474" height="260"/>
|
||||
|
||||
---
|
||||
|
||||
### Faction System
|
||||
|
||||
Create factions to control NPC relationships and player reputation.
|
||||
|
||||
- **Faction Points** - Players earn or lose standing with factions through quests, combat, and scripting
|
||||
- **Availability Conditions** - Gate dialogs, quests, and content behind faction thresholds
|
||||
- **NPC Behavior** - NPCs react to players based on faction standing (friendly, neutral, hostile)
|
||||
- **Passive Factions** - Passive faction NPCs are protected from damage
|
||||
|
||||
---
|
||||
|
||||
### HUD System
|
||||
|
||||
Customizable on-screen elements.
|
||||
|
||||
- **HUD Editor** - Drag and position HUD components to fit your screen
|
||||
- **Ability Hotbar** - 12-slot bar with horizontal/vertical layout and configurable visible slots
|
||||
- **Quest Tracking** - On-screen quest objective tracker
|
||||
- **Compass** - Directional compass with quest and waypoint markers
|
||||
- **Effect Bar** - Display active custom effects
|
||||
|
||||
<img src="images/HudSystem.png" width="474" height="260"/>
|
||||
|
||||
---
|
||||
|
||||
### Cloner & Organization
|
||||
|
||||
Save, organize, and reuse NPCs and content.
|
||||
|
||||
- **Cloner Tabs** - Save and load NPCs, items, and other content
|
||||
- **Folder System** - Organize with folders and subfolders for animations, abilities, forms, auras, outlines, effects, and linked items
|
||||
- **Quick Tags** - Tag-based filtering for fast searching
|
||||
- **Full Screen Browser** - Wide directory view for large collections
|
||||
|
||||
<img src="images/ClonerTabs.png" width="474" height="260"/>
|
||||
|
||||
---
|
||||
|
||||
### Items & Blocks
|
||||
|
||||
A large library of custom items and decorative blocks.
|
||||
|
||||
**Weapons:** Battle Axe, Broadsword, Claw, Crossbow, Dagger, Staff, Glaive, Gun, Kunai, Scythe, Spear, Wand, Warhammer, Musket, and more
|
||||
|
||||
**Linked Items:** Create custom items with configurable attack speed, scripted behavior, animated textures, and item versioning
|
||||
|
||||
**Blocks:** Banners, barrels, beams, signs, campfires, candles, chairs, couches, crates, crystals, lanterns, mailboxes, pedestals, redstone blocks, and scripted blocks
|
||||
|
||||
**Crafting:** Carpentry Bench and Anvil with custom recipe support
|
||||
|
||||
<img src="images/VariousWeapons.png" width="474" height="260"/>
|
||||
<img src="images/JappaTextures.png" width="474" height="260"/>
|
||||
|
||||
---
|
||||
|
||||
### Custom Models
|
||||
|
||||
Support for custom NPC models beyond the default humanoid. Import Blockbench models using the **Gecko Addon** (GeckoLib integration) or use **Armorer's Workshop** skins with the AW Addon.
|
||||
|
||||
<img src="images/GeckoAddon1.png" width="474" height="260"/>
|
||||
<img src="images/GeckoAddon2.png" width="474" height="260"/>
|
||||
|
||||
---
|
||||
|
||||
### Addon Compatibility
|
||||
|
||||
CustomNPC+ has official addons that extend its functionality with other mods. Vault and Pixelmon are also supported natively for economy and scripting integration.
|
||||
|
||||
---
|
||||
|
||||
## Official CNPC+ Addons
|
||||
|
||||
### DBC Addon
|
||||
|
||||
Adds full compatibility between [Dragon Block C](https://www.curseforge.com/minecraft/mc-mods/dragon-block-c) and CustomNPC+. Extends abilities with ki-based attacks, adds DBC stat integration to conditions, and enables DBC model/animation support on NPCs.
|
||||
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/cnpc-dbc-addon)
|
||||
[](https://modrinth.com/mod/customnpc-plus-dbc-addon)
|
||||
[](https://github.com/KAMKEEL/CustomNPC-DBC-Addon)
|
||||
|
||||
### Gecko Addon
|
||||
|
||||
Adds [GeckoLib](https://www.curseforge.com/minecraft/mc-mods/geckolib) support to CustomNPC+. Import Blockbench models directly into the mod and use them as custom NPC models with full animation support.
|
||||
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/cnpc-custom-model-addon)
|
||||
[](https://modrinth.com/mod/customnpc-plus-gecko-addon)
|
||||
[](https://github.com/KAMKEEL/CustomNPC-Gecko-Addon)
|
||||
|
||||
### Armorer's Workshop Addon
|
||||
|
||||
Adds compatibility between [Armorer's Workshop](https://www.curseforge.com/minecraft/mc-mods/armorers-workshop) and CustomNPC+. Use Armorer's Workshop skins and equipment on NPCs with custom rotation, scaling, and animation support. Requires UniMixins.
|
||||
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/cnpc-armorers-workshop-addon)
|
||||
[](https://modrinth.com/mod/customnpc-plus-aw-addon)
|
||||
|
||||
---
|
||||
|
||||
## Other Projects
|
||||
|
||||
### MorePlayerModels+
|
||||
|
||||
An updated continuation of MorePlayerModels for 1.7.10 with backported GUIs, original parts and customizations, and permission support. Works alongside CustomNPC+. This is a replacement — do not install alongside the original MorePlayerModels.
|
||||
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/moreplayermodels-plus)
|
||||
[](https://modrinth.com/mod/moreplayermodels+)
|
||||
[](https://github.com/KAMKEEL/MorePlayerModels-Plus)
|
||||
|
||||
### The Plugin Mod
|
||||
|
||||
Adds aesthetic weapons, artifacts, blocks, and apples for RPG and storytelling servers. Designed to pair with CustomNPC+ — use the included swords, spears, axes, medpacks, and decorative blocks to make your NPCs and worlds more diverse.
|
||||
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/the-plugin-mod)
|
||||
[](https://modrinth.com/mod/the-plugin-mod)
|
||||
[](https://github.com/KAMKEEL/Plugin-Mod)
|
||||
|
||||
### HexText
|
||||
|
||||
Upgrades Minecraft's font renderer with full RGB hex color support, nested color spans, and animated text effects (glow, shake, wave). Works in signs, anvils, and chat. Requires UniMixins.
|
||||
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/hex-text)
|
||||
[](https://modrinth.com/mod/hex-text)
|
||||
[](https://github.com/KAMKEEL/HexText)
|
||||
|
||||
### RPG Messenger
|
||||
|
||||
A Bukkit plugin for messageable NPCs, group chats, and RPG controller tools. Allows operators to create NPCs that players can message, and lets RPG controllers reply as NPCs in real-time.
|
||||
|
||||
[](https://github.com/KAMKEEL/RPGMessenger)
|
||||
|
||||
### CustomNPC+ Dark Mode
|
||||
|
||||
A resource pack that applies a clean dark theme to all CustomNPC+ GUIs.
|
||||
|
||||
[](https://github.com/KAMKEEL/CustomNPC-Plus-Dark-Mode)
|
||||
|
||||
---
|
||||
|
||||
## Configuration
|
||||
|
||||
CustomNPC+ has a modular configuration system:
|
||||
|
||||
| Config | Purpose |
|
||||
|--------|---------|
|
||||
| **Main** | Core mod settings |
|
||||
| **Client** | Client-side display and UI preferences |
|
||||
| **Script** | Scripting engine settings and client script toggle |
|
||||
| **Market** | Currency, auction house, trader, and economy settings |
|
||||
| **Energy** | Energy projectile settings (explosion block damage, dome item blacklist) |
|
||||
| **Item** | Item and gun configuration |
|
||||
| **Debug** | Debug logging and diagnostics |
|
||||
| **Experimental** | Experimental features toggle |
|
||||
|
||||
---
|
||||
|
||||
## Building from Source
|
||||
|
||||
This project uses the [GTNH Gradle Convention](https://github.com/GTNewHorizons/ExampleMod1.7.10) build system with [RetroFuturaGradle](https://github.com/GTNewHorizons/RetroFuturaGradle).
|
||||
|
||||
```bash
|
||||
git clone <repo-url>
|
||||
git submodule update --init --recursive
|
||||
./gradlew build
|
||||
```
|
||||
|
||||
That's it. Submodules pull in the API sources, and `build` handles decompilation, compilation, and mixin embedding automatically.
|
||||
|
||||
**Run the game:**
|
||||
```bash
|
||||
./gradlew runClient # Launch client
|
||||
./gradlew runServer # Launch server
|
||||
```
|
||||
|
||||
**IDE Setup (IntelliJ):**
|
||||
1. Import the project as a Gradle project
|
||||
2. Run `./gradlew genIntellijRuns`
|
||||
3. Add program arguments: `--tweakClass org.spongepowered.asm.launch.MixinTweaker --mixin customnpcs.mixins.json`
|
||||
|
||||
---
|
||||
|
||||
## Notice
|
||||
|
||||
I am not the original creator of CustomNPC. The original creator is [Noppes](https://github.com/Noppes). I have been permitted to update and develop my own branch version for 1.7.10. The original mod updated to the latest Minecraft versions can be found on [CurseForge](https://www.curseforge.com/minecraft/mc-mods/custom-npcs) and [kodevelopment](http://www.kodevelopment.nl/minecraft/customnpcs).
|
||||
@@ -0,0 +1,8 @@
|
||||
(function(){const L=document.createElement("link").relList;if(L&&L.supports&&L.supports("modulepreload"))return;for(const O of document.querySelectorAll('link[rel="modulepreload"]'))U(O);new MutationObserver(O=>{for(const F of O)if(F.type==="childList")for(const I of F.addedNodes)I.tagName==="LINK"&&I.rel==="modulepreload"&&U(I)}).observe(document,{childList:!0,subtree:!0});function p(O){const F={};return O.integrity&&(F.integrity=O.integrity),O.referrerPolicy&&(F.referrerPolicy=O.referrerPolicy),O.crossOrigin==="use-credentials"?F.credentials="include":O.crossOrigin==="anonymous"?F.credentials="omit":F.credentials="same-origin",F}function U(O){if(O.ep)return;O.ep=!0;const F=p(O);fetch(O.href,F)}})();function Qa(v){return v&&v.__esModule&&Object.prototype.hasOwnProperty.call(v,"default")?v.default:v}var Lu={exports:{}},Sr={},zu={exports:{}},B={};var Da;function Kf(){if(Da)return B;Da=1;var v=Symbol.for("react.element"),L=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),F=Symbol.for("react.provider"),I=Symbol.for("react.context"),ue=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),ge=Symbol.for("react.memo"),Se=Symbol.for("react.lazy"),re=Symbol.iterator;function ee(c){return c===null||typeof c!="object"?null:(c=re&&c[re]||c["@@iterator"],typeof c=="function"?c:null)}var W={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Z=Object.assign,X={};function q(c,g,A){this.props=c,this.context=g,this.refs=X,this.updater=A||W}q.prototype.isReactComponent={},q.prototype.setState=function(c,g){if(typeof c!="object"&&typeof c!="function"&&c!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,c,g,"setState")},q.prototype.forceUpdate=function(c){this.updater.enqueueForceUpdate(this,c,"forceUpdate")};function Ge(){}Ge.prototype=q.prototype;function Ve(c,g,A){this.props=c,this.context=g,this.refs=X,this.updater=A||W}var nt=Ve.prototype=new Ge;nt.constructor=Ve,Z(nt,q.prototype),nt.isPureReactComponent=!0;var Ne=Array.isArray,rt=Object.prototype.hasOwnProperty,ze={current:null},De={key:!0,ref:!0,__self:!0,__source:!0};function Xe(c,g,A){var H,Q={},K=null,te=null;if(g!=null)for(H in g.ref!==void 0&&(te=g.ref),g.key!==void 0&&(K=""+g.key),g)rt.call(g,H)&&!De.hasOwnProperty(H)&&(Q[H]=g[H]);var J=arguments.length-2;if(J===1)Q.children=A;else if(1<J){for(var ie=Array(J),$e=0;$e<J;$e++)ie[$e]=arguments[$e+2];Q.children=ie}if(c&&c.defaultProps)for(H in J=c.defaultProps,J)Q[H]===void 0&&(Q[H]=J[H]);return{$$typeof:v,type:c,key:K,ref:te,props:Q,_owner:ze.current}}function zt(c,g){return{$$typeof:v,type:c.type,key:g,ref:c.ref,props:c.props,_owner:c._owner}}function kt(c){return typeof c=="object"&&c!==null&&c.$$typeof===v}function qt(c){var g={"=":"=0",":":"=2"};return"$"+c.replace(/[=:]/g,function(A){return g[A]})}var dt=/\/+/g;function He(c,g){return typeof c=="object"&&c!==null&&c.key!=null?qt(""+c.key):g.toString(36)}function lt(c,g,A,H,Q){var K=typeof c;(K==="undefined"||K==="boolean")&&(c=null);var te=!1;if(c===null)te=!0;else switch(K){case"string":case"number":te=!0;break;case"object":switch(c.$$typeof){case v:case L:te=!0}}if(te)return te=c,Q=Q(te),c=H===""?"."+He(te,0):H,Ne(Q)?(A="",c!=null&&(A=c.replace(dt,"$&/")+"/"),lt(Q,g,A,"",function($e){return $e})):Q!=null&&(kt(Q)&&(Q=zt(Q,A+(!Q.key||te&&te.key===Q.key?"":(""+Q.key).replace(dt,"$&/")+"/")+c)),g.push(Q)),1;if(te=0,H=H===""?".":H+":",Ne(c))for(var J=0;J<c.length;J++){K=c[J];var ie=H+He(K,J);te+=lt(K,g,A,ie,Q)}else if(ie=ee(c),typeof ie=="function")for(c=ie.call(c),J=0;!(K=c.next()).done;)K=K.value,ie=H+He(K,J++),te+=lt(K,g,A,ie,Q);else if(K==="object")throw g=String(c),Error("Objects are not valid as a React child (found: "+(g==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":g)+"). If you meant to render a collection of children, use an array instead.");return te}function pt(c,g,A){if(c==null)return c;var H=[],Q=0;return lt(c,H,"","",function(K){return g.call(A,K,Q++)}),H}function Oe(c){if(c._status===-1){var g=c._result;g=g(),g.then(function(A){(c._status===0||c._status===-1)&&(c._status=1,c._result=A)},function(A){(c._status===0||c._status===-1)&&(c._status=2,c._result=A)}),c._status===-1&&(c._status=0,c._result=g)}if(c._status===1)return c._result.default;throw c._result}var fe={current:null},S={transition:null},D={ReactCurrentDispatcher:fe,ReactCurrentBatchConfig:S,ReactCurrentOwner:ze};function N(){throw Error("act(...) is not supported in production builds of React.")}return B.Children={map:pt,forEach:function(c,g,A){pt(c,function(){g.apply(this,arguments)},A)},count:function(c){var g=0;return pt(c,function(){g++}),g},toArray:function(c){return pt(c,function(g){return g})||[]},only:function(c){if(!kt(c))throw Error("React.Children.only expected to receive a siLine truncated
|
||||
`+c+e}var A=!1;function H(e,t){if(!e||A)return"";A=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(m){var r=m}Reflect.construct(e,[],t)}else{try{t.call()}catch(m){r=m}e.call(t.prototype)}else{try{throw Error()}catch(m){r=m}e()}}catch(m){if(m&&r&&typeof m.stack=="string"){for(var l=m.stack.split(`
|
||||
`),o=r.stack.split(`
|
||||
`),u=l.length-1,i=o.length-1;1<=u&&0<=i&&l[u]!==o[i];)i--;for(;1<=u&&0<=i;u--,i--)if(l[u]!==o[i]){if(u!==1||i!==1)do if(u--,i--,0>i||l[u]!==o[i]){var s=`
|
||||
`+l[u].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=u&&0<=i);break}}}finally{A=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?g(e):""}function Q(e){switch(e.tag){case 5:return g(e.type);case 16:return g("Lazy");case 13:return g("Suspense");case 19:return g("SuspenseList");case 0:case 2:case 15:return e=H(e.type,!1),e;case 11:return e=H(e.type.render,!1),e;case 1:return e=H(e.type,!0),e;default:return""}}function K(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case De:return"Fragment";case ze:return"Portal";case zt:return"Profiler";case Xe:return"StrictMode";case He:return"Suspense";case lt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qt:return(e.displayName||"Context")+".Consumer";case kt:return(e._context.displayName||"Context")+".Provider";case dt:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case pt:return t=e.displayName||null,t!==null?t:K(e.type)||"Memo";case Oe:t=e._payload,e=e._init;try{return K(e(t))}catch{}}return null}function te(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return K(t);case 8:return t===Xe?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function J(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ie(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $e(e){var t=ie(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,o.call(this,u)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xr(e){e._valueTracker||(e._valueTracker=$e(e))}function Uu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ie(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Er(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ml(e,t){var n=t.checked;return N({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Bu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=J(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Vu(e,t){t=t.checked,t!=null&&nt(e,"checked",t,!1)}function Il(e,t){Vu(e,t);var n=J(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Fl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Fl(e,t.type,J(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Hu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Fl(e,t,n){(t!=="number"||Er(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Fn=Array.isArray;function fn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+J(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Al(e,t){if(t.dangerouslySetInnerHTML
Line truncated
|
||||
`).replace(lf,"")}function Kr(e,t,n){if(t=Ji(t),Ji(e)!==t&&n)throw Error(p(425))}function Yr(){}var _o=null,ko=null;function So(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var xo=typeof setTimeout=="function"?setTimeout:void 0,of=typeof clearTimeout=="function"?clearTimeout:void 0,bi=typeof Promise=="function"?Promise:void 0,uf=typeof queueMicrotask=="function"?queueMicrotask:typeof bi<"u"?function(e){return bi.resolve(null).then(e).catch(sf)}:xo;function sf(e){setTimeout(function(){throw e})}function Eo(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),Xn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Xn(t)}function Ft(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function es(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var _n=Math.random().toString(36).slice(2),ht="__reactFiber$"+_n,ur="__reactProps$"+_n,St="__reactContainer$"+_n,No="__reactEvents$"+_n,af="__reactListeners$"+_n,cf="__reactHandles$"+_n;function Jt(e){var t=e[ht];if(t)return t;for(var n=e.parentNode;n;){if(t=n[St]||n[ht]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=es(e);e!==null;){if(n=e[ht])return n;e=es(e)}return t}e=n,n=e.parentNode}return null}function ir(e){return e=e[ht]||e[St],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function kn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(p(33))}function Gr(e){return e[ur]||null}var Co=[],Sn=-1;function At(e){return{current:e}}function oe(e){0>Sn||(e.current=Co[Sn],Co[Sn]=null,Sn--)}function ne(e,t){Sn++,Co[Sn]=e.current,e.current=t}var Ut={},Ce=At(Ut),Me=At(!1),bt=Ut;function xn(e,t){var n=e.type.contextTypes;if(!n)return Ut;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ie(e){return e=e.childContextTypes,e!=null}function Xr(){oe(Me),oe(Ce)}function ts(e,t,n){if(Ce.current!==Ut)throw Error(p(168));ne(Ce,t),ne(Me,n)}function ns(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(p(108,te(e)||"Unknown",l));return N({},n,r)}function qr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ut,bt=Ce.current,ne(Ce,e),ne(Me,Me.current),!0}function rs(e,t,n){var r=e.stateNode;if(!r)throw Error(p(169));n?(e=ns(e,t,bt),r.__reactInternalMemoizedMergedChildContext=e,oe(Me),oe(Ce),ne(Ce,e)):oe(Me),ne(Me,n)}var xt=null,Zr=!1,Po=!1;function ls(e){xt===null?xt=[e]:xt.push(e)}function ff(e){Zr=!0,ls(e)}function Bt(){if(!Po&&xt!==null){Po=!0;var e=0,t=b;try{var n=xt;for(b=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}xt=null,Zr=!1}catch(l){throw xt!==null&&(xt=xt.slice(e+1)),ui(Gl,Bt),l}finally{b=t,Po=!1}}return null}var En=[],Nn=0,Jr=null,br=0,qe=[],Ze=0,en=null,Et=1,Nt="";function tn(e,t){En[Nn++]=br,En[Nn++]=Jr,Jr=e,br=t}function os(e,t,n){qe[Ze++]=Et,qe[Ze++]=Nt,qe[Ze++]=en,en=e;var r=Et;e=Nt;var l=32-ot(r)-1;r&=~(1<<l),n+=1;var o=32-ot(t)+l;if(30<o){var u=l-l%5;o=(r&(1<<u)-1).toString(32),r>>=u,l-=u,Et=1<<32-ot(t)+l|n<<l|r,Nt=o+e}else Et=1<<o|n<<l|r,Nt=e}function jo(e){e.return!==null&&(tn(e,1),os(e,1,0))}function Lo(e){for(;e===Jr;)Jr=En[--Nn],En[Nn]=null,br=En[--Nn],En[Nn]=null;for(;e===en;)en=qe[--Ze],qe[Ze]=null,Nt=qe[--Ze],qe[Ze]=null,Et=qe[--Ze],qe[Ze]=null}var Qe=null,Ke=null,se=!1,it=null;function us(e,t){var n=tt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function is(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Qe=e,Ke=Ft(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Qe=e,Ke=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=en!==null?{id:Et,overflow:Nt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=tt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Qe=e,Ke=null,!0):!1;default:return!1}}function zo(e){return(e.mode&1)!==0&&(e.flags&128)===0}function To(e){if(se){var t=Ke;if(t){var n=t;if(!is(e,t)){if(zo(e))throw Error(p(418));t=Ft(n.nextSibling);var r=Qe;t&&is(e,t)?us(r,n):(e.flags=e.flags&-4097|2,se=!1,Qe=e)}}else{if(zo(e))throw Error(p(418));e.flags=e.flags&-4097|2,se=!1,Qe=e}}}function ss(e){for(e=e.ret
Line truncated
|
||||
Error generating stack: `+o.message+`
|
||||
`+o.stack}return{value:e,source:t,stack:l,digest:null}}function bo(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function eu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var _f=typeof WeakMap=="function"?WeakMap:Map;function Hs(e,t,n){n=Pt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){wl||(wl=!0,hu=r),eu(e,t)},n}function $s(e,t,n){n=Pt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){eu(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){eu(e,t),typeof r!="function"&&(Wt===null?Wt=new Set([this]):Wt.add(this));var u=t.stack;this.componentDidCatch(t.value,{componentStack:u!==null?u:""})}),n}function Ws(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new _f;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=Of.bind(null,e,t,n),t.then(e,e))}function Qs(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Ks(e,t,n,r,l){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Pt(-1,1),t.tag=2,Ht(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var kf=Ne.ReactCurrentOwner,Fe=!1;function Te(e,t,n,r){t.child=e===null?ds(t,null,n,r):Pn(t,e.child,n,r)}function Ys(e,t,n,r,l){n=n.render;var o=t.ref;return Ln(t,l),r=Qo(e,t,n,r,o,l),n=Ko(),e!==null&&!Fe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,jt(e,t,l)):(se&&n&&jo(t),t.flags|=1,Te(e,t,r,l),t.child)}function Gs(e,t,n,r,l){if(e===null){var o=n.type;return typeof o=="function"&&!Su(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Xs(e,t,o,r,l)):(e=Nl(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,(e.lanes&l)===0){var u=o.memoizedProps;if(n=n.compare,n=n!==null?n:tr,n(u,r)&&e.ref===t.ref)return jt(e,t,l)}return t.flags|=1,e=Gt(o,r),e.ref=t.ref,e.return=t,t.child=e}function Xs(e,t,n,r,l){if(e!==null){var o=e.memoizedProps;if(tr(o,r)&&e.ref===t.ref)if(Fe=!1,t.pendingProps=r=o,(e.lanes&l)!==0)(e.flags&131072)!==0&&(Fe=!0);else return t.lanes=e.lanes,jt(e,t,l)}return tu(e,t,n,r,l)}function qs(e,t,n){var r=t.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ne(Dn,Ye),Ye|=n;else{if((n&1073741824)===0)return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ne(Dn,Ye),Ye|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,ne(Dn,Ye),Ye|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,ne(Dn,Ye),Ye|=r;return Te(e,t,l,n),t.child}function Zs(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function tu(e,t,n,r,l){var o=Ie(n)?bt:Ce.current;return o=xn(t,o),Ln(t,l),n=Qo(e,t,n,r,o,l),r=Ko(),e!==null&&!Fe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,jt(e,t,l)):(se&&r&&jo(t),t.flags|=1,Te(e,t,n,l),t.child)}function Js(e,t,n,r,l){if(Ie(n)){var o=!0;qr(t)}else o=!1;if(Ln(t,l),t.stateNode===null)ml(e,t),Bs(t,n,r),Jo(t,n,r,l),r=!0;else if(e===null){var u=t.stateNode,i=t.memoizedProps;u.props=i;var s=u.context,m=n.contextType;typeof m=="object"&&m!==null?m=Je(m):(m=Ie(n)?bt:Ce.current,m=xn(t,m));var w=n.getDerivedStateFromProps,_=typeof w=="function"||typeof u.getSnapshotBeforeUpdate=="function";_||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i!==r||s!==m)&&Vs(t,u,r,m),Vt=!1;var y=t.memoizedState;u.state=y,ol(t,r,u,l),s=t.memoizedState,i!==r||y!==s||Me.current||Vt?(typeof w=="function"&&(Zo(t,n,w,r),s=t.memoizedState),(i=Vt||Us(t,n,i,r,y,s,m))?(_||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),u.props=r,u.state=s,u.context=m,r=i):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{u=t.stateNode,ms(e,t),i=t.memoizedProps,m=t.type===t.elementType?i:st(t.type,i),u.props=m,_=t.pendingProps,y=u.context,s=n.contextType,typeof s=="object"&&s!==null?s=Je(s):(s=Ie(n)?bt:Ce.current,s=xn(t,s));var x=n.getDerivedStateFromProps;(w=typeof x=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i!==_||y!==s)&&Vs(t,u,r,s),Vt=!1,y=t.memoizedState,u.state=y,ol(t,r,u,
Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
._root_rrjum_1{max-width:1100px;margin:0 auto;padding:48px 32px 96px}._grid_rrjum_7{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}@media(max-width:600px){._root_rrjum_1{padding:24px 16px 64px}._grid_rrjum_7{grid-template-columns:1fr}}._wrap_1wvi3_1{margin-bottom:48px}._bar_1wvi3_5{display:flex;align-items:center;gap:6px;background:var(--bg3);border:1px solid var(--border2);border-bottom:none;border-radius:8px 8px 0 0;padding:10px 16px}._dot_1wvi3_16{width:12px;height:12px;border-radius:50%}._red_1wvi3_21{background:#ff5f57}._amber_1wvi3_22{background:#febc2e}._green_1wvi3_23{background:#28c840}._title_1wvi3_25{margin-left:8px;font-size:11px;color:var(--text-dim);letter-spacing:.05em}._body_1wvi3_32{background:var(--bg2);border:1px solid var(--border2);border-radius:0 0 8px 8px;padding:16px 36px 36px}._heading_1wvi3_40{font-family:IBM Plex Sans,sans-serif;font-size:clamp(28px,5vw,52px);font-weight:300;letter-spacing:-.02em;color:var(--text);line-height:1.05;margin-bottom:20px}._heading_1wvi3_40 strong{font-weight:600;color:var(--green)}._promptLine_1wvi3_56{display:flex;align-items:baseline;gap:10px;margin-bottom:6px;font-size:13px;flex-wrap:wrap}._prompt_1wvi3_56{color:var(--green);font-weight:600}._cmd_1wvi3_66{color:var(--text)}._arg_1wvi3_67{color:var(--blue)}._flag_1wvi3_68{color:var(--amber)}._outputLine_1wvi3_71{font-size:12px;color:var(--text-dim);line-height:1.8;padding-left:20px}._chevron_1wvi3_78{color:var(--text-mid);margin-right:4px}._links_1wvi3_84{display:flex;flex-direction:column;gap:4px;padding-left:36px;margin-top:4px;margin-bottom:12px}._link_1wvi3_84{display:inline-flex;align-items:center;gap:10px;text-decoration:none;padding:3px 0;width:fit-content;transition:opacity .15s}._link_1wvi3_84:hover{opacity:.8}._link_1wvi3_84:hover ._linkLabel_1wvi3_105{text-decoration:underline;text-underline-offset:3px}._linkTag_1wvi3_110{font-size:9px;font-weight:600;letter-spacing:.1em;border:1px solid;border-radius:2px;padding:1px 5px;min-width:28px;text-align:center;opacity:.9;font-family:IBM Plex Mono,monospace}._linkLabel_1wvi3_105{font-size:12px;color:var(--text-mid);font-family:IBM Plex Mono,monospace}._linkArrow_1wvi3_129{font-size:11px;opacity:.6;transition:opacity .15s,transform .15s}._link_1wvi3_84:hover ._linkArrow_1wvi3_129{opacity:1;transform:translate(2px,-2px)}._authors_1wvi3_141{margin-bottom:8px}._authorRow_1wvi3_145{display:flex;flex-direction:row;gap:8px;padding-left:36px;margin-top:6px;flex-wrap:wrap}._authorTile_1wvi3_155{display:flex;align-items:center;gap:10px;background:var(--bg3);border:1px solid var(--border);border-radius:6px;padding:8px 12px;text-decoration:none;cursor:pointer;width:max-content;min-width:140px;position:relative;overflow:hidden;transition:border-color .2s,background .2s,transform .2s}._authorTile_1wvi3_155:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:var(--green);opacity:0;transition:opacity .2s}._authorTileActive_1wvi3_183:before,._authorTile_1wvi3_155:hover:before{opacity:1}._authorTileActive_1wvi3_183{border-color:var(--green-dim);background:#39d3530a}._authorTile_1wvi3_155:hover{border-color:var(--border2);background:#161b22;transform:translateY(-1px)}._authorAvatar_1wvi3_200{width:32px;height:32px;border-radius:50%;border:1px solid var(--border2);flex-shrink:0}._authorAvatarSkeleton_1wvi3_208{width:32px;height:32px;border-radius:50%;background:var(--border2);flex-shrink:0;animation:_shimmer_1wvi3_1 1.5s ease infinite}._authorInfo_1wvi3_217{display:flex;flex-direction:column;gap:2px;min-width:0}._authorName_1wvi3_224{font-size:12px;font-weight:500;color:var(--text);font-family:IBM Plex Sans,sans-serif;white-space:nowrap}._authorLogin_1wvi3_232{font-size:10px;color:var(--blue);font-family:IBM Plex Mono,monospace;white-space:nowrap}._authorBio_1wvi3_240{display:block;font-size:10px;color:var(--text-dim);font-family:IBM Plex Sans,sans-serif;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:14px;width:0;opacity:0;transition:opacity .25s ease,width .3s ease}._authorTileActive_1wvi3_183 ._authorBio_1wvi3_240,._authorTile_1wvi3_155:hover ._authorBio_1wvi3_240{width:200px;opacity:1}._authorBioPlaceholder_1wvi3_264{height:14px;margin-top:2px;width:0}._authorSkeleton_1wvi3_270{height:9px;border-radius:4px;background:var(--border2);animation:_shimmer_1wvi3_1 1.5s ease infinite}._cursor_1wvi3_278{display:inline-block;width:8px;height:13px;background:var(--green);margin-left:2px;vertical-align:text-bottom;animation:_blink_1wvi3_1 1s step-end infinite}@keyframes _blink_1wvi3_1{0%,to{opacity:1}50%{opacity:0}}@keyframes _shimmer_1wvi3_1{0%,to{opacity:.4}50%{opacity:.8}}@media(max-width:600px){._body_1wvi3_32{padding:20px}._links_1wvi3_84,._authorRow_1wvi3_145{padding-left:20px}}._section_1yhxx_1{margin-top:40px;margin-bottom:8px}._header_1yhxx_6{display:flex;align-items:center;gap:12px;margin-bottom:16px}._tag_1yhxx_13{font-size:10px;font-weight:600;letter-spacing:.15em;text-tLine truncated
|
||||
-150
@@ -1,150 +0,0 @@
|
||||
//version: 1707058017
|
||||
|
||||
plugins {
|
||||
id 'com.gtnewhorizons.gtnhconvention'
|
||||
id 'idea'
|
||||
id "dts.typescript-generator"
|
||||
}
|
||||
|
||||
version = "1.11.2"
|
||||
group= "kamkeel.customnpc-plus"
|
||||
archivesBaseName = "CustomNPC-Plus"
|
||||
|
||||
def embedMixin = !project.hasProperty("nomixin");
|
||||
if(!embedMixin){
|
||||
version += "-nomixin"
|
||||
}
|
||||
|
||||
// API Task
|
||||
tasks.create('updateAPI', Exec) {
|
||||
description 'Updates (and Inits) git submodules'
|
||||
commandLine 'git', 'submodule', 'update', '--init', '--recursive'
|
||||
group 'CustomNPC+'
|
||||
}
|
||||
|
||||
// No Mixin Build Task
|
||||
def gradleWrapper = System.getProperty('os.name').toLowerCase().contains('windows') ? 'gradlew.bat' : './gradlew'
|
||||
|
||||
tasks.create('buildNoMixin', Exec) {
|
||||
description 'Builds mod without embed'
|
||||
group 'CustomNPC+'
|
||||
workingDir project.rootDir
|
||||
commandLine gradleWrapper, 'build', '-Pnomixin'
|
||||
}
|
||||
|
||||
// No Nashorn Run Tasks
|
||||
tasks.create('runClientNoNashorn', Exec) {
|
||||
description 'Runs the client without Nashorn'
|
||||
group 'CustomNPC+'
|
||||
workingDir project.rootDir
|
||||
commandLine gradleWrapper, 'runClient', '-PnoNashorn'
|
||||
}
|
||||
|
||||
tasks.create('runServerNoNashorn', Exec) {
|
||||
description 'Runs the server without Nashorn'
|
||||
group 'CustomNPC+'
|
||||
workingDir project.rootDir
|
||||
commandLine gradleWrapper, 'runServer', '-PnoNashorn'
|
||||
}
|
||||
|
||||
sourceSets.main.java {
|
||||
def apiDir = file('src/api/java')
|
||||
|
||||
if (!apiDir.exists()) {
|
||||
throw new GradleException("Missing API sources: Run './gradlew updateAPI' or enable checkout submodules in CI.")
|
||||
}
|
||||
|
||||
srcDirs += apiDir
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
// Scribe fixtures -- an offline generator for CustomNPC+ save data.
|
||||
//
|
||||
// Its own source set, so nothing here reaches the mod jar. It runs CustomNPC+'s
|
||||
// own writeToNBT/writeNBT methods against a bootstrapped-but-unlaunched
|
||||
// Minecraft, and writes the results into a world layout copied from each
|
||||
// controller. See src/fixtures/README.md.
|
||||
// ============================================================================
|
||||
sourceSets {
|
||||
fixtures {
|
||||
java.srcDirs = ['src/fixtures/java']
|
||||
compileClasspath += sourceSets.main.output + sourceSets.main.compileClasspath
|
||||
runtimeClasspath += sourceSets.main.output + sourceSets.main.runtimeClasspath
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register('scribeFixtures', JavaExec) {
|
||||
group 'CustomNPC+'
|
||||
description 'Generates CustomNPC+ save fixtures for Scribe. -Pout=<dir>, -Pworlds=<a,b>'
|
||||
dependsOn 'fixturesClasses'
|
||||
classpath = sourceSets.fixtures.runtimeClasspath
|
||||
mainClass = 'kamkeel.npcs.fixtures.FixtureGenerator'
|
||||
// Off the project dir, because CustomNpcs.getWorldSaveDirectory() resolves "." and
|
||||
// a stray relative write would land in the repo root.
|
||||
workingDir = project.buildDir
|
||||
doFirst {
|
||||
// Resolved against the project directory, not workingDir, so -Pout=build/x means what it
|
||||
// looks like rather than build/build/x.
|
||||
def out = project.hasProperty('out') ? project.file(project.property('out'))
|
||||
: new File(project.buildDir, 'scribe-fixtures')
|
||||
args = [out.absolutePath]
|
||||
if (project.hasProperty('worlds')) {
|
||||
args += ['--worlds', project.property('worlds')]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
// TypeScript Definition Generation Task
|
||||
// Generates .d.ts files from Java API sources for scripting IDE support
|
||||
// ============================================================================
|
||||
// TypeScript plugin is applied above in the main plugins block
|
||||
|
||||
tasks.named("generateTypeScriptDefinitions").configure {
|
||||
sourceDirectories = ['src/api/java', 'src/main/java']
|
||||
outputDirectory = "src/main/resources/assets/${project.property("modId")}/api"
|
||||
apiPackages = ['noppes.npcs.api', 'net.minecraft'] as Set
|
||||
cleanOutputFirst = true // Clean old generated files before regenerating
|
||||
patchesDirectory = "dts-patches"
|
||||
implementationPackages = [
|
||||
'noppes.npcs.scripted',
|
||||
'noppes.npcs.controllers.data',
|
||||
'noppes.npcs.entity.data',
|
||||
'noppes.npcs.quests',
|
||||
'kamkeel.npcs.controllers.data'
|
||||
] as Set
|
||||
}
|
||||
processResources.dependsOn generateTypeScriptDefinitions
|
||||
sourcesJar.dependsOn generateTypeScriptDefinitions
|
||||
|
||||
|
||||
// Javadoc configuration
|
||||
javadoc {
|
||||
options.encoding = 'UTF-8'
|
||||
options.charSet = 'UTF-8'
|
||||
options.docEncoding = 'UTF-8'
|
||||
|
||||
options.tags = [
|
||||
'hookName:a:Hook Name:'
|
||||
]
|
||||
|
||||
options.stylesheetFile = file('.github/javadoc/javadoc-theme.css')
|
||||
options.header = file('.github/javadoc/javadoc-header.html').text.replaceAll('\\s+', ' ').trim()
|
||||
|
||||
options.addBooleanOption('-allow-script-in-comments', true)
|
||||
options.footer = file('.github/javadoc/javadoc-footer.html').text.replaceAll('\\s+', ' ').trim()
|
||||
|
||||
// Only document the public API, not net.minecraft stubs
|
||||
include 'noppes/npcs/api/**'
|
||||
|
||||
options.links(
|
||||
'https://docs.oracle.com/en/java/javase/11/docs/api/'
|
||||
)
|
||||
|
||||
javadocTool = javaToolchains.javadocToolFor {
|
||||
languageVersion = JavaLanguageVersion.of(11)
|
||||
}
|
||||
}
|
||||
|
||||
// Modify the existing 'build' task to depend on 'updateAPI'
|
||||
//tasks.apiClasses.dependsOn 'updateAPI'
|
||||
-214
@@ -1,214 +0,0 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven {
|
||||
name = "forge"
|
||||
url = "https://maven.minecraftforge.net/"
|
||||
}
|
||||
maven {
|
||||
name = "sonatype"
|
||||
url = "https://oss.sonatype.org/content/repositories/snapshots/"
|
||||
}
|
||||
maven {
|
||||
name = "jitpack"
|
||||
url = "https://jitpack.io"
|
||||
}
|
||||
maven {
|
||||
name = "gt"
|
||||
url = "https://gregtech.mechaenetia.com/"
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.github.GTNewHorizons:ForgeGradle:1.2.11'
|
||||
}
|
||||
}
|
||||
|
||||
task submodulesUpdate(type:Exec) {
|
||||
description 'Updates (and inits) git submodules'
|
||||
commandLine 'git', 'submodule', 'update', '--init', '--recursive'
|
||||
group 'Build Setup'
|
||||
}
|
||||
|
||||
configurations {
|
||||
embed
|
||||
compile.extendsFrom(embed)
|
||||
shade
|
||||
compile.extendsFrom(shade)
|
||||
}
|
||||
|
||||
apply plugin: 'forge'
|
||||
|
||||
version = "1.9-beta6"
|
||||
group= "com.kamkeel.customnpc-plus" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
archivesBaseName = "CustomNPC-Plus"
|
||||
|
||||
minecraft {
|
||||
version = "1.7.10-10.13.4.1614-1.7.10"
|
||||
runDir = "eclipse"
|
||||
|
||||
sourceSets {
|
||||
api {
|
||||
java {
|
||||
srcDir 'src/api/java'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
|
||||
dependencies {
|
||||
// you may put jars on which you depend on in ./libs
|
||||
// or you may define them like so..
|
||||
//compile "some.group:artifact:version:classifier"
|
||||
//compile "some.group:artifact:version"
|
||||
|
||||
// real examples
|
||||
//compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env
|
||||
//compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env
|
||||
|
||||
// for more info...
|
||||
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
|
||||
// http://www.gradle.org/docs/current/userguide/dependency_management.html
|
||||
}
|
||||
|
||||
processResources
|
||||
{
|
||||
// this will ensure that this task is redone when the versions change.
|
||||
inputs.property "version", project.version
|
||||
inputs.property "mcversion", project.minecraft.version
|
||||
|
||||
// replace stuff in mcmod.info, nothing else
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include 'mcmod.info'
|
||||
|
||||
// replace version and mcversion
|
||||
expand 'version':project.version, 'mcversion':project.minecraft.version
|
||||
}
|
||||
|
||||
// copy everything else, thats not the mcmod.info
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'mcmod.info'
|
||||
}
|
||||
}
|
||||
|
||||
jar {
|
||||
from sourceSets.api.output
|
||||
|
||||
manifest {
|
||||
attributes(
|
||||
'FMLAT': "customnpcs_at.cfg",
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
//##########################################################################################################
|
||||
//######################################## Mixin Part ################################################
|
||||
//##########################################################################################################
|
||||
//Add
|
||||
//--tweakClass org.spongepowered.asm.launch.MixinTweaker --mixin customnpcs.mixins.json
|
||||
//to your client and server program arguments if working in a dev environment.
|
||||
def embedMixin = !project.hasProperty("nomixin");
|
||||
def yourMixinConfig = 'customnpcs.mixins.json'
|
||||
def refMapForYourConfig = 'customnpcs.refmap.json'
|
||||
def relativePathToMixinAP = 'tools/mixin-0.8-SNAPSHOT.jar'
|
||||
|
||||
if(!embedMixin){
|
||||
version += "-nomixin"
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
name = "sponge"
|
||||
url = "https://repo.spongepowered.org/maven/"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
if(embedMixin){
|
||||
embed('org.spongepowered:mixin:0.7.11-SNAPSHOT') {
|
||||
// Mixin includes a lot of dependencies that are too up-to-date
|
||||
exclude module: 'launchwrapper'
|
||||
exclude module: 'guava'
|
||||
exclude module: 'gson'
|
||||
exclude module: 'commons-io'
|
||||
exclude module: 'log4j-core'
|
||||
}
|
||||
} else {
|
||||
implementation('org.spongepowered:mixin:0.7.11-SNAPSHOT') {
|
||||
// Mixin includes a lot of dependencies that are too up-to-date
|
||||
exclude module: 'launchwrapper'
|
||||
exclude module: 'guava'
|
||||
exclude module: 'gson'
|
||||
exclude module: 'commons-io'
|
||||
exclude module: 'log4j-core'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def refMap = "${tasks.compileJava.temporaryDir}" + File.separator + refMapForYourConfig
|
||||
|
||||
def mixinSrg = "${tasks.reobf.temporaryDir}" + File.separator + "mixins.srg"
|
||||
|
||||
jar {
|
||||
configurations.shade.each { dep ->
|
||||
from(project.zipTree(dep)){
|
||||
exclude 'META-INF', 'META-INF/**'
|
||||
}
|
||||
}
|
||||
|
||||
from refMap
|
||||
manifest {
|
||||
attributes.put("TweakClass", "org.spongepowered.asm.launch.MixinTweaker")
|
||||
attributes.put("FMLCorePluginContainsFMLMod", true)
|
||||
attributes.put("ForceLoadAsMod", true)
|
||||
attributes.put("MixinConfigs", yourMixinConfig)
|
||||
}
|
||||
|
||||
// embed libraries in jar
|
||||
from configurations.embed.collect {
|
||||
exclude '**/LICENSE.txt'
|
||||
it.isDirectory() ? it : zipTree(it)
|
||||
}
|
||||
}
|
||||
|
||||
reobf {
|
||||
addExtraSrgFile mixinSrg
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
def fixedRelPathToAP = relativePathToMixinAP
|
||||
if(fixedRelPathToAP.startsWith('./') || fixedRelPathToAP.startsWith('.\\')){
|
||||
fixedRelPathToAP = fixedRelPathToAP.substring(2)
|
||||
} else if(fixedRelPathToAP.startsWith('/') || fixedRelPathToAP.startsWith('\\')){
|
||||
fixedRelPathToAP = fixedRelPathToAP.substring(1)
|
||||
}
|
||||
|
||||
tasks.compileJava {
|
||||
println "Path: " + projectDir.absolutePath
|
||||
options.compilerArgs += [
|
||||
// There's a bug in the AnnotationProcessor for 0.7.11 that will generate the annotations pointing to the parent class instead of subclass
|
||||
// resulting in the mixin not being applied. This is fixed in 0.8, however 0.8 needs guava > 21.0, and minecraft ships with 17.0.
|
||||
// So as a hacky workaround... ship with 0.7.11, but use the AP from 0.8 for compiling
|
||||
"-processorpath", projectDir.absolutePath + '/' + fixedRelPathToAP,
|
||||
"-processor", "org.spongepowered.tools.obfuscation.MixinObfuscationProcessorInjection,org.spongepowered.tools.obfuscation.MixinObfuscationProcessorTargets",
|
||||
"-Xlint:-sunapi", "-XDenableSunApiLintControl", "-XDignore.symbol.file",
|
||||
"-AreobfSrgFile=${tasks.reobf.srg}", "-AoutSrgFile=${mixinSrg}", "-AoutRefMapFile=${refMap}"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
task deobfJar(type: Jar) {
|
||||
classifier = 'dev'
|
||||
from sourceSets.main.output
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
ext.refMap = refMapForYourConfig
|
||||
}
|
||||
}
|
||||
|
||||
// Enable Temporarily if Assets not loading
|
||||
sourceSets {main { output.resourcesDir = output.classesDir }}
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Add your dependencies here. Supported configurations:
|
||||
* - api("group:name:version:classifier"): if you use the types from this dependency in the public API of this mod
|
||||
* Available at runtime and compiletime for mods depending on this mod
|
||||
* - implementation("g:n:v:c"): if you need this for internal implementation details of the mod, but none of it is visible via the public API
|
||||
* Available at runtime but not compiletime for mods depending on this mod
|
||||
* - compileOnly("g:n:v:c"): if the mod you're building doesn't need this dependency during runtime at all, e.g. for optional mods
|
||||
* Not available at all for mods depending on this mod, only visible at compiletime for this mod
|
||||
* - compileOnlyApi("g:n:v:c"): like compileOnly, but also visible at compiletime for mods depending on this mod
|
||||
* Available at compiletime but not runtime for mods depending on this mod
|
||||
* - runtimeOnlyNonPublishable("g:n:v:c"): if you want to include a mod in this mod's runClient/runServer runs, but not publish it as a dependency
|
||||
* Not available at all for mods depending on this mod, only visible at runtime for this mod
|
||||
* - devOnlyNonPublishable("g:n:v:c"): a combination of runtimeOnlyNonPublishable and compileOnly for dependencies present at both compiletime and runtime,
|
||||
* but not published as Maven dependencies - useful for RFG-deobfuscated dependencies or local testing
|
||||
* - runtimeOnly("g:n:v:c"): if you don't need this at compile time, but want it to be present at runtime
|
||||
* Available at runtime for mods depending on this mod
|
||||
* - annotationProcessor("g:n:v:c"): mostly for java compiler plugins, if you know you need this, use it, otherwise don't worry
|
||||
* - testCONFIG("g:n:v:c") - replace CONFIG by one of the above (except api), same as above but for the test sources instead of main
|
||||
*
|
||||
* - shadowImplementation("g:n:v:c"): effectively the same as API, but the dependency is included in your jar under a renamed package name
|
||||
* Requires you to enable usesShadowedDependencies in gradle.properties
|
||||
*
|
||||
* - compile("g:n:v:c"): deprecated, replace with "api" (works like the old "compile") or "implementation" (can be more efficient)
|
||||
*
|
||||
* You can exclude transitive dependencies (dependencies of the chosen dependency) by appending { transitive = false } if needed,
|
||||
* but use this sparingly as it can break using your mod as another mod's dependency if you're not careful.
|
||||
*
|
||||
* To depend on obfuscated jars you can use `devOnlyNonPublishable(rfg.deobf("dep:spec:1.2.3"))` to fetch an obfuscated jar from maven,
|
||||
* or `devOnlyNonPublishable(rfg.deobf(project.files("libs/my-mod-jar.jar")))` to use a file.
|
||||
*
|
||||
* Gradle names for some of the configuration can be misleading, compileOnlyApi and runtimeOnly both get published as dependencies in Maven, but compileOnly does not.
|
||||
* The buildscript adds runtimeOnlyNonPublishable to also have a runtime dependency that's not published.
|
||||
*
|
||||
* For more details, see https://docs.gradle.org/8.0.1/userguide/java_library_plugin.html#sec:java_library_configurations_graph
|
||||
*/
|
||||
def embedMixin = !project.hasProperty("nomixin");
|
||||
dependencies {
|
||||
runtimeOnlyNonPublishable("com.github.GTNewHorizons:NotEnoughItems:2.8.44-GTNH:dev")
|
||||
if (!project.hasProperty("noNashorn")) {
|
||||
runtimeOnlyNonPublishable("curse.maven:Nashorn-374413:2924946")
|
||||
}
|
||||
|
||||
// compileOnly(files("./tools/bukkit-api/spigot-api-ONLY.jar"))
|
||||
// compileOnly(files("./tools/bukkit-api/Vault-1.4.1.jar"))
|
||||
|
||||
shadowImplementation(project.files("tools/standalone-JaninoLoader-1.0.2.jar"))
|
||||
annotationProcessor(project.files("tools/standalone-JaninoLoader-1.0.2.jar"))
|
||||
|
||||
testImplementation("junit:junit:4.13.2")
|
||||
|
||||
if(embedMixin){
|
||||
// Normal Jar will include built in Mixins
|
||||
shadowImplementation("org.spongepowered:mixin:0.7.11-SNAPSHOT"){
|
||||
// Mixin includes a lot of dependencies that are too up-to-date
|
||||
exclude module: 'launchwrapper'
|
||||
exclude module: 'guava'
|
||||
exclude module: 'gson'
|
||||
exclude module: 'commons-io'
|
||||
exclude module: 'log4j-core'
|
||||
}
|
||||
}
|
||||
}
|
||||
Vendored
-126
@@ -1,126 +0,0 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Array type for working with ordered collections of elements.
|
||||
* Supports static methods like Array.isArray() and instance methods like push(), map(), filter().
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Creating Arrays
|
||||
* ```js
|
||||
* var empty = []; // Empty array
|
||||
* var nums = [1, 2, 3]; // Array with values
|
||||
* var mixed = ["hello", 42, true]; // Mixed types
|
||||
* var nested = [[1, 2], [3, 4]]; // Nested arrays
|
||||
* ```
|
||||
*
|
||||
* ### Static Methods
|
||||
* ```js
|
||||
* Array.isArray([1, 2, 3]); // true
|
||||
* Array.isArray("hello"); // false
|
||||
* Array.isArray({length: 3}); // false
|
||||
* ```
|
||||
*
|
||||
* ### Adding & Removing Elements
|
||||
* ```js
|
||||
* var arr = [1, 2, 3];
|
||||
* arr.push(4); // [1, 2, 3, 4] — add to end
|
||||
* arr.pop(); // [1, 2, 3] — remove from end
|
||||
* arr.unshift(0); // [0, 1, 2, 3] — add to start
|
||||
* arr.shift(); // [1, 2, 3] — remove from start
|
||||
* arr.splice(1, 1, 99); // [1, 99, 3] — replace at index 1
|
||||
* ```
|
||||
*
|
||||
* ### Searching & Iterating
|
||||
* ```js
|
||||
* var arr = [10, 20, 30, 20];
|
||||
* arr.indexOf(20); // 1 (first match)
|
||||
* arr.lastIndexOf(20); // 3 (last match)
|
||||
* arr.forEach(function(val) { log(val); });
|
||||
* var doubled = arr.map(function(v) { return v * 2; }); // [20, 40, 60, 40]
|
||||
* var big = arr.filter(function(v) { return v > 15; }); // [20, 30, 20]
|
||||
* ```
|
||||
*
|
||||
* ### Reducing & Testing
|
||||
* ```js
|
||||
* var sum = [1, 2, 3].reduce(function(acc, v) { return acc + v; }, 0); // 6
|
||||
* var allPositive = [1, 2, 3].every(function(v) { return v > 0; }); // true
|
||||
* var hasNeg = [1, -2, 3].some(function(v) { return v < 0; }); // true
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* Array.push(1); // TypeError — push is an instance method
|
||||
* var a = [3,1,2]; a.sort(); // Sorts as strings! Use compareFn for numbers
|
||||
* a.sort(function(a, b) { return a - b; }); // Correct numeric sort: [1, 2, 3]
|
||||
* ```
|
||||
*/
|
||||
export interface Array<T> {
|
||||
/** Returns true if the given object is an array, false otherwise */
|
||||
static isArray(arg: any): boolean;
|
||||
|
||||
/** The number of elements in the array */
|
||||
length: number;
|
||||
|
||||
/** Combines two or more arrays and returns a new array without modifying the original */
|
||||
concat(...items: T[]): T[];
|
||||
|
||||
/** Tests whether all elements in the array pass the provided test function */
|
||||
every(callback: Java.java.util.function.Function<T, boolean>): boolean;
|
||||
|
||||
/** Creates a new array with all elements that pass the test implemented by the provided function */
|
||||
filter(callback: Java.java.util.function.Function<T, boolean>): T[];
|
||||
|
||||
/** Executes a provided function once for each array element. Returns undefined */
|
||||
forEach(callback: Java.java.util.function.Consumer<T>): void;
|
||||
|
||||
/** Returns the first index at which an element is found, or -1 if not present */
|
||||
indexOf(searchElement: T): number;
|
||||
indexOf(searchElement: T, fromIndex: number): number;
|
||||
|
||||
/** Joins all elements of an array into a string separated by the given separator */
|
||||
join(separator: string): string;
|
||||
|
||||
/** Returns the last index at which an element is found, or -1 if not present */
|
||||
lastIndexOf(searchElement: T): number;
|
||||
lastIndexOf(searchElement: T, fromIndex: number): number;
|
||||
|
||||
/** Creates a new array with the results of calling a function on every element */
|
||||
map(callback: Java.java.util.function.Function<T, any>): any[];
|
||||
|
||||
/** Removes and returns the last element from the array, modifying the original array */
|
||||
pop(): T;
|
||||
|
||||
/** Adds one or more elements to the end of an array and returns the new length */
|
||||
push(...items: T[]): number;
|
||||
|
||||
/** Applies a function against an accumulator and each element to reduce the array to a single value */
|
||||
reduce(callback: Java.java.util.function.BiFunction<any, T, any>): any;
|
||||
reduce(callback: Java.java.util.function.BiFunction<any, T, any>, initialValue: any): any;
|
||||
|
||||
/** Same as reduce() but processes the array from right to left */
|
||||
reduceRight(callback: Java.java.util.function.BiFunction<any, T, any>): any;
|
||||
reduceRight(callback: Java.java.util.function.BiFunction<any, T, any>, initialValue: any): any;
|
||||
|
||||
/** Reverses an array in place. The first element becomes the last, and vice versa */
|
||||
reverse(): T[];
|
||||
|
||||
/** Removes and returns the first element from the array, modifying the original array */
|
||||
shift(): T;
|
||||
|
||||
/** Returns a shallow copy of a portion of an array as a new array object */
|
||||
slice(start: number, end: number): T[];
|
||||
|
||||
/** Tests whether at least one element in the array passes the test implemented by the provided function */
|
||||
some(callback: Java.java.util.function.Function<T, boolean>): boolean;
|
||||
|
||||
/** Sorts the elements of an array in place and returns the sorted array */
|
||||
sort(compareFn: Java.java.util.function.BiFunction<T, T, number>): T[];
|
||||
|
||||
/** Changes the contents of an array by removing or replacing existing elements and/or adding new ones */
|
||||
splice(start: number, deleteCount: number, ...items: T[]): T[];
|
||||
|
||||
/** Returns a string representation of the array */
|
||||
toString(): string;
|
||||
|
||||
/** Adds one or more elements to the beginning of an array and returns the new length */
|
||||
unshift(...items: T[]): number;
|
||||
}
|
||||
Vendored
-36
@@ -1,36 +0,0 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Boolean type for true/false values.
|
||||
* Booleans are the result of comparison and logical operations.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Creating Booleans
|
||||
* ```js
|
||||
* var yes = true; // Boolean literal
|
||||
* var no = false; // Boolean literal
|
||||
* var fromExpr = (5 > 3); // true (comparison result)
|
||||
* ```
|
||||
*
|
||||
* ### Boolean Methods
|
||||
* ```js
|
||||
* var b = true;
|
||||
* b.toString(); // "true"
|
||||
* b.valueOf(); // true (primitive value)
|
||||
* ```
|
||||
*
|
||||
* ### Truthy & Falsy Values
|
||||
* ```js
|
||||
* // These are FALSY (evaluate to false):
|
||||
* // false, 0, "", null, undefined, NaN
|
||||
*
|
||||
* // These are TRUTHY (evaluate to true):
|
||||
* // true, any non-zero number, any non-empty string, objects, arrays
|
||||
*
|
||||
*/
|
||||
export interface Boolean {
|
||||
/** Returns the string "true" or "false" */
|
||||
toString(): string;
|
||||
|
||||
/** Returns the primitive boolean value */
|
||||
valueOf(): boolean;
|
||||
}
|
||||
Vendored
-168
@@ -1,168 +0,0 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Date type for working with dates and times.
|
||||
* Create with `new Date()` or use static methods like Date.now() to get current timestamp.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Creating Dates
|
||||
* ```js
|
||||
* var now = new Date(); // Current date & time
|
||||
* var epoch = new Date(0); // Jan 1, 1970
|
||||
* var specific = new Date(2024, 0, 15); // Jan 15, 2024 (months are 0-based!)
|
||||
* var full = new Date(2024, 5, 15, 10, 30, 0); // Jun 15, 2024 10:30:00
|
||||
* var fromStr = new Date("2024-01-15"); // Parse from ISO string
|
||||
* ```
|
||||
*
|
||||
* ### Static Methods (no `new` needed)
|
||||
* ```js
|
||||
* var timestamp = Date.now(); // Current time in milliseconds
|
||||
* var parsed = Date.parse("2024-01-15"); // Parse string to timestamp
|
||||
* var utc = Date.UTC(2024, 0, 15); // UTC timestamp for Jan 15, 2024
|
||||
* ```
|
||||
*
|
||||
* ### Common Mistakes
|
||||
* ```js
|
||||
* Date.now; // Returns the function, not the timestamp!
|
||||
* Date.getMinutes(); // TypeError — instance method, not static
|
||||
* new Date(2024, 1, 1); // Feb 1, not Jan 1 — months are 0-based!
|
||||
* ```
|
||||
*/
|
||||
export interface Date {
|
||||
/** Returns the current time as the number of milliseconds since 1970-01-01 00:00:00 UTC */
|
||||
static now(): number;
|
||||
|
||||
/** Parses a date string and returns the number of milliseconds since 1970-01-01 00:00:00 UTC */
|
||||
static parse(s: string): number;
|
||||
|
||||
/** Returns the number of milliseconds since 1970-01-01 00:00:00 UTC for the given UTC date/time components */
|
||||
static UTC(year: number, month: number, date: number, hours: number, minutes: number, seconds: number, ms: number): number;
|
||||
|
||||
/** Returns the day of the month (1-31) in local time */
|
||||
getDate(): number;
|
||||
|
||||
/** Returns the day of the week (0=Sunday, 6=Saturday) in local time */
|
||||
getDay(): number;
|
||||
|
||||
/** Returns the year in local time */
|
||||
getFullYear(): number;
|
||||
|
||||
/** Returns the hour (0-23) in local time */
|
||||
getHours(): number;
|
||||
|
||||
/** Returns the milliseconds (0-999) in local time */
|
||||
getMilliseconds(): number;
|
||||
|
||||
/** Returns the minutes (0-59) in local time */
|
||||
getMinutes(): number;
|
||||
|
||||
/** Returns the month (0=January, 11=December) in local time */
|
||||
getMonth(): number;
|
||||
|
||||
/** Returns the seconds (0-59) in local time */
|
||||
getSeconds(): number;
|
||||
|
||||
/** Returns the number of milliseconds since 1970-01-01 00:00:00 UTC */
|
||||
getTime(): number;
|
||||
|
||||
/** Returns the time zone offset in minutes between local time and UTC */
|
||||
getTimezoneOffset(): number;
|
||||
|
||||
/** Returns the day of the month (1-31) in UTC */
|
||||
getUTCDate(): number;
|
||||
|
||||
/** Returns the day of the week (0=Sunday, 6=Saturday) in UTC */
|
||||
getUTCDay(): number;
|
||||
|
||||
/** Returns the year in UTC */
|
||||
getUTCFullYear(): number;
|
||||
|
||||
/** Returns the hour (0-23) in UTC */
|
||||
getUTCHours(): number;
|
||||
|
||||
/** Returns the milliseconds (0-999) in UTC */
|
||||
getUTCMilliseconds(): number;
|
||||
|
||||
/** Returns the minutes (0-59) in UTC */
|
||||
getUTCMinutes(): number;
|
||||
|
||||
/** Returns the month (0=January, 11=December) in UTC */
|
||||
getUTCMonth(): number;
|
||||
|
||||
/** Returns the seconds (0-59) in UTC */
|
||||
getUTCSeconds(): number;
|
||||
|
||||
/** Sets the day of the month and returns the new timestamp */
|
||||
setDate(date: number): number;
|
||||
|
||||
/** Sets the year, and optionally month and date, then returns the new timestamp */
|
||||
setFullYear(year: number, month: number, date: number): number;
|
||||
|
||||
/** Sets the hour, minutes, seconds, and milliseconds, then returns the new timestamp */
|
||||
setHours(hour: number, min: number, sec: number, ms: number): number;
|
||||
|
||||
/** Sets the milliseconds and returns the new timestamp */
|
||||
setMilliseconds(ms: number): number;
|
||||
|
||||
/** Sets the minutes, seconds, and milliseconds, then returns the new timestamp */
|
||||
setMinutes(min: number, sec: number, ms: number): number;
|
||||
|
||||
/** Sets the month, and optionally date, then returns the new timestamp */
|
||||
setMonth(month: number, date: number): number;
|
||||
|
||||
/** Sets the seconds and milliseconds, then returns the new timestamp */
|
||||
setSeconds(sec: number, ms: number): number;
|
||||
|
||||
/** Sets the timestamp (milliseconds since epoch) and returns it */
|
||||
setTime(time: number): number;
|
||||
|
||||
/** Sets the day of the month (UTC) and returns the new timestamp */
|
||||
setUTCDate(date: number): number;
|
||||
|
||||
/** Sets the year, month, and date (UTC), then returns the new timestamp */
|
||||
setUTCFullYear(year: number, month: number, date: number): number;
|
||||
|
||||
/** Sets the hour, minutes, seconds, and milliseconds (UTC), then returns the new timestamp */
|
||||
setUTCHours(hour: number, min: number, sec: number, ms: number): number;
|
||||
|
||||
/** Sets the milliseconds (UTC) and returns the new timestamp */
|
||||
setUTCMilliseconds(ms: number): number;
|
||||
|
||||
/** Sets the minutes, seconds, and milliseconds (UTC), then returns the new timestamp */
|
||||
setUTCMinutes(min: number, sec: number, ms: number): number;
|
||||
|
||||
/** Sets the month and date (UTC), then returns the new timestamp */
|
||||
setUTCMonth(month: number, date: number): number;
|
||||
|
||||
/** Sets the seconds and milliseconds (UTC), then returns the new timestamp */
|
||||
setUTCSeconds(sec: number, ms: number): number;
|
||||
|
||||
/** Returns a string representation of the date portion in local time (e.g., "Mon Jan 01 2024") */
|
||||
toDateString(): string;
|
||||
|
||||
/** Returns the date as an ISO 8601 string (e.g., "2024-01-01T00:00:00.000Z") */
|
||||
toISOString(): string;
|
||||
|
||||
/** Returns a JSON representation of the date (typically an ISO 8601 string) */
|
||||
toJSON(key: any): string;
|
||||
|
||||
/** Returns a localized string for the date portion (format depends on locale) */
|
||||
toLocaleDateString(): string;
|
||||
|
||||
/** Returns a localized string for the entire date and time (format depends on locale) */
|
||||
toLocaleString(): string;
|
||||
|
||||
/** Returns a localized string for the time portion (format depends on locale) */
|
||||
toLocaleTimeString(): string;
|
||||
|
||||
/** Returns a string representation of the date and time in local time */
|
||||
toString(): string;
|
||||
|
||||
/** Returns a string representation of the time portion in local time (e.g., "00:00:00 GMT+0000") */
|
||||
toTimeString(): string;
|
||||
|
||||
/** Returns a string representation of the date and time in UTC (e.g., "Mon, 01 Jan 2024 00:00:00 GMT") */
|
||||
toUTCString(): string;
|
||||
|
||||
/** Returns the primitive value of the date object (milliseconds since 1970-01-01 00:00:00 UTC) */
|
||||
valueOf(): number;
|
||||
}
|
||||
Vendored
-81
@@ -1,81 +0,0 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Error base type for runtime errors.
|
||||
* Throw Error objects to indicate failure conditions in your code.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Creating & Throwing Errors
|
||||
* ```js
|
||||
* throw new Error("Something went wrong");
|
||||
* throw new TypeError("Expected a string");
|
||||
* throw new RangeError("Value out of range");
|
||||
* ```
|
||||
*
|
||||
* ### Catching Errors
|
||||
* ```js
|
||||
* try {
|
||||
* var result = riskyOperation();
|
||||
* } catch (e) {
|
||||
* log(e.name); // "Error", "TypeError", etc.
|
||||
* log(e.message); // "Something went wrong"
|
||||
* log(e.toString()); // "Error: Something went wrong"
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* ### Custom Error Messages
|
||||
* ```js
|
||||
* function divide(a, b) {
|
||||
* if (b === 0) {
|
||||
* throw new Error("Cannot divide by zero");
|
||||
* }
|
||||
* return a / b;
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* throw "Something went wrong"; // Works but no .name or .message properties
|
||||
* Error("oops"); // Creates error but doesn't throw it!
|
||||
* throw Error("oops"); // ✅ Works (with or without `new`)
|
||||
* ```
|
||||
*/
|
||||
export interface Error {
|
||||
/** The name of the error type (e.g., "Error", "TypeError", "RangeError") */
|
||||
name: string;
|
||||
|
||||
/** A human-readable description of what went wrong */
|
||||
message: string;
|
||||
|
||||
/** Returns a string representation of the error (typically "name: message") */
|
||||
toString(): string;
|
||||
}
|
||||
|
||||
/**
|
||||
* EvalError - Thrown when eval() function is misused (rarely used in modern JavaScript)
|
||||
*/
|
||||
export interface EvalError extends Error {}
|
||||
|
||||
/**
|
||||
* RangeError - Thrown when a numeric value is out of the acceptable range (e.g., array length < 0)
|
||||
*/
|
||||
export interface RangeError extends Error {}
|
||||
|
||||
/**
|
||||
* ReferenceError - Thrown when trying to reference a variable that does not exist or is not in scope
|
||||
*/
|
||||
export interface ReferenceError extends Error {}
|
||||
|
||||
/**
|
||||
* SyntaxError - Thrown when parsing invalid syntax (usually caught during compile/parse, not runtime)
|
||||
*/
|
||||
export interface SyntaxError extends Error {}
|
||||
|
||||
/**
|
||||
* TypeError - Thrown when an operation is performed on a value of the wrong type (e.g., calling a non-function)
|
||||
*/
|
||||
export interface TypeError extends Error {}
|
||||
|
||||
/**
|
||||
* URIError - Thrown by URI encoding/decoding functions when given invalid characters or sequences
|
||||
*/
|
||||
export interface URIError extends Error {}
|
||||
-75
@@ -1,75 +0,0 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Global functions available in the global scope.
|
||||
* These are not on any specific object - call them directly (e.g., parseInt("42")).
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Parsing Numbers
|
||||
* ```js
|
||||
* parseInt("42"); // 42
|
||||
* parseInt("42px"); // 42 (stops at non-digit)
|
||||
* parseInt("0xFF", 16); // 255 (hexadecimal)
|
||||
* parseInt("111", 2); // 7 (binary)
|
||||
* parseFloat("3.14"); // 3.14
|
||||
* parseFloat("3.14abc"); // 3.14 (stops at invalid char)
|
||||
* ```
|
||||
*
|
||||
* ### Checking Special Values
|
||||
* ```js
|
||||
* isNaN(NaN); // true
|
||||
* isNaN(42); // false
|
||||
* isNaN("hello"); // true (cannot parse as number)
|
||||
* isNaN("42"); // false (can parse as number)
|
||||
* isFinite(42); // true
|
||||
* isFinite(Infinity); // false
|
||||
* isFinite(NaN); // false
|
||||
* ```
|
||||
*
|
||||
* ### URI Encoding/Decoding
|
||||
* ```js
|
||||
* encodeURI("hello world"); // "hello%20world"
|
||||
* decodeURI("hello%20world"); // "hello world"
|
||||
* encodeURIComponent("a=1&b=2"); // "a%3D1%26b%3D2" (encodes & and =)
|
||||
* decodeURIComponent("a%3D1%26b%3D2"); // "a=1&b=2"
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* parseInt("08"); // Some engines treat as octal! Always specify radix
|
||||
* parseInt("08", 10); // 8 ✅ — explicitly base-10
|
||||
* parseInt(""); // NaN — empty string returns NaN, not 0
|
||||
* parseFloat(""); // NaN
|
||||
* isNaN(undefined); // true — coerces to NaN first
|
||||
* ```
|
||||
*/
|
||||
export interface GlobalFunctions {
|
||||
/** Evaluates JavaScript code in a string (use with caution - slow and potential security issues) */
|
||||
static eval(x: any): any;
|
||||
|
||||
/** Parses a string and returns an integer. Stops parsing at the first non-digit character */
|
||||
static parseInt(string: string): number;
|
||||
|
||||
/** Parses a string and returns an integer using the specified radix (base). Stops parsing at the first non-digit character */
|
||||
static parseInt(string: string, radix: number): number;
|
||||
|
||||
/** Parses a string and returns a floating-point number. Stops parsing at the first invalid character */
|
||||
static parseFloat(string: string): number;
|
||||
|
||||
/** Determines whether a value is NaN (not-a-number). The value is first coerced to a number before testing */
|
||||
static isNaN(value: any): boolean;
|
||||
|
||||
/** Determines whether a value is a finite number. The value is first coerced to a number. Returns false for Infinity, -Infinity, and NaN */
|
||||
static isFinite(value: any): boolean;
|
||||
|
||||
/** Decodes a URI by replacing encoded sequences like %20 with their original characters */
|
||||
static decodeURI(encodedURI: string): string;
|
||||
|
||||
/** Decodes URI component by replacing ALL encoded sequences including those for reserved URI characters */
|
||||
static decodeURIComponent(encodedURIComponent: string): string;
|
||||
|
||||
/** Encodes a URI by replacing special characters with %HH sequences (but preserves reserved characters like / : ?) */
|
||||
static encodeURI(uri: string): string;
|
||||
|
||||
/** Encodes URI component by replacing ALL special characters including reserved ones with %HH sequences */
|
||||
static encodeURIComponent(uriComponent: string): string;
|
||||
}
|
||||
Vendored
-100
@@ -1,100 +0,0 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - JSON built-in object for parsing and serializing JSON data.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* JSON is a **static object** — use its methods directly, never with `new`.
|
||||
*
|
||||
* ### Parsing JSON Strings to Objects
|
||||
* ```js
|
||||
* var obj = JSON.parse('{"name": "Steve", "level": 5}');
|
||||
* log(obj.name); // "Steve"
|
||||
* log(obj.level); // 5
|
||||
*
|
||||
* var arr = JSON.parse('[1, 2, 3]');
|
||||
* log(arr[0]); // 1
|
||||
* ```
|
||||
*
|
||||
* ### Converting Objects to JSON Strings
|
||||
* ```js
|
||||
* var data = { name: "Steve", hp: 100 };
|
||||
* var json = JSON.stringify(data); // '{"name":"Steve","hp":100}'
|
||||
*
|
||||
* // Pretty-printed with 2-space indent:
|
||||
* var pretty = JSON.stringify(data, null, 2);
|
||||
* // '{
|
||||
* // "name": "Steve",
|
||||
* // "hp": 100
|
||||
* // }'
|
||||
* ```
|
||||
*
|
||||
* ### Storing & Loading Data
|
||||
* ```js
|
||||
* // Save to NPC stored data:
|
||||
* var inventory = { sword: 1, potion: 5 };
|
||||
* npc.getStoredData().put("inv", JSON.stringify(inventory));
|
||||
*
|
||||
* // Load from NPC stored data:
|
||||
* var raw = npc.getStoredData().get("inv");
|
||||
* var loaded = JSON.parse(raw);
|
||||
* log(loaded.potion); // 5
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* new JSON(); // TypeError — JSON is not a constructor
|
||||
* JSON.parse('{name: "Steve"}'); // SyntaxError — keys must be quoted
|
||||
* JSON.parse("{'name': 'Steve'}"); // SyntaxError — must use double quotes
|
||||
* JSON.parse('{"name": "Steve"}'); // ✅ Correct — double-quoted keys & values
|
||||
* ```
|
||||
*/
|
||||
export interface JSON {
|
||||
/**
|
||||
* Parses a JSON string and returns the parsed value (object, array, string, number, boolean, or null).
|
||||
* @param text - A valid JSON string to parse
|
||||
* @returns The parsed JavaScript value
|
||||
*/
|
||||
static parse(text: string): any;
|
||||
|
||||
/**
|
||||
* Parses a JSON string with a reviver function that transforms each parsed key-value pair.
|
||||
* @param text - A valid JSON string to parse
|
||||
* @param reviver - Function called for each key-value pair; receives the key and parsed value, returns the transformed value
|
||||
* @returns The parsed JavaScript value after applying the reviver
|
||||
*/
|
||||
static parse(text: string, reviver: Java.java.util.function.BiFunction<string, any, any>): any;
|
||||
|
||||
/**
|
||||
* Converts a JavaScript value to a JSON string.
|
||||
* @param value - The value to serialize (object, array, string, number, boolean, or null)
|
||||
* @returns A JSON-formatted string representation of the value
|
||||
*/
|
||||
static stringify(value: any): string;
|
||||
|
||||
/**
|
||||
* Converts a JavaScript value to a JSON string, using a replacer function to filter or transform properties.
|
||||
* @param value - The value to serialize
|
||||
* @param replacer - Function called for each key-value pair; receives the key and value, returns the value to include (or undefined to omit)
|
||||
* @param space - Optional indentation: a number of spaces (up to 10), or a string prefix per level
|
||||
* @returns A JSON-formatted string representation of the value
|
||||
*/
|
||||
static stringify(value: any, replacer: Java.java.util.function.BiFunction<string, any, any>, space?: any): string;
|
||||
|
||||
/**
|
||||
* Converts a JavaScript value to a JSON string, including only the specified properties.
|
||||
* @param value - The value to serialize
|
||||
* @param replacer - Array of property names to include in the output
|
||||
* @param space - Optional indentation: a number of spaces (up to 10), or a string prefix per level
|
||||
* @returns A JSON-formatted string representation of the value
|
||||
*/
|
||||
static stringify(value: any, replacer: string[], space?: any): string;
|
||||
|
||||
/**
|
||||
* Converts a JavaScript value to a JSON string with optional pretty-printing.
|
||||
* @param value - The value to serialize
|
||||
* @param replacer - Pass null to include all properties
|
||||
* @param space - Indentation: a number of spaces (up to 10), or a string prefix per level
|
||||
* @returns A JSON-formatted string representation of the value
|
||||
*/
|
||||
static stringify(value: any, replacer: null, space: any): string;
|
||||
}
|
||||
Vendored
-128
@@ -1,128 +0,0 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Math built-in object providing mathematical constants and functions.
|
||||
* All methods are static and called as Math.methodName(). No constructor.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* Math is a **static object** — use its methods directly, never with `new`.
|
||||
*
|
||||
* ### Basic Math Operations
|
||||
* ```js
|
||||
* var rounded = Math.floor(3.7); // 3
|
||||
* var ceiling = Math.ceil(3.2); // 4
|
||||
* var nearest = Math.round(3.5); // 4
|
||||
* var absolute = Math.abs(-42); // 42
|
||||
* ```
|
||||
*
|
||||
* ### Powers, Roots & Logarithms
|
||||
* ```js
|
||||
* var squared = Math.pow(2, 3); // 8
|
||||
* var root = Math.sqrt(16); // 4
|
||||
* var natural = Math.log(Math.E); // 1
|
||||
* ```
|
||||
*
|
||||
* ### Random Numbers
|
||||
* ```js
|
||||
* var rand = Math.random(); // 0.0 to 0.999...
|
||||
* // Random integer between 1 and 10:
|
||||
* var dice = Math.floor(Math.random() * 10) + 1;
|
||||
* ```
|
||||
*
|
||||
* ### Finding Min/Max
|
||||
* ```js
|
||||
* var biggest = Math.max(5, 10, 3); // 10
|
||||
* var smallest = Math.min(5, 10, 3); // 3
|
||||
* ```
|
||||
*
|
||||
* ### Trigonometry
|
||||
* ```js
|
||||
* var sine = Math.sin(Math.PI / 2); // 1
|
||||
* var cosine = Math.cos(0); // 1
|
||||
* var angle = Math.atan2(1, 1); // 0.785... (PI/4)
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* new Math() // TypeError — Math is not a constructor
|
||||
* Math() // TypeError — Math is not a function
|
||||
* ```
|
||||
*/
|
||||
export interface Math {
|
||||
/** Euler's number (~2.718), the base of natural logarithms */
|
||||
static readonly E: number;
|
||||
|
||||
/** Natural logarithm of 2 (~0.693) */
|
||||
static readonly LN2: number;
|
||||
|
||||
/** Natural logarithm of 10 (~2.303) */
|
||||
static readonly LN10: number;
|
||||
|
||||
/** Base-2 logarithm of e (~1.443) */
|
||||
static readonly LOG2E: number;
|
||||
|
||||
/** Base-10 logarithm of e (~0.434) */
|
||||
static readonly LOG10E: number;
|
||||
|
||||
/** Ratio of a circle's circumference to its diameter (~3.14159) */
|
||||
static readonly PI: number;
|
||||
|
||||
/** Square root of 0.5 (~0.707) */
|
||||
static readonly SQRT1_2: number;
|
||||
|
||||
/** Square root of 2 (~1.414) */
|
||||
static readonly SQRT2: number;
|
||||
|
||||
/** Returns the absolute value of a number */
|
||||
static abs(x: number): number;
|
||||
|
||||
/** Returns the arccosine (in radians) of a number */
|
||||
static acos(x: number): number;
|
||||
|
||||
/** Returns the arcsine (in radians) of a number */
|
||||
static asin(x: number): number;
|
||||
|
||||
/** Returns the arctangent (in radians) of a number */
|
||||
static atan(x: number): number;
|
||||
|
||||
/** Returns the arctangent of two numbers (y/x), with proper quadrant handling */
|
||||
static atan2(y: number, x: number): number;
|
||||
|
||||
/** Returns the smallest integer greater than or equal to a number */
|
||||
static ceil(x: number): number;
|
||||
|
||||
/** Returns the cosine (in radians) of a number */
|
||||
static cos(x: number): number;
|
||||
|
||||
/** Returns e raised to the power of a number */
|
||||
static exp(x: number): number;
|
||||
|
||||
/** Returns the largest integer less than or equal to a number */
|
||||
static floor(x: number): number;
|
||||
|
||||
/** Returns the natural logarithm (base e) of a number */
|
||||
static log(x: number): number;
|
||||
|
||||
/** Returns the largest of zero or more numbers */
|
||||
static max(...values: number[]): number;
|
||||
|
||||
/** Returns the smallest of zero or more numbers */
|
||||
static min(...values: number[]): number;
|
||||
|
||||
/** Returns base raised to the power of exponent */
|
||||
static pow(x: number, y: number): number;
|
||||
|
||||
/** Returns a random number between 0 (inclusive) and 1 (exclusive) */
|
||||
static random(): number;
|
||||
|
||||
/** Returns the value of a number rounded to the nearest integer */
|
||||
static round(x: number): number;
|
||||
|
||||
/** Returns the sine (in radians) of a number */
|
||||
static sin(x: number): number;
|
||||
|
||||
/** Returns the square root of a number */
|
||||
static sqrt(x: number): number;
|
||||
|
||||
/** Returns the tangent (in radians) of a number */
|
||||
static tan(x: number): number;
|
||||
}
|
||||
Vendored
-74
@@ -1,74 +0,0 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Number type for working with numeric values and constants.
|
||||
* Access static constants like Number.MAX_VALUE or format numbers with instance methods.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Number Constants
|
||||
* ```js
|
||||
* Number.MAX_VALUE; // ~1.79e+308 (largest representable number)
|
||||
* Number.MIN_VALUE; // ~5e-324 (smallest positive number)
|
||||
* Number.NaN; // NaN
|
||||
* Number.POSITIVE_INFINITY; // Infinity
|
||||
* Number.NEGATIVE_INFINITY; // -Infinity
|
||||
* ```
|
||||
*
|
||||
* ### Formatting Numbers
|
||||
* ```js
|
||||
* var n = 3.14159;
|
||||
* n.toFixed(2); // "3.14" (fixed decimal places)
|
||||
* n.toFixed(0); // "3"
|
||||
* n.toPrecision(4); // "3.142" (significant digits)
|
||||
* n.toExponential(2); // "3.14e+0" (scientific notation)
|
||||
* ```
|
||||
*
|
||||
* ### Converting to String
|
||||
* ```js
|
||||
* var n = 255;
|
||||
* n.toString(); // "255" (base 10, default)
|
||||
* n.toString(16); // "ff" (hexadecimal)
|
||||
* n.toString(2); // "11111111" (binary)
|
||||
* n.toString(8); // "377" (octal)
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* Number.toFixed(2); // TypeError — instance method, not static
|
||||
* (3).toFixed(2); // "3.00" ✅ — wrap literal in parentheses
|
||||
* 3.toFixed(2); // SyntaxError — parser reads 3. as float
|
||||
* ```
|
||||
*/
|
||||
export interface Number {
|
||||
/** The largest representable number (~1.79e+308) */
|
||||
static readonly MAX_VALUE: number;
|
||||
|
||||
/** The smallest representable positive number (~5e-324) */
|
||||
static readonly MIN_VALUE: number;
|
||||
|
||||
/** Represents "Not a Number" (NaN) - the result of undefined or invalid arithmetic operations */
|
||||
static readonly NaN: number;
|
||||
|
||||
/** Represents negative infinity, the result of overflow or division by zero */
|
||||
static readonly NEGATIVE_INFINITY: number;
|
||||
|
||||
/** Represents positive infinity, the result of overflow or division by zero */
|
||||
static readonly POSITIVE_INFINITY: number;
|
||||
|
||||
/** Formats the number using exponential notation with optional fractional digits */
|
||||
toExponential(fractionDigits: number): string;
|
||||
|
||||
/** Formats the number as a fixed-point string with the specified number of fractional digits (0-20) */
|
||||
toFixed(fractionDigits: number): string;
|
||||
|
||||
/** Returns a localized string representation of the number (format depends on locale) */
|
||||
toLocaleString(): string;
|
||||
|
||||
/** Formats the number as a string with the specified number of significant digits (1-21) */
|
||||
toPrecision(precision: number): string;
|
||||
|
||||
/** Converts the number to a string in the specified radix (base 2-36, default 10) */
|
||||
toString(radix: number): string;
|
||||
|
||||
/** Returns the primitive numeric value of this Number object */
|
||||
valueOf(): number;
|
||||
}
|
||||
Vendored
-105
@@ -1,105 +0,0 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Object type, the base type for all JavaScript objects.
|
||||
* Use static methods like Object.keys() and Object.create() to manipulate object structure.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Creating Objects
|
||||
* ```js
|
||||
* var obj = {}; // Empty object literal
|
||||
* var person = { name: "Steve", age: 20 }; // Object with properties
|
||||
* var child = Object.create(person); // Create with prototype
|
||||
* ```
|
||||
*
|
||||
* ### Inspecting Objects
|
||||
* ```js
|
||||
* var obj = { a: 1, b: 2, c: 3 };
|
||||
* Object.keys(obj); // ["a", "b", "c"]
|
||||
* Object.getOwnPropertyNames(obj); // ["a", "b", "c"] (includes non-enumerable)
|
||||
* obj.hasOwnProperty("a"); // true
|
||||
* obj.hasOwnProperty("toString"); // false (inherited, not own)
|
||||
* ```
|
||||
*
|
||||
* ### Freezing & Sealing
|
||||
* ```js
|
||||
* var config = { debug: false };
|
||||
* Object.freeze(config); // Cannot modify, add, or delete properties
|
||||
* config.debug = true; // Silently fails (or throws in strict mode)
|
||||
* Object.isFrozen(config); // true
|
||||
*
|
||||
* var settings = { volume: 50 };
|
||||
* Object.seal(settings); // Can modify values, but cannot add/delete
|
||||
* settings.volume = 75; // ✅ Works
|
||||
* settings.newProp = true; // Silently fails
|
||||
* ```
|
||||
*
|
||||
* ### Property Descriptors
|
||||
* ```js
|
||||
* var obj = {};
|
||||
* Object.defineProperty(obj, "id", {
|
||||
* value: 42,
|
||||
* writable: false, // Cannot be changed
|
||||
* enumerable: true // Shows up in for-in / Object.keys
|
||||
* });
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* Object.keys(); // TypeError — needs an argument
|
||||
* obj.keys(); // TypeError — keys is a static method
|
||||
* Object.hasOwnProperty("a"); // Wrong — instance method on the object
|
||||
* ```
|
||||
*/
|
||||
export interface Object {
|
||||
/** Creates a new object with the specified prototype and optional property descriptors */
|
||||
static create(proto: any, propertiesObject: any): any;
|
||||
|
||||
/** Defines or modifies multiple properties on an object and returns the modified object */
|
||||
static defineProperties(obj: any, props: any): any;
|
||||
|
||||
/** Defines a new property on an object or modifies an existing property and returns the object */
|
||||
static defineProperty(obj: any, prop: string, descriptor: any): any;
|
||||
|
||||
/** Prevents all modifications to an object (cannot add, modify, or delete properties) */
|
||||
static freeze(obj: any): any;
|
||||
|
||||
/** Returns a property descriptor for a named property on an object, or undefined if not found */
|
||||
static getOwnPropertyDescriptor(obj: any, prop: string): any;
|
||||
|
||||
/** Returns an array of all property names (both enumerable and non-enumerable) on an object */
|
||||
static getOwnPropertyNames(obj: any): string[];
|
||||
|
||||
/** Returns the prototype object of the specified object */
|
||||
static getPrototypeOf(obj: any): any;
|
||||
|
||||
/** Determines whether an object is extensible (can have new properties added to it) */
|
||||
static isExtensible(obj: any): boolean;
|
||||
|
||||
/** Determines whether an object has been frozen (is immutable) */
|
||||
static isFrozen(obj: any): boolean;
|
||||
|
||||
/** Determines whether an object is sealed (cannot add or delete properties) */
|
||||
static isSealed(obj: any): boolean;
|
||||
|
||||
/** Returns an array of all enumerable property names on an object */
|
||||
static keys(obj: any): string[];
|
||||
|
||||
/** Prevents new properties from being added to an object but allows modification of existing ones */
|
||||
static preventExtensions(obj: any): any;
|
||||
|
||||
/** Prevents all modifications to an object except for reading and writing property values */
|
||||
static seal(obj: any): any;
|
||||
|
||||
/** Determines whether an object has a property with the specified name (direct property, not inherited) */
|
||||
hasOwnProperty(prop: string): boolean;
|
||||
|
||||
/** Determines whether an object is in the prototype chain of another object */
|
||||
isPrototypeOf(obj: any): boolean;
|
||||
|
||||
/** Determines whether an object property is enumerable (would be included in a for-in loop) */
|
||||
propertyIsEnumerable(prop: string): boolean;
|
||||
|
||||
/** Returns a localized string representation of the object (format depends on locale) */
|
||||
toLocaleString(): string;
|
||||
|
||||
}
|
||||
Vendored
-94
@@ -1,94 +0,0 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - RegExp type for pattern matching and string manipulation.
|
||||
* Create with the RegExp constructor or literal syntax: /pattern/flags
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Creating Regular Expressions
|
||||
* ```js
|
||||
* // Method 1: Regex literal (preferred)
|
||||
* var re = /hello/;
|
||||
* var reFlags = /hello/gi; // g=global, i=ignore case, m=multiline
|
||||
*
|
||||
* // Method 2: Constructor (useful for dynamic patterns)
|
||||
* var re2 = new RegExp("hello");
|
||||
* var re3 = new RegExp("hello", "gi");
|
||||
* var dynamic = new RegExp(playerName); // Build pattern from variable
|
||||
* ```
|
||||
*
|
||||
* ### Testing for Matches
|
||||
* ```js
|
||||
* /\d+/.test("abc123"); // true — contains digits
|
||||
* /^\d+$/.test("abc123"); // false — not ALL digits
|
||||
* /^\d+$/.test("12345"); // true — all digits
|
||||
* /hello/i.test("Hello World"); // true — case insensitive
|
||||
* ```
|
||||
*
|
||||
* ### Extracting Matches
|
||||
* ```js
|
||||
* var match = /\d+/.exec("abc123def"); // ["123"]
|
||||
* var noMatch = /\d+/.exec("no digits"); // null
|
||||
*
|
||||
* // With capturing groups
|
||||
* var result = /(\w+)@(\w+)/.exec("user@domain");
|
||||
* // result[0] = "user@domain" (full match)
|
||||
* // result[1] = "user" (first group)
|
||||
* // result[2] = "domain" (second group)
|
||||
* ```
|
||||
*
|
||||
* ### Using with String Methods
|
||||
* ```js
|
||||
* "abc123".match(/\d+/); // ["123"]
|
||||
* "abc123".search(/\d/); // 3 (index of first digit)
|
||||
* "abc123".replace(/\d+/, "NUM"); // "abcNUMdef"
|
||||
* "a,b,,c".split(/,+/); // ["a", "b", "c"]
|
||||
* ```
|
||||
*
|
||||
* ### RegExp Properties
|
||||
* ```js
|
||||
* var re = /hello/gi;
|
||||
* re.source; // "hello"
|
||||
* re.global; // true
|
||||
* re.ignoreCase; // true
|
||||
* re.multiline; // false
|
||||
* re.lastIndex; // 0 (changes with global exec/test)
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* RegExp.test("string"); // TypeError — test is an INSTANCE method!
|
||||
* new RegExp.test("string"); // TypeError — incorrect syntax
|
||||
* // ✅ CORRECT:
|
||||
* /pattern/.test("string"); // Use on a regex instance
|
||||
* new RegExp("pattern").test("string"); // Or create instance first
|
||||
*
|
||||
* // Double-escape backslashes in constructor strings:
|
||||
* new RegExp("\d+"); // Wrong — \d becomes just d
|
||||
* new RegExp("\\d+"); // ✅ Correct — \\d becomes \d
|
||||
* ```
|
||||
*/
|
||||
export interface RegExp {
|
||||
/** The pattern string that was used to create this regular expression */
|
||||
source: string;
|
||||
|
||||
/** True if the 'g' (global) flag is set, affecting match behavior in exec() and test() */
|
||||
global: boolean;
|
||||
|
||||
/** True if the 'i' (ignore case) flag is set, making pattern matching case-insensitive */
|
||||
ignoreCase: boolean;
|
||||
|
||||
/** True if the 'm' (multiline) flag is set, affecting ^ and $ anchor behavior */
|
||||
multiline: boolean;
|
||||
|
||||
/** The index at which to start searching in the string (used with 'g' flag in exec() loops) */
|
||||
lastIndex: number;
|
||||
|
||||
/** Searches the string for a match and returns an array of matches or null if no match found */
|
||||
exec(string: string): any[];
|
||||
|
||||
/** Tests whether the pattern matches the string, returning true or false */
|
||||
test(string: string): boolean;
|
||||
|
||||
/** Returns a string representation of the regular expression (e.g., "/pattern/flags") */
|
||||
toString(): string;
|
||||
}
|
||||
Vendored
-82
@@ -1,82 +0,0 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - String type for working with text. Strings are immutable sequences of characters.
|
||||
* Use String.fromCharCode() to create a string from character codes.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Creating Strings
|
||||
* ```js
|
||||
* var greeting = "Hello, world!"; // String literal (double quotes)
|
||||
* var name = 'Steve'; // String literal (single quotes)
|
||||
* var fromCode = String.fromCharCode(65); // "A" (from char code)
|
||||
* ```
|
||||
*
|
||||
* ### Searching & Checking
|
||||
* ```js
|
||||
* var str = "Hello, world!";
|
||||
* str.indexOf("world"); // 7
|
||||
* str.indexOf("missing"); // -1 (not found)
|
||||
* str.lastIndexOf("l"); // 10
|
||||
* str.search(/world/); // 7 (regex search)
|
||||
* str.charAt(0); // "H"
|
||||
* str.charCodeAt(0); // 72
|
||||
* str.length; // 13
|
||||
* ```
|
||||
*
|
||||
* ### Extracting & Transforming
|
||||
* ```js
|
||||
* var str = "Hello, world!";
|
||||
* str.slice(7, 12); // "world"
|
||||
* str.substring(0, 5); // "Hello"
|
||||
* str.toUpperCase(); // "HELLO, WORLD!"
|
||||
* str.toLowerCase(); // "hello, world!"
|
||||
* str.trim(); // Removes leading/trailing whitespace
|
||||
* str.replace("world", "NPC"); // "Hello, NPC!"
|
||||
* str.replace(/l/g, "L"); // "HeLLo, worLd!" (regex with global flag)
|
||||
* ```
|
||||
*
|
||||
* ### Splitting & Joining
|
||||
* ```js
|
||||
* "a,b,c".split(","); // ["a", "b", "c"]
|
||||
* "hello".split(""); // ["h", "e", "l", "l", "o"]
|
||||
* ["a", "b", "c"].join("-"); // "a-b-c" (Array.join, but related)
|
||||
* "one two three".split(" ", 2); // ["one", "two"] (limit results)
|
||||
* ```
|
||||
*
|
||||
* ### Pattern Matching
|
||||
* ```js
|
||||
* "abc123".match(/\d+/); // ["123"]
|
||||
* "no numbers".match(/\d+/); // null
|
||||
* "hello".concat(" ", "world"); // "hello world"
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* str.replace("l", "L"); // Only replaces FIRST "l" — use /l/g for all
|
||||
* String.charAt(0); // TypeError — instance method, not static
|
||||
* "abc"[0]; // May not work in all engines — use charAt()
|
||||
* ```
|
||||
*/
|
||||
export interface String {
|
||||
/** The number of characters in the string */
|
||||
length: number;
|
||||
|
||||
/** Creates a string from one or more Unicode character codes (e.g., String.fromCharCode(65, 66, 67) returns "ABC") */
|
||||
static fromCharCode(...codes: number[]): string;
|
||||
|
||||
/** Returns the Unicode code point (0–65535) of the character at the specified index. Unlike Java's charAt() + cast, this returns the numeric code directly. */
|
||||
charCodeAt(pos: number): number;
|
||||
|
||||
/** Tests the string against a regular expression and returns an array of matches, or null if no match found */
|
||||
match(regexp: any): any[];
|
||||
|
||||
/**
|
||||
* Replaces a pattern (string or RegExp object) with a replacement string.
|
||||
* Unlike Java's replace/replaceAll which only accept String/CharSequence,
|
||||
* this accepts a RegExp object as the first argument.
|
||||
*/
|
||||
replace(searchValue: any, replaceValue: any): string;
|
||||
|
||||
/** Returns the index of the first character that matches a regular expression, or -1 if not found */
|
||||
search(regexp: any): number;
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,414 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>All Classes (CustomNPC-Plus 1.11.1 API)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="javadoc-theme.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.min.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<main role="main">
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="noppes/npcs/api/AbstractNpcAPI.html" title="class in noppes.npcs.api">AbstractNpcAPI</a></li>
|
||||
<li><a href="noppes/npcs/api/ability/IAbility.html" title="interface in noppes.npcs.api.ability"><span class="interfaceName">IAbility</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/IAbilityAction.html" title="interface in noppes.npcs.api.ability"><span class="interfaceName">IAbilityAction</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityCharge.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityCharge</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityCounter.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityCounter</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityCutter.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityCutter</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityDash.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityDash</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityDefend.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityDefend</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityDisc.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityDisc</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityDodge.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityDodge</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityEffect.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityEffect</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityEnergyBeam.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityEnergyBeam</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityEnergyProjectile.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityEnergyProjectile</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAbilityEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAbilityEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAbilityEvent.CompleteEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAbilityEvent.CompleteEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAbilityEvent.DefendEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAbilityEvent.DefendEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAbilityEvent.ExecuteEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAbilityEvent.ExecuteEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAbilityEvent.HitEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAbilityEvent.HitEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAbilityEvent.InterruptEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAbilityEvent.InterruptEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAbilityEvent.StartEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAbilityEvent.StartEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAbilityEvent.TickEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAbilityEvent.TickEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAbilityEvent.ToggleEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAbilityEvent.ToggleEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAbilityEvent.ToggleUpdateEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAbilityEvent.ToggleUpdateEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityGuard.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityGuard</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/IAbilityHandler.html" title="interface in noppes.npcs.api.ability"><span class="interfaceName">IAbilityHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IAbilityHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IAbilityHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityHazard.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityHazard</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityHeavyHit.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityHeavyHit</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityLaser.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityLaser</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityOrb.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityOrb</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityProjectile.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityProjectile</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityShockwave.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityShockwave</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilitySlam.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilitySlam</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilitySweeper.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilitySweeper</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityTeleport.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityTeleport</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityTrap.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityTrap</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityVortex.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityVortex</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/type/IAbilityZone.html" title="interface in noppes.npcs.api.ability.type"><span class="interfaceName">IAbilityZone</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IAction.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IAction</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IActionChain.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IActionChain</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IActionListener.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IActionListener</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IActionManager.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IActionManager</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IActionQueue.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IActionQueue</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IAnimal.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IAnimal</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IAnimatable.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IAnimatable</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IAnimation.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IAnimation</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IAnimationData.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IAnimationData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAnimationEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAnimationEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAnimationEvent.Ended.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAnimationEvent.Ended</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAnimationEvent.IFrameEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAnimationEvent.IFrameEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAnimationEvent.IFrameEvent.Entered.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAnimationEvent.IFrameEvent.Entered</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAnimationEvent.IFrameEvent.Exited.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAnimationEvent.IFrameEvent.Exited</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAnimationEvent.Started.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAnimationEvent.Started</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IAnimationHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IAnimationHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IAnvilRecipe.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IAnvilRecipe</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IArrow.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IArrow</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IAttributeDefinition.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IAttributeDefinition</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IAttributeHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IAttributeHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IAuctionClaim.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IAuctionClaim</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAuctionEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAuctionEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAuctionEvent.BidEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAuctionEvent.BidEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAuctionEvent.BuyoutEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAuctionEvent.BuyoutEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAuctionEvent.CancelEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAuctionEvent.CancelEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAuctionEvent.ClaimEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAuctionEvent.ClaimEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IAuctionEvent.CreateEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IAuctionEvent.CreateEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IAuctionHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IAuctionHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IAuctionListing.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IAuctionListing</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IAvailability.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IAvailability</span></a></li>
|
||||
<li><a href="noppes/npcs/api/IBlock.html" title="interface in noppes.npcs.api"><span class="interfaceName">IBlock</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IBlockEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IBlockEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IBlockEvent.BreakEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IBlockEvent.BreakEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IBlockEvent.ClickedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IBlockEvent.ClickedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IBlockEvent.CollidedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IBlockEvent.CollidedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IBlockEvent.EntityFallenUponEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IBlockEvent.EntityFallenUponEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IBlockEvent.ExplodedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IBlockEvent.ExplodedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IBlockEvent.HarvestedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IBlockEvent.HarvestedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IBlockEvent.InitEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IBlockEvent.InitEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IBlockEvent.InteractEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IBlockEvent.InteractEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IBlockEvent.NeighborChangedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IBlockEvent.NeighborChangedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IBlockEvent.RainFillEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IBlockEvent.RainFillEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IBlockEvent.RedstoneEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IBlockEvent.RedstoneEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IBlockEvent.TimerEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IBlockEvent.TimerEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IBlockEvent.UpdateEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IBlockEvent.UpdateEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/block/IBlockScripted.html" title="interface in noppes.npcs.api.block"><span class="interfaceName">IBlockScripted</span></a></li>
|
||||
<li><a href="noppes/npcs/api/gui/IButton.html" title="interface in noppes.npcs.api.gui"><span class="interfaceName">IButton</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/IChainedAbility.html" title="interface in noppes.npcs.api.ability"><span class="interfaceName">IChainedAbility</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IChainEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IChainEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IChainEvent.CompleteEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IChainEvent.CompleteEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IChainEvent.InterruptEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IChainEvent.InterruptEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IChainEvent.NextEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IChainEvent.NextEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IChainEvent.StartEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IChainEvent.StartEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/ICloneHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">ICloneHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ICommand.html" title="interface in noppes.npcs.api"><span class="interfaceName">ICommand</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/actions/IConditionalAction.html" title="interface in noppes.npcs.api.handler.data.actions"><span class="interfaceName">IConditionalAction</span></a></li>
|
||||
<li><a href="noppes/npcs/api/IContainer.html" title="interface in noppes.npcs.api"><span class="interfaceName">IContainer</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/ICustomAbility.html" title="interface in noppes.npcs.api.ability"><span class="interfaceName">ICustomAbility</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/ICustomAttribute.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">ICustomAttribute</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/ICustomEffect.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">ICustomEffect</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/ICustomEffectHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">ICustomEffectHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/gui/ICustomGui.html" title="interface in noppes.npcs.api.gui"><span class="interfaceName">ICustomGui</span></a></li>
|
||||
<li><a href="noppes/npcs/api/gui/ICustomGuiComponent.html" title="interface in noppes.npcs.api.gui"><span class="interfaceName">ICustomGuiComponent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/ICustomGuiEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">ICustomGuiEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/ICustomGuiEvent.ButtonEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">ICustomGuiEvent.ButtonEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/ICustomGuiEvent.CloseEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">ICustomGuiEvent.CloseEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/ICustomGuiEvent.ScrollEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">ICustomGuiEvent.ScrollEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/ICustomGuiEvent.SlotClickEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">ICustomGuiEvent.SlotClickEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/ICustomGuiEvent.SlotEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">ICustomGuiEvent.SlotEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/ICustomGuiEvent.UnfocusedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">ICustomGuiEvent.UnfocusedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/ICustomNpc.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">ICustomNpc</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/ICustomNPCsEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">ICustomNPCsEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/ICustomNPCsEvent.CNPCNaturalSpawnEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">ICustomNPCsEvent.CNPCNaturalSpawnEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/ICustomNPCsEvent.ScriptedCommandEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">ICustomNPCsEvent.ScriptedCommandEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/overlay/ICustomOverlay.html" title="interface in noppes.npcs.api.overlay"><span class="interfaceName">ICustomOverlay</span></a></li>
|
||||
<li><a href="noppes/npcs/api/overlay/ICustomOverlayComponent.html" title="interface in noppes.npcs.api.overlay"><span class="interfaceName">ICustomOverlayComponent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/IDamageSource.html" title="interface in noppes.npcs.api"><span class="interfaceName">IDamageSource</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/IDataAbilities.html" title="interface in noppes.npcs.api.ability"><span class="interfaceName">IDataAbilities</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IDBCPlayer.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IDBCPlayer</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IDialog.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IDialog</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IDialogCategory.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IDialogCategory</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IDialogEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IDialogEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IDialogEvent.DialogClosed.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IDialogEvent.DialogClosed</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IDialogEvent.DialogOpen.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IDialogEvent.DialogOpen</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IDialogEvent.DialogOption.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IDialogEvent.DialogOption</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IDialogHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IDialogHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IDialogImage.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IDialogImage</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IDialogOption.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IDialogOption</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEnergyAbility.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEnergyAbility</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/data/IEnergyAnchorData.html" title="interface in noppes.npcs.api.ability.data"><span class="interfaceName">IEnergyAnchorData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEnergyBarrier.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEnergyBarrier</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IEnergyBarrierEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IEnergyBarrierEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IEnergyBarrierEvent.DestroyedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IEnergyBarrierEvent.DestroyedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IEnergyBarrierEvent.HitEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IEnergyBarrierEvent.HitEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IEnergyBarrierEvent.SpawnedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IEnergyBarrierEvent.SpawnedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IEnergyBarrierEvent.UpdateEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IEnergyBarrierEvent.UpdateEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEnergyBeam.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEnergyBeam</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/data/IEnergyCombatData.html" title="interface in noppes.npcs.api.ability.data"><span class="interfaceName">IEnergyCombatData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEnergyDisc.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEnergyDisc</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/data/IEnergyDisplayData.html" title="interface in noppes.npcs.api.ability.data"><span class="interfaceName">IEnergyDisplayData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEnergyDome.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEnergyDome</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEnergyExplosion.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEnergyExplosion</span></a></li>
|
||||
<li><a href="noppes/npcs/api/IEnergyHandler.html" title="interface in noppes.npcs.api"><span class="interfaceName">IEnergyHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/data/IEnergyHomingData.html" title="interface in noppes.npcs.api.ability.data"><span class="interfaceName">IEnergyHomingData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEnergyLaser.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEnergyLaser</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/data/IEnergyLifespanData.html" title="interface in noppes.npcs.api.ability.data"><span class="interfaceName">IEnergyLifespanData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/data/IEnergyLightningData.html" title="interface in noppes.npcs.api.ability.data"><span class="interfaceName">IEnergyLightningData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEnergyOrb.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEnergyOrb</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEnergyPanel.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEnergyPanel</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEnergyProjectile.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEnergyProjectile</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IEnergyProjectileEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IEnergyProjectileEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IEnergyProjectileEvent.BlockImpactEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IEnergyProjectileEvent.BlockImpactEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IEnergyProjectileEvent.EntityImpactEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IEnergyProjectileEvent.EntityImpactEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IEnergyProjectileEvent.ExpiredEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IEnergyProjectileEvent.ExpiredEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IEnergyProjectileEvent.FiredEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IEnergyProjectileEvent.FiredEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IEnergyProjectileEvent.UpdateEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IEnergyProjectileEvent.UpdateEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEnergySlicer.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEnergySlicer</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEnergySweeper.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEnergySweeper</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEnergyZone.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEnergyZone</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEntity.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEntity</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEntityItem.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEntityItem</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEntityLiving.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEntityLiving</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IEntityLivingBase.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IEntityLivingBase</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IFaction.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IFaction</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IFactionEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IFactionEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IFactionEvent.FactionPoints.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IFactionEvent.FactionPoints</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IFactionHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IFactionHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IFishHook.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IFishHook</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IForgeEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IForgeEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IForgeEvent.EntityEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IForgeEvent.EntityEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IForgeEvent.InitEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IForgeEvent.InitEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IForgeEvent.WorldEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IForgeEvent.WorldEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IFrame.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IFrame</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IFramePart.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IFramePart</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/data/IHitboxData.html" title="interface in noppes.npcs.api.entity.data"><span class="interfaceName">IHitboxData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IHookDefinition.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IHookDefinition</span></a></li>
|
||||
<li><a href="noppes/npcs/api/item/IItemArmor.html" title="interface in noppes.npcs.api.item"><span class="interfaceName">IItemArmor</span></a></li>
|
||||
<li><a href="noppes/npcs/api/item/IItemBlock.html" title="interface in noppes.npcs.api.item"><span class="interfaceName">IItemBlock</span></a></li>
|
||||
<li><a href="noppes/npcs/api/item/IItemBook.html" title="interface in noppes.npcs.api.item"><span class="interfaceName">IItemBook</span></a></li>
|
||||
<li><a href="noppes/npcs/api/item/IItemCustom.html" title="interface in noppes.npcs.api.item"><span class="interfaceName">IItemCustom</span></a></li>
|
||||
<li><a href="noppes/npcs/api/item/IItemCustomizable.html" title="interface in noppes.npcs.api.item"><span class="interfaceName">IItemCustomizable</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IItemEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IItemEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IItemEvent.AttackEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IItemEvent.AttackEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IItemEvent.BreakItem.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IItemEvent.BreakItem</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IItemEvent.FinishUsingItem.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IItemEvent.FinishUsingItem</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IItemEvent.InitEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IItemEvent.InitEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IItemEvent.InteractEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IItemEvent.InteractEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IItemEvent.PickedUpEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IItemEvent.PickedUpEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IItemEvent.RepairItem.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IItemEvent.RepairItem</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IItemEvent.RightClickEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IItemEvent.RightClickEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IItemEvent.SpawnEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IItemEvent.SpawnEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IItemEvent.StartUsingItem.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IItemEvent.StartUsingItem</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IItemEvent.StopUsingItem.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IItemEvent.StopUsingItem</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IItemEvent.TossedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IItemEvent.TossedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IItemEvent.UpdateEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IItemEvent.UpdateEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IItemEvent.UsingItem.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IItemEvent.UsingItem</span></a></li>
|
||||
<li><a href="noppes/npcs/api/item/IItemLinked.html" title="interface in noppes.npcs.api.item"><span class="interfaceName">IItemLinked</span></a></li>
|
||||
<li><a href="noppes/npcs/api/gui/IItemSlot.html" title="interface in noppes.npcs.api.gui"><span class="interfaceName">IItemSlot</span></a></li>
|
||||
<li><a href="noppes/npcs/api/item/IItemStack.html" title="interface in noppes.npcs.api.item"><span class="interfaceName">IItemStack</span></a></li>
|
||||
<li><a href="noppes/npcs/api/jobs/IJob.html" title="interface in noppes.npcs.api.jobs"><span class="interfaceName">IJob</span></a></li>
|
||||
<li><a href="noppes/npcs/api/jobs/IJobBard.html" title="interface in noppes.npcs.api.jobs"><span class="interfaceName">IJobBard</span></a></li>
|
||||
<li><a href="noppes/npcs/api/jobs/IJobConversation.html" title="interface in noppes.npcs.api.jobs"><span class="interfaceName">IJobConversation</span></a></li>
|
||||
<li><a href="noppes/npcs/api/jobs/IJobFollower.html" title="interface in noppes.npcs.api.jobs"><span class="interfaceName">IJobFollower</span></a></li>
|
||||
<li><a href="noppes/npcs/api/jobs/IJobGuard.html" title="interface in noppes.npcs.api.jobs"><span class="interfaceName">IJobGuard</span></a></li>
|
||||
<li><a href="noppes/npcs/api/jobs/IJobHealer.html" title="interface in noppes.npcs.api.jobs"><span class="interfaceName">IJobHealer</span></a></li>
|
||||
<li><a href="noppes/npcs/api/jobs/IJobItemGiver.html" title="interface in noppes.npcs.api.jobs"><span class="interfaceName">IJobItemGiver</span></a></li>
|
||||
<li><a href="noppes/npcs/api/jobs/IJobSpawner.html" title="interface in noppes.npcs.api.jobs"><span class="interfaceName">IJobSpawner</span></a></li>
|
||||
<li><a href="noppes/npcs/api/gui/ILabel.html" title="interface in noppes.npcs.api.gui"><span class="interfaceName">ILabel</span></a></li>
|
||||
<li><a href="noppes/npcs/api/gui/ILine.html" title="interface in noppes.npcs.api.gui"><span class="interfaceName">ILine</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/ILine.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">ILine</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/ILines.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">ILines</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/ILinkedItem.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">ILinkedItem</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/ILinkedItemEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">ILinkedItemEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/ILinkedItemEvent.BuildEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">ILinkedItemEvent.BuildEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/ILinkedItemEvent.VersionChangeEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">ILinkedItemEvent.VersionChangeEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/ILinkedItemHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">ILinkedItemHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IMagic.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IMagic</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IMagicCycle.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IMagicCycle</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IMagicData.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IMagicData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IMagicHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IMagicHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/data/IMark.html" title="interface in noppes.npcs.api.entity.data"><span class="interfaceName">IMark</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/data/IModelData.html" title="interface in noppes.npcs.api.entity.data"><span class="interfaceName">IModelData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/data/IModelRotate.html" title="interface in noppes.npcs.api.entity.data"><span class="interfaceName">IModelRotate</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/data/IModelRotatePart.html" title="interface in noppes.npcs.api.entity.data"><span class="interfaceName">IModelRotatePart</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/data/IModelScale.html" title="interface in noppes.npcs.api.entity.data"><span class="interfaceName">IModelScale</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/data/IModelScalePart.html" title="interface in noppes.npcs.api.entity.data"><span class="interfaceName">IModelScalePart</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IMonster.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IMonster</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/INaturalSpawn.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">INaturalSpawn</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/INaturalSpawnsHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">INaturalSpawnsHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/INbt.html" title="interface in noppes.npcs.api"><span class="interfaceName">INbt</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.CollideEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent.CollideEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.DamagedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent.DamagedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.DialogClosedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent.DialogClosedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.DialogEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent.DialogEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.DiedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent.DiedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.InitEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent.InitEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.InteractEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent.InteractEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.KilledEntityEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent.KilledEntityEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.MeleeAttackEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent.MeleeAttackEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.RangedLaunchedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent.RangedLaunchedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.SwingEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent.SwingEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.TargetEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent.TargetEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.TargetLostEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent.TargetLostEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.TimerEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent.TimerEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/INpcEvent.UpdateEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">INpcEvent.UpdateEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IOverlayHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IOverlayHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/overlay/IOverlayLabel.html" title="interface in noppes.npcs.api.overlay"><span class="interfaceName">IOverlayLabel</span></a></li>
|
||||
<li><a href="noppes/npcs/api/overlay/IOverlayLine.html" title="interface in noppes.npcs.api.overlay"><span class="interfaceName">IOverlayLine</span></a></li>
|
||||
<li><a href="noppes/npcs/api/overlay/IOverlayTexturedRect.html" title="interface in noppes.npcs.api.overlay"><span class="interfaceName">IOverlayTexturedRect</span></a></li>
|
||||
<li><a href="noppes/npcs/api/IParticle.html" title="interface in noppes.npcs.api"><span class="interfaceName">IParticle</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IParty.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IParty</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPartyEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPartyEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPartyEvent.PartyDisbandEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPartyEvent.PartyDisbandEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPartyEvent.PartyInviteEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPartyEvent.PartyInviteEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPartyEvent.PartyKickEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPartyEvent.PartyKickEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPartyEvent.PartyLeaveEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPartyEvent.PartyLeaveEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPartyEvent.PartyQuestCompletedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPartyEvent.PartyQuestCompletedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPartyEvent.PartyQuestSetEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPartyEvent.PartyQuestSetEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPartyEvent.PartyQuestTurnedInEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPartyEvent.PartyQuestTurnedInEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IPartyHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IPartyHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IPartyOptions.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IPartyOptions</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IPixelmon.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IPixelmon</span></a></li>
|
||||
<li><a href="noppes/npcs/api/IPixelmonPlayerData.html" title="interface in noppes.npcs.api"><span class="interfaceName">IPixelmonPlayerData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IPlayer.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IPlayer</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ability/IPlayerAbilityData.html" title="interface in noppes.npcs.api.ability"><span class="interfaceName">IPlayerAbilityData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IPlayerAttributes.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IPlayerAttributes</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IPlayerBankData.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IPlayerBankData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IPlayerData.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IPlayerData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IPlayerDialogData.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IPlayerDialogData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IPlayerEffect.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IPlayerEffect</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.AchievementEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.AchievementEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.AttackedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.AttackedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.AttackEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.AttackEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.BonemealEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.BonemealEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.BreakEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.BreakEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.ChangedDimension.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.ChangedDimension</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.ChatEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.ChatEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.ContainerClosed.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.ContainerClosed</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.ContainerOpen.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.ContainerOpen</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.DamagedEntityEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.DamagedEntityEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.DamagedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.DamagedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.DiedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.DiedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.DropEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.DropEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.EffectEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.EffectEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.EffectEvent.Added.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.EffectEvent.Added</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.EffectEvent.Removed.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.EffectEvent.Removed</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.EffectEvent.Ticked.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.EffectEvent.Ticked</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.FallEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.FallEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.FillBucketEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.FillBucketEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.FinishUsingItem.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.FinishUsingItem</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.InitEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.InitEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.InteractEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.InteractEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.JumpEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.JumpEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.KeyPressedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.KeyPressedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.KilledEntityEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.KilledEntityEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.LevelUpEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.LevelUpEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.LightningEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.LightningEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.LoginEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.LoginEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.LogoutEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.LogoutEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.MouseClickedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.MouseClickedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.PickUpEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.PickUpEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.PickupXPEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.PickupXPEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.ProfileEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.ProfileEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.ProfileEvent.Changed.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.ProfileEvent.Changed</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.ProfileEvent.Create.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.ProfileEvent.Create</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.ProfileEvent.Removed.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.ProfileEvent.Removed</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.RangedChargeEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.RangedChargeEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.RangedLaunchedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.RangedLaunchedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.RespawnEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.RespawnEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.RightClickEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.RightClickEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.SleepEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.SleepEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.SoundEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.SoundEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.StartUsingItem.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.StartUsingItem</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.StopUsingItem.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.StopUsingItem</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.TimerEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.TimerEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.TossEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.TossEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.UpdateEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.UpdateEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.UseHoeEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.UseHoeEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.UsingItem.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.UsingItem</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IPlayerEvent.WakeUpEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IPlayerEvent.WakeUpEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IPlayerFactionData.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IPlayerFactionData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IPlayerItemGiverData.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IPlayerItemGiverData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IPlayerMail.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IPlayerMail</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IPlayerMailData.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IPlayerMailData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IPlayerQuestData.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IPlayerQuestData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IPlayerTradeData.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IPlayerTradeData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IPlayerTransportData.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IPlayerTransportData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/IPos.html" title="interface in noppes.npcs.api"><span class="interfaceName">IPos</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IProfile.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IProfile</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IProfileHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IProfileHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IProfileOptions.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IProfileOptions</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IProjectile.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IProjectile</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IProjectileEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IProjectileEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IProjectileEvent.ImpactEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IProjectileEvent.ImpactEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IProjectileEvent.UpdateEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IProjectileEvent.UpdateEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IQuest.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IQuest</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IQuestCategory.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IQuestCategory</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IQuestDialog.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IQuestDialog</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IQuestEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IQuestEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IQuestEvent.QuestCompletedEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IQuestEvent.QuestCompletedEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IQuestEvent.QuestStartEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IQuestEvent.QuestStartEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IQuestEvent.QuestTurnedInEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IQuestEvent.QuestTurnedInEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IQuestHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IQuestHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IQuestInterface.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IQuestInterface</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IQuestItem.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IQuestItem</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IQuestKill.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IQuestKill</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IQuestLocation.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IQuestLocation</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IQuestObjective.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IQuestObjective</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/IRecipe.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">IRecipe</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IRecipeEvent.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IRecipeEvent</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IRecipeEvent.Post.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IRecipeEvent.Post</span></a></li>
|
||||
<li><a href="noppes/npcs/api/event/IRecipeEvent.Pre.html" title="interface in noppes.npcs.api.event"><span class="interfaceName">IRecipeEvent.Pre</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IRecipeHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IRecipeHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/roles/IRole.html" title="interface in noppes.npcs.api.roles"><span class="interfaceName">IRole</span></a></li>
|
||||
<li><a href="noppes/npcs/api/roles/IRoleBank.html" title="interface in noppes.npcs.api.roles"><span class="interfaceName">IRoleBank</span></a></li>
|
||||
<li><a href="noppes/npcs/api/roles/IRoleFollower.html" title="interface in noppes.npcs.api.roles"><span class="interfaceName">IRoleFollower</span></a></li>
|
||||
<li><a href="noppes/npcs/api/roles/IRoleMailman.html" title="interface in noppes.npcs.api.roles"><span class="interfaceName">IRoleMailman</span></a></li>
|
||||
<li><a href="noppes/npcs/api/roles/IRoleTrader.html" title="interface in noppes.npcs.api.roles"><span class="interfaceName">IRoleTrader</span></a></li>
|
||||
<li><a href="noppes/npcs/api/roles/IRoleTransporter.html" title="interface in noppes.npcs.api.roles"><span class="interfaceName">IRoleTransporter</span></a></li>
|
||||
<li><a href="noppes/npcs/api/scoreboard/IScoreboard.html" title="interface in noppes.npcs.api.scoreboard"><span class="interfaceName">IScoreboard</span></a></li>
|
||||
<li><a href="noppes/npcs/api/scoreboard/IScoreboardObjective.html" title="interface in noppes.npcs.api.scoreboard"><span class="interfaceName">IScoreboardObjective</span></a></li>
|
||||
<li><a href="noppes/npcs/api/scoreboard/IScoreboardTeam.html" title="interface in noppes.npcs.api.scoreboard"><span class="interfaceName">IScoreboardTeam</span></a></li>
|
||||
<li><a href="noppes/npcs/api/IScreenSize.html" title="interface in noppes.npcs.api"><span class="interfaceName">IScreenSize</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/IScriptHookHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">IScriptHookHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/gui/IScroll.html" title="interface in noppes.npcs.api.gui"><span class="interfaceName">IScroll</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ISkinOverlay.html" title="interface in noppes.npcs.api"><span class="interfaceName">ISkinOverlay</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/ISlot.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">ISlot</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/ISound.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">ISound</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/ITag.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">ITag</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/ITagHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">ITagHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ITelegraph.html" title="interface in noppes.npcs.api"><span class="interfaceName">ITelegraph</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/ITelegraphHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">ITelegraphHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ITelegraphInstance.html" title="interface in noppes.npcs.api"><span class="interfaceName">ITelegraphInstance</span></a></li>
|
||||
<li><a href="noppes/npcs/api/gui/ITextField.html" title="interface in noppes.npcs.api.gui"><span class="interfaceName">ITextField</span></a></li>
|
||||
<li><a href="noppes/npcs/api/block/ITextPlane.html" title="interface in noppes.npcs.api.block"><span class="interfaceName">ITextPlane</span></a></li>
|
||||
<li><a href="noppes/npcs/api/gui/ITexturedRect.html" title="interface in noppes.npcs.api.gui"><span class="interfaceName">ITexturedRect</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IThrowable.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IThrowable</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ITileEntity.html" title="interface in noppes.npcs.api"><span class="interfaceName">ITileEntity</span></a></li>
|
||||
<li><a href="noppes/npcs/api/ITimers.html" title="interface in noppes.npcs.api"><span class="interfaceName">ITimers</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/data/ITintData.html" title="interface in noppes.npcs.api.entity.data"><span class="interfaceName">ITintData</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/ITransportCategory.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">ITransportCategory</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/ITransportHandler.html" title="interface in noppes.npcs.api.handler"><span class="interfaceName">ITransportHandler</span></a></li>
|
||||
<li><a href="noppes/npcs/api/handler/data/ITransportLocation.html" title="interface in noppes.npcs.api.handler.data"><span class="interfaceName">ITransportLocation</span></a></li>
|
||||
<li><a href="noppes/npcs/api/entity/IVillager.html" title="interface in noppes.npcs.api.entity"><span class="interfaceName">IVillager</span></a></li>
|
||||
<li><a href="noppes/npcs/api/IWorld.html" title="interface in noppes.npcs.api"><span class="interfaceName">IWorld</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,230 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>All Packages (CustomNPC-Plus 1.11.1 API)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="javadoc-theme.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.min.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="All Packages (CustomNPC-Plus 1.11.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "./";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="index.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h1 title="All&nbsp;Packages" class="title">All Packages</h1>
|
||||
</div>
|
||||
<div class="allPackagesContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="packagesSummary">
|
||||
<caption><span>Package Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Package</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/package-summary.html">noppes.npcs.api</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/ability/package-summary.html">noppes.npcs.api.ability</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/ability/data/package-summary.html">noppes.npcs.api.ability.data</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/ability/type/package-summary.html">noppes.npcs.api.ability.type</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/block/package-summary.html">noppes.npcs.api.block</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/entity/package-summary.html">noppes.npcs.api.entity</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/entity/data/package-summary.html">noppes.npcs.api.entity.data</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/event/package-summary.html">noppes.npcs.api.event</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/gui/package-summary.html">noppes.npcs.api.gui</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/handler/package-summary.html">noppes.npcs.api.handler</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/handler/data/package-summary.html">noppes.npcs.api.handler.data</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/handler/data/actions/package-summary.html">noppes.npcs.api.handler.data.actions</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/item/package-summary.html">noppes.npcs.api.item</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/jobs/package-summary.html">noppes.npcs.api.jobs</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/overlay/package-summary.html">noppes.npcs.api.overlay</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/roles/package-summary.html">noppes.npcs.api.roles</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/scoreboard/package-summary.html">noppes.npcs.api.scoreboard</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="index.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,195 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>Constant Field Values (CustomNPC-Plus 1.11.1 API)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="javadoc-theme.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.min.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Constant Field Values (CustomNPC-Plus 1.11.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "./";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="index.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
|
||||
<section>
|
||||
<h2 title="Contents">Contents</h2>
|
||||
<ul>
|
||||
<li><a href="#noppes.npcs">noppes.npcs.*</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
<div class="constantValuesContainer"><a id="noppes.npcs">
|
||||
<!-- -->
|
||||
</a>
|
||||
<section>
|
||||
<h2 title="noppes.npcs">noppes.npcs.*</h2>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="constantsSummary">
|
||||
<caption><span>noppes.npcs.api.handler.data.<a href="noppes/npcs/api/handler/data/INaturalSpawn.html" title="interface in noppes.npcs.api.handler.data">INaturalSpawn</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Constant Field</th>
|
||||
<th class="colLast" scope="col">Value</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a id="noppes.npcs.api.handler.data.INaturalSpawn.DESPAWN_FORCE_NATURAL">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<th class="colSecond" scope="row"><code><a href="noppes/npcs/api/handler/data/INaturalSpawn.html#DESPAWN_FORCE_NATURAL">DESPAWN_FORCE_NATURAL</a></code></th>
|
||||
<td class="colLast"><code>0</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a id="noppes.npcs.api.handler.data.INaturalSpawn.DESPAWN_FORCE_PERSISTENT">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<th class="colSecond" scope="row"><code><a href="noppes/npcs/api/handler/data/INaturalSpawn.html#DESPAWN_FORCE_PERSISTENT">DESPAWN_FORCE_PERSISTENT</a></code></th>
|
||||
<td class="colLast"><code>2</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a id="noppes.npcs.api.handler.data.INaturalSpawn.DESPAWN_PRESERVE_TEMPLATE">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<th class="colSecond" scope="row"><code><a href="noppes/npcs/api/handler/data/INaturalSpawn.html#DESPAWN_PRESERVE_TEMPLATE">DESPAWN_PRESERVE_TEMPLATE</a></code></th>
|
||||
<td class="colLast"><code>1</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="index.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,262 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>Deprecated List (CustomNPC-Plus 1.11.1 API)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="javadoc-theme.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.min.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Deprecated List (CustomNPC-Plus 1.11.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "./";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="index.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li class="navBarCell1Rev">Deprecated</li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h1 title="Deprecated API" class="title">Deprecated API</h1>
|
||||
<h2 title="Contents">Contents</h2>
|
||||
<ul>
|
||||
<li><a href="#method">Methods</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="contentContainer"><a id="method">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="deprecatedSummary">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/AbstractNpcAPI.html#createEntityParticle(java.lang.String)">noppes.npcs.api.AbstractNpcAPI.createEntityParticle​(String)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/entity/ICustomNpc.html#aimWhileShooting(boolean)">noppes.npcs.api.entity.ICustomNpc.aimWhileShooting​(boolean)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/entity/ICustomNpc.html#canAimWhileShooting()">noppes.npcs.api.entity.ICustomNpc.canAimWhileShooting()</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/entity/ICustomNpc.html#getLefttItem()">noppes.npcs.api.entity.ICustomNpc.getLefttItem()</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/entity/ICustomNpc.html#setArmsScale(float,float,float)">noppes.npcs.api.entity.ICustomNpc.setArmsScale​(float, float, float)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/entity/ICustomNpc.html#setBodyScale(float,float,float)">noppes.npcs.api.entity.ICustomNpc.setBodyScale​(float, float, float)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/entity/ICustomNpc.html#setHeadScale(float,float,float)">noppes.npcs.api.entity.ICustomNpc.setHeadScale​(float, float, float)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/entity/ICustomNpc.html#setLegsScale(float,float,float)">noppes.npcs.api.entity.ICustomNpc.setLegsScale​(float, float, float)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/gui/ICustomGui.html#addItemSlot(int,int)">noppes.npcs.api.gui.ICustomGui.addItemSlot​(int, int)</a></th>
|
||||
<td class="colLast">
|
||||
<div class="deprecationComment">Use addItemSlot(int, int, IItemStack) with an ID instead.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/IParticle.html#spawnInWorld(noppes.npcs.api.IWorld)">noppes.npcs.api.IParticle.spawnInWorld​(IWorld)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/IParticle.html#spawnOnEntity(noppes.npcs.api.entity.IEntity)">noppes.npcs.api.IParticle.spawnOnEntity​(IEntity)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/IWorld.html#clearStoredData()">noppes.npcs.api.IWorld.clearStoredData()</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/IWorld.html#clearTempData()">noppes.npcs.api.IWorld.clearTempData()</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/IWorld.html#createEntityParticle(java.lang.String)">noppes.npcs.api.IWorld.createEntityParticle​(String)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/IWorld.html#getStoredData(java.lang.String)">noppes.npcs.api.IWorld.getStoredData​(String)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/IWorld.html#getTempData(java.lang.String)">noppes.npcs.api.IWorld.getTempData​(String)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/IWorld.html#getTempDataKeys()">noppes.npcs.api.IWorld.getTempDataKeys()</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/IWorld.html#hasStoredData(java.lang.String)">noppes.npcs.api.IWorld.hasStoredData​(String)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/IWorld.html#hasTempData(java.lang.String)">noppes.npcs.api.IWorld.hasTempData​(String)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/IWorld.html#removeStoredData(java.lang.String)">noppes.npcs.api.IWorld.removeStoredData​(String)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/IWorld.html#removeTempData(java.lang.String)">noppes.npcs.api.IWorld.removeTempData​(String)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/IWorld.html#setStoredData(java.lang.String,java.lang.Object)">noppes.npcs.api.IWorld.setStoredData​(String, Object)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colDeprecatedItemName" scope="row"><a href="noppes/npcs/api/IWorld.html#setTempData(java.lang.String,java.lang.Object)">noppes.npcs.api.IWorld.setTempData​(String, Object)</a></th>
|
||||
<td class="colLast"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="index.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li class="navBarCell1Rev">Deprecated</li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,17 @@
|
||||
noppes.npcs.api
|
||||
noppes.npcs.api.ability
|
||||
noppes.npcs.api.ability.data
|
||||
noppes.npcs.api.ability.type
|
||||
noppes.npcs.api.block
|
||||
noppes.npcs.api.entity
|
||||
noppes.npcs.api.entity.data
|
||||
noppes.npcs.api.event
|
||||
noppes.npcs.api.gui
|
||||
noppes.npcs.api.handler
|
||||
noppes.npcs.api.handler.data
|
||||
noppes.npcs.api.handler.data.actions
|
||||
noppes.npcs.api.item
|
||||
noppes.npcs.api.jobs
|
||||
noppes.npcs.api.overlay
|
||||
noppes.npcs.api.roles
|
||||
noppes.npcs.api.scoreboard
|
||||
@@ -0,0 +1,274 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>API Help (CustomNPC-Plus 1.11.1 API)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="javadoc-theme.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.min.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="API Help (CustomNPC-Plus 1.11.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "./";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="index.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h1 class="title">How This API Document Is Organized</h1>
|
||||
<div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<section>
|
||||
<h2>Overview</h2>
|
||||
<p>The <a href="index.html">Overview</a> page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.</p>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section>
|
||||
<h2>Package</h2>
|
||||
<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:</p>
|
||||
<ul>
|
||||
<li>Interfaces</li>
|
||||
<li>Classes</li>
|
||||
<li>Enums</li>
|
||||
<li>Exceptions</li>
|
||||
<li>Errors</li>
|
||||
<li>Annotation Types</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section>
|
||||
<h2>Class or Interface</h2>
|
||||
<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p>
|
||||
<ul>
|
||||
<li>Class Inheritance Diagram</li>
|
||||
<li>Direct Subclasses</li>
|
||||
<li>All Known Subinterfaces</li>
|
||||
<li>All Known Implementing Classes</li>
|
||||
<li>Class or Interface Declaration</li>
|
||||
<li>Class or Interface Description</li>
|
||||
</ul>
|
||||
<br>
|
||||
<ul>
|
||||
<li>Nested Class Summary</li>
|
||||
<li>Field Summary</li>
|
||||
<li>Property Summary</li>
|
||||
<li>Constructor Summary</li>
|
||||
<li>Method Summary</li>
|
||||
</ul>
|
||||
<br>
|
||||
<ul>
|
||||
<li>Field Detail</li>
|
||||
<li>Property Detail</li>
|
||||
<li>Constructor Detail</li>
|
||||
<li>Method Detail</li>
|
||||
</ul>
|
||||
<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section>
|
||||
<h2>Annotation Type</h2>
|
||||
<p>Each annotation type has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Annotation Type Declaration</li>
|
||||
<li>Annotation Type Description</li>
|
||||
<li>Required Element Summary</li>
|
||||
<li>Optional Element Summary</li>
|
||||
<li>Element Detail</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section>
|
||||
<h2>Enum</h2>
|
||||
<p>Each enum has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Enum Declaration</li>
|
||||
<li>Enum Description</li>
|
||||
<li>Enum Constant Summary</li>
|
||||
<li>Enum Constant Detail</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section>
|
||||
<h2>Tree (Class Hierarchy)</h2>
|
||||
<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with <code>java.lang.Object</code>. Interfaces do not inherit from <code>java.lang.Object</code>.</p>
|
||||
<ul>
|
||||
<li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li>
|
||||
<li>When viewing a particular package, class or interface page, clicking on "Tree" displays the hierarchy for only that package.</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section>
|
||||
<h2>Deprecated API</h2>
|
||||
<p>The <a href="deprecated-list.html">Deprecated API</a> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</p>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section>
|
||||
<h2>Index</h2>
|
||||
<p>The <a href="index-all.html">Index</a> contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.</p>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section>
|
||||
<h2>All Classes</h2>
|
||||
<p>The <a href="allclasses.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section>
|
||||
<h2>Serialized Form</h2>
|
||||
<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section>
|
||||
<h2>Constant Field Values</h2>
|
||||
<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section>
|
||||
<h2>Search</h2>
|
||||
<p>You can search for definitions of modules, packages, types, fields, methods and other terms defined in the API, using some or all of the name. "Camel-case" abbreviations are supported: for example, "InpStr" will find "InputStream" and "InputStreamReader".</p>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<span class="emphasizedPhrase">This help file applies to API documentation generated by the standard doclet.</span></div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="index.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,226 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>Overview (CustomNPC-Plus 1.11.1 API)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="javadoc-theme.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.min.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Overview (CustomNPC-Plus 1.11.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "./";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li class="navBarCell1Rev">Overview</li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h1 class="title">CustomNPC-Plus 1.11.1 API</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<table class="overviewSummary">
|
||||
<caption><span>Packages</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Package</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor" id="i0">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/package-summary.html">noppes.npcs.api</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor" id="i1">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/ability/package-summary.html">noppes.npcs.api.ability</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor" id="i2">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/ability/data/package-summary.html">noppes.npcs.api.ability.data</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor" id="i3">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/ability/type/package-summary.html">noppes.npcs.api.ability.type</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor" id="i4">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/block/package-summary.html">noppes.npcs.api.block</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor" id="i5">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/entity/package-summary.html">noppes.npcs.api.entity</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor" id="i6">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/entity/data/package-summary.html">noppes.npcs.api.entity.data</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor" id="i7">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/event/package-summary.html">noppes.npcs.api.event</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor" id="i8">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/gui/package-summary.html">noppes.npcs.api.gui</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor" id="i9">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/handler/package-summary.html">noppes.npcs.api.handler</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor" id="i10">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/handler/data/package-summary.html">noppes.npcs.api.handler.data</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor" id="i11">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/handler/data/actions/package-summary.html">noppes.npcs.api.handler.data.actions</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor" id="i12">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/item/package-summary.html">noppes.npcs.api.item</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor" id="i13">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/jobs/package-summary.html">noppes.npcs.api.jobs</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor" id="i14">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/overlay/package-summary.html">noppes.npcs.api.overlay</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor" id="i15">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/roles/package-summary.html">noppes.npcs.api.roles</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor" id="i16">
|
||||
<th class="colFirst" scope="row"><a href="noppes/npcs/api/scoreboard/package-summary.html">noppes.npcs.api.scoreboard</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li class="navBarCell1Rev">Overview</li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+6
@@ -0,0 +1,6 @@
|
||||
/*! jQuery UI - v1.14.1 - 2025-01-13
|
||||
* https://jqueryui.com
|
||||
* Includes: core.css, autocomplete.css, menu.css
|
||||
* Copyright OpenJS Foundation and other contributors; Licensed MIT */
|
||||
|
||||
.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
/*! jQuery UI - v1.14.1 - 2025-01-13
|
||||
* https://jqueryui.com
|
||||
* Includes: widget.js, position.js, keycode.js, unique-id.js, widgets/autocomplete.js, widgets/menu.js
|
||||
* Copyright OpenJS Foundation and other contributors; Licensed MIT */
|
||||
|
||||
(t=>{"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(x){x.ui=x.ui||{};x.ui.version="1.14.1";var n,s,C,k,o,l,a,r,u,i,h=0,c=Array.prototype.hasOwnProperty,d=Array.prototype.slice;x.cleanData=(n=x.cleanData,function(t){for(var e,i,s=0;null!=(i=t[s]);s++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");n(t)}),x.widget=function(t,i,e){var s,n,o,l,a={},r=t.split(".")[0];return"__proto__"===(t=t.split(".")[1])||"constructor"===t?x.error("Invalid widget name: "+t):(l=r+"-"+t,e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[l.toLowerCase()]=function(t){return!!x.data(t,l)},x[r]=x[r]||{},s=x[r][t],n=x[r][t]=function(t,e){if(!this||!this._createWidget)return new n(t,e);arguments.length&&this._createWidget(t,e)},x.extend(n,s,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(o=new i).options=x.widget.extend({},o.options),x.each(e,function(e,s){function n(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}a[e]="function"!=typeof s?s:function(){var t,e=this._super,i=this._superApply;return this._super=n,this._superApply=o,t=s.apply(this,arguments),this._super=e,this._superApply=i,t}}),n.prototype=x.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||t},a,{constructor:n,namespace:r,widgetName:t,widgetFullName:l}),s?(x.each(s._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,n,e._proto)}),delete s._childConstructors):i._childConstructors.push(n),x.widget.bridge(t,n),n)},x.widget.extend=function(t){for(var e,i,s=d.call(arguments,1),n=0,o=s.length;n<o;n++)for(e in s[n])i=s[n][e],c.call(s[n],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(o,e){var l=e.prototype.widgetFullName||o;x.fn[o]=function(i){var t="string"==typeof i,s=d.call(arguments,1),n=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,l);return"instance"===i?(n=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+o+" widget instance"):(t=e[i].apply(e,s))!==e&&void 0!==t?(n=t&&t.jquery?n.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+i+"'")}):n=void 0:(s.length&&(i=x.widget.extend.apply(null,[i].concat(s))),this.each(function(){var t=x.data(this,l);t?(t.option(i||{}),t._init&&t._init()):x.data(this,l,new e(i,this))})),n}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=h++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=x.widget.extend({},this.options[t]),n=0;n<i.length-1;n++)s[i[n]]=s[i[n]]||{},s=s[i[n]];if(t=i.pop(),1===arguments.length)return void 0===s[t]?null:s[t];s[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,s;for(e in t)s=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&s&&s.length&&(i=x(s.get()),this._removeClass(s,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-staLine truncated
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,37 @@
|
||||
ADDITIONAL INFORMATION ABOUT LICENSING
|
||||
|
||||
Certain files distributed by Oracle America, Inc. and/or its affiliates are
|
||||
subject to the following clarification and special exception to the GPLv2,
|
||||
based on the GNU Project exception for its Classpath libraries, known as the
|
||||
GNU Classpath Exception.
|
||||
|
||||
Note that Oracle includes multiple, independent programs in this software
|
||||
package. Some of those programs are provided under licenses deemed
|
||||
incompatible with the GPLv2 by the Free Software Foundation and others.
|
||||
For example, the package includes programs licensed under the Apache
|
||||
License, Version 2.0 and may include FreeType. Such programs are licensed
|
||||
to you under their original licenses.
|
||||
|
||||
Oracle facilitates your further distribution of this package by adding the
|
||||
Classpath Exception to the necessary parts of its GPLv2 code, which permits
|
||||
you to use that code in combination with other independent modules not
|
||||
licensed under the GPLv2. However, note that this would not permit you to
|
||||
commingle code under an incompatible license with Oracle's GPLv2 licensed
|
||||
code by, for example, cutting and pasting such code into a file also
|
||||
containing Oracle's GPLv2 licensed code and then distributing the result.
|
||||
|
||||
Additionally, if you were to remove the Classpath Exception from any of the
|
||||
files to which it applies and distribute the result, you would likely be
|
||||
required to license some or all of the other code in that distribution under
|
||||
the GPLv2 as well, and since the GPLv2 is incompatible with the license terms
|
||||
of some items included in the distribution by Oracle, removing the Classpath
|
||||
Exception could therefore effectively compromise your ability to further
|
||||
distribute the package.
|
||||
|
||||
Failing to distribute notices associated with some files may also create
|
||||
unexpected legal consequences.
|
||||
|
||||
Proceed with caution and we recommend that you obtain the advice of a lawyer
|
||||
skilled in open source matters before removing the Classpath Exception or
|
||||
making modifications to this package which may subsequently be redistributed
|
||||
and/or involve the use of third party software.
|
||||
@@ -0,0 +1,27 @@
|
||||
|
||||
OPENJDK ASSEMBLY EXCEPTION
|
||||
|
||||
The OpenJDK source code made available by Oracle America, Inc. (Oracle) at
|
||||
openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU
|
||||
General Public License <http://www.gnu.org/copyleft/gpl.html> version 2
|
||||
only ("GPL2"), with the following clarification and special exception.
|
||||
|
||||
Linking this OpenJDK Code statically or dynamically with other code
|
||||
is making a combined work based on this library. Thus, the terms
|
||||
and conditions of GPL2 cover the whole combination.
|
||||
|
||||
As a special exception, Oracle gives you permission to link this
|
||||
OpenJDK Code with certain code licensed by Oracle as indicated at
|
||||
http://openjdk.java.net/legal/exception-modules-2007-05-08.html
|
||||
("Designated Exception Modules") to produce an executable,
|
||||
regardless of the license terms of the Designated Exception Modules,
|
||||
and to copy and distribute the resulting executable under GPL2,
|
||||
provided that the Designated Exception Modules continue to be
|
||||
governed by the licenses under which they were offered by Oracle.
|
||||
|
||||
As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code
|
||||
to build an executable that includes those portions of necessary code that
|
||||
Oracle could not provide under GPL2 (or that Oracle has provided under GPL2
|
||||
with the Classpath exception). If you modify or add to the OpenJDK code,
|
||||
that new GPL2 code may still be combined with Designated Exception Modules
|
||||
if the new code is made subject to this exception by its copyright holder.
|
||||
@@ -0,0 +1,347 @@
|
||||
The GNU General Public License (GPL)
|
||||
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies of this license
|
||||
document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your freedom to share
|
||||
and change it. By contrast, the GNU General Public License is intended to
|
||||
guarantee your freedom to share and change free software--to make sure the
|
||||
software is free for all its users. This General Public License applies to
|
||||
most of the Free Software Foundation's software and to any other program whose
|
||||
authors commit to using it. (Some other Free Software Foundation software is
|
||||
covered by the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not price. Our
|
||||
General Public Licenses are designed to make sure that you have the freedom to
|
||||
distribute copies of free software (and charge for this service if you wish),
|
||||
that you receive source code or can get it if you want it, that you can change
|
||||
the software or use pieces of it in new free programs; and that you know you
|
||||
can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid anyone to deny
|
||||
you these rights or to ask you to surrender the rights. These restrictions
|
||||
translate to certain responsibilities for you if you distribute copies of the
|
||||
software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether gratis or for
|
||||
a fee, you must give the recipients all the rights that you have. You must
|
||||
make sure that they, too, receive or can get the source code. And you must
|
||||
show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and (2)
|
||||
offer you this license which gives you legal permission to copy, distribute
|
||||
and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain that
|
||||
everyone understands that there is no warranty for this free software. If the
|
||||
software is modified by someone else and passed on, we want its recipients to
|
||||
know that what they have is not the original, so that any problems introduced
|
||||
by others will not reflect on the original authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software patents. We
|
||||
wish to avoid the danger that redistributors of a free program will
|
||||
individually obtain patent licenses, in effect making the program proprietary.
|
||||
To prevent this, we have made it clear that any patent must be licensed for
|
||||
everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and modification
|
||||
follow.
|
||||
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains a notice
|
||||
placed by the copyright holder saying it may be distributed under the terms of
|
||||
this General Public License. The "Program", below, refers to any such program
|
||||
or work, and a "work based on the Program" means either the Program or any
|
||||
derivative work under copyright law: that is to say, a work containing the
|
||||
Program or a portion of it, either verbatim or with modifications and/or
|
||||
translated into another language. (Hereinafter, translation is included
|
||||
without limitation in the term "modification".) Each licensee is addressed as
|
||||
"you".
|
||||
|
||||
Activities other than copying, distribution and modification are not covered by
|
||||
this License; they are outside its scope. The act of running the Program is
|
||||
not restricted, and the output from the Program is covered only if its contents
|
||||
constitute a work based on the Program (independent of having been made by
|
||||
running the Program). Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's source code as
|
||||
you receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice and
|
||||
disclaimer of warranty; keep intact all the notices that refer to this License
|
||||
and to the absence of any warranty; and give any other recipients of the
|
||||
Program a copy of this License along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and you may
|
||||
at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion of it, thus
|
||||
forming a work based on the Program, and copy and distribute such modifications
|
||||
or work under the terms of Section 1 above, provided that you also meet all of
|
||||
these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices stating
|
||||
that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in whole or
|
||||
in part contains or is derived from the Program or any part thereof, to be
|
||||
licensed as a whole at no charge to all third parties under the terms of
|
||||
this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively when run,
|
||||
you must cause it, when started running for such interactive use in the
|
||||
most ordinary way, to print or display an announcement including an
|
||||
appropriate copyright notice and a notice that there is no warranty (or
|
||||
else, saying that you provide a warranty) and that users may redistribute
|
||||
the program under these conditions, and telling the user how to view a copy
|
||||
of this License. (Exception: if the Program itself is interactive but does
|
||||
not normally print such an announcement, your work based on the Program is
|
||||
not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If identifiable
|
||||
sections of that work are not derived from the Program, and can be reasonably
|
||||
considered independent and separate works in themselves, then this License, and
|
||||
its terms, do not apply to those sections when you distribute them as separate
|
||||
works. But when you distribute the same sections as part of a whole which is a
|
||||
work based on the Program, the distribution of the whole must be on the terms
|
||||
of this License, whose permissions for other licensees extend to the entire
|
||||
whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest your
|
||||
rights to work written entirely by you; rather, the intent is to exercise the
|
||||
right to control the distribution of derivative or collective works based on
|
||||
the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program with the
|
||||
Program (or with a work based on the Program) on a volume of a storage or
|
||||
distribution medium does not bring the other work under the scope of this
|
||||
License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it, under
|
||||
Section 2) in object code or executable form under the terms of Sections 1 and
|
||||
2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable source
|
||||
code, which must be distributed under the terms of Sections 1 and 2 above
|
||||
on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three years, to
|
||||
give any third party, for a charge no more than your cost of physically
|
||||
performing source distribution, a complete machine-readable copy of the
|
||||
corresponding source code, to be distributed under the terms of Sections 1
|
||||
and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer to
|
||||
distribute corresponding source code. (This alternative is allowed only
|
||||
for noncommercial distribution and only if you received the program in
|
||||
object code or executable form with such an offer, in accord with
|
||||
Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for making
|
||||
modifications to it. For an executable work, complete source code means all
|
||||
the source code for all modules it contains, plus any associated interface
|
||||
definition files, plus the scripts used to control compilation and installation
|
||||
of the executable. However, as a special exception, the source code
|
||||
distributed need not include anything that is normally distributed (in either
|
||||
source or binary form) with the major components (compiler, kernel, and so on)
|
||||
of the operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the source
|
||||
code from the same place counts as distribution of the source code, even though
|
||||
third parties are not compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program except as
|
||||
expressly provided under this License. Any attempt otherwise to copy, modify,
|
||||
sublicense or distribute the Program is void, and will automatically terminate
|
||||
your rights under this License. However, parties who have received copies, or
|
||||
rights, from you under this License will not have their licenses terminated so
|
||||
long as such parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not signed it.
|
||||
However, nothing else grants you permission to modify or distribute the Program
|
||||
or its derivative works. These actions are prohibited by law if you do not
|
||||
accept this License. Therefore, by modifying or distributing the Program (or
|
||||
any work based on the Program), you indicate your acceptance of this License to
|
||||
do so, and all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the Program),
|
||||
the recipient automatically receives a license from the original licensor to
|
||||
copy, distribute or modify the Program subject to these terms and conditions.
|
||||
You may not impose any further restrictions on the recipients' exercise of the
|
||||
rights granted herein. You are not responsible for enforcing compliance by
|
||||
third parties to this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues), conditions
|
||||
are imposed on you (whether by court order, agreement or otherwise) that
|
||||
contradict the conditions of this License, they do not excuse you from the
|
||||
conditions of this License. If you cannot distribute so as to satisfy
|
||||
simultaneously your obligations under this License and any other pertinent
|
||||
obligations, then as a consequence you may not distribute the Program at all.
|
||||
For example, if a patent license would not permit royalty-free redistribution
|
||||
of the Program by all those who receive copies directly or indirectly through
|
||||
you, then the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply and
|
||||
the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any patents or
|
||||
other property right claims or to contest validity of any such claims; this
|
||||
section has the sole purpose of protecting the integrity of the free software
|
||||
distribution system, which is implemented by public license practices. Many
|
||||
people have made generous contributions to the wide range of software
|
||||
distributed through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing to
|
||||
distribute software through any other system and a licensee cannot impose that
|
||||
choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to be a
|
||||
consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in certain
|
||||
countries either by patents or by copyrighted interfaces, the original
|
||||
copyright holder who places the Program under this License may add an explicit
|
||||
geographical distribution limitation excluding those countries, so that
|
||||
distribution is permitted only in or among countries not thus excluded. In
|
||||
such case, this License incorporates the limitation as if written in the body
|
||||
of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions of the
|
||||
General Public License from time to time. Such new versions will be similar in
|
||||
spirit to the present version, but may differ in detail to address new problems
|
||||
or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any later
|
||||
version", you have the option of following the terms and conditions either of
|
||||
that version or of any later version published by the Free Software Foundation.
|
||||
If the Program does not specify a version number of this License, you may
|
||||
choose any version ever published by the Free Software Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free programs
|
||||
whose distribution conditions are different, write to the author to ask for
|
||||
permission. For software which is copyrighted by the Free Software Foundation,
|
||||
write to the Free Software Foundation; we sometimes make exceptions for this.
|
||||
Our decision will be guided by the two goals of preserving the free status of
|
||||
all derivatives of our free software and of promoting the sharing and reuse of
|
||||
software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
|
||||
THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
|
||||
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
|
||||
PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
|
||||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
|
||||
PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE,
|
||||
YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
|
||||
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE
|
||||
PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
|
||||
INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA
|
||||
BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER
|
||||
OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest possible
|
||||
use to the public, the best way to achieve this is to make it free software
|
||||
which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest to attach
|
||||
them to the start of each source file to most effectively convey the exclusion
|
||||
of warranty; and each file should have at least the "copyright" line and a
|
||||
pointer to where the full notice is found.
|
||||
|
||||
One line to give the program's name and a brief idea of what it does.
|
||||
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published by the Free
|
||||
Software Foundation; either version 2 of the License, or (at your option)
|
||||
any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this when it
|
||||
starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author Gnomovision comes
|
||||
with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free
|
||||
software, and you are welcome to redistribute it under certain conditions;
|
||||
type 'show c' for details.
|
||||
|
||||
The hypothetical commands 'show w' and 'show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may be
|
||||
called something other than 'show w' and 'show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary. Here
|
||||
is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
'Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
signature of Ty Coon, 1 April 1989
|
||||
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General Public
|
||||
License instead of this License.
|
||||
|
||||
|
||||
"CLASSPATH" EXCEPTION TO THE GPL
|
||||
|
||||
Certain source files distributed by Oracle America and/or its affiliates are
|
||||
subject to the following clarification and special exception to the GPL, but
|
||||
only where Oracle has expressly included in the particular source file's header
|
||||
the words "Oracle designates this particular file as subject to the "Classpath"
|
||||
exception as provided by Oracle in the LICENSE file that accompanied this code."
|
||||
|
||||
Linking this library statically or dynamically with other modules is making
|
||||
a combined work based on this library. Thus, the terms and conditions of
|
||||
the GNU General Public License cover the whole combination.
|
||||
|
||||
As a special exception, the copyright holders of this library give you
|
||||
permission to link this library with independent modules to produce an
|
||||
executable, regardless of the license terms of these independent modules,
|
||||
and to copy and distribute the resulting executable under terms of your
|
||||
choice, provided that you also meet, for each linked independent module,
|
||||
the terms and conditions of the license of that module. An independent
|
||||
module is a module which is not derived from or based on this library. If
|
||||
you modify this library, you may extend this exception to your version of
|
||||
the library, but you are not obligated to do so. If you do not wish to do
|
||||
so, delete this exception statement from your version.
|
||||
File renamed without changes.
@@ -0,0 +1,49 @@
|
||||
## jQuery UI v1.14.1
|
||||
|
||||
### jQuery UI License
|
||||
```
|
||||
Copyright OpenJS Foundation and other contributors, https://openjsf.org/
|
||||
|
||||
This software consists of voluntary contributions made by many
|
||||
individuals. For exact contribution history, see the revision history
|
||||
available at https://github.com/jquery/jquery-ui
|
||||
|
||||
The following license applies to all parts of this software except as
|
||||
documented below:
|
||||
|
||||
====
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
====
|
||||
|
||||
Copyright and related rights for sample code are waived via CC0. Sample
|
||||
code is defined as all source code contained within the demos directory.
|
||||
|
||||
CC0: http://creativecommons.org/publicdomain/zero/1.0/
|
||||
|
||||
====
|
||||
|
||||
All files located in the node_modules and external directories are
|
||||
externally maintained libraries used by this software which have their
|
||||
own licenses; we recommend you read them, as their terms may differ from
|
||||
the terms above.
|
||||
|
||||
```
|
||||
File renamed without changes.
File renamed without changes.
@@ -0,0 +1 @@
|
||||
memberSearchIndex = [{"p":"noppes.npcs.api","c":"AbstractNpcAPI","l":"AbstractNpcAPI()","url":"%3Cinit%3E()"},{"p":"noppes.npcs.api.ability","c":"IPlayerAbilityData","l":"activateAbility()"},{"p":"noppes.npcs.api.ability","c":"IPlayerAbilityData","l":"activateAbility(String)","url":"activateAbility(java.lang.String)"},{"p":"noppes.npcs.api","c":"IPos","l":"add(double, double, double)","url":"add(double,double,double)"},{"p":"noppes.npcs.api.handler","c":"ILinkedItemHandler","l":"add(ILinkedItem)","url":"add(noppes.npcs.api.handler.data.ILinkedItem)"},{"p":"noppes.npcs.api.handler","c":"IOverlayHandler","l":"add(int, ISkinOverlay)","url":"add(int,noppes.npcs.api.ISkinOverlay)"},{"p":"noppes.npcs.api","c":"IPos","l":"add(IPos)","url":"add(noppes.npcs.api.IPos)"},{"p":"noppes.npcs.api.ability","c":"IDataAbilities","l":"addAbility(IAbility)","url":"addAbility(noppes.npcs.api.ability.IAbility)"},{"p":"noppes.npcs.api.ability","c":"IDataAbilities","l":"addAbilityReference(String)","url":"addAbilityReference(java.lang.String)"},{"p":"noppes.npcs.api","c":"ICommand","l":"addAliases(String...)","url":"addAliases(java.lang.String...)"},{"p":"noppes.npcs.api.handler","c":"IRecipeHandler","l":"addAnvilRecipe(String, boolean, ItemStack, ItemStack, int, float)","url":"addAnvilRecipe(java.lang.String,boolean,net.minecraft.item.ItemStack,net.minecraft.item.ItemStack,int,float)"},{"p":"noppes.npcs.api.entity","c":"IDBCPlayer","l":"addBonusAttribute(String, String, String, double, boolean)","url":"addBonusAttribute(java.lang.String,java.lang.String,java.lang.String,double,boolean)"},{"p":"noppes.npcs.api.entity","c":"IDBCPlayer","l":"addBonusAttribute(String, String, String, double)","url":"addBonusAttribute(java.lang.String,java.lang.String,java.lang.String,double)"},{"p":"noppes.npcs.api.gui","c":"ICustomGui","l":"addButton(int, String, int, int, int, int)","url":"addButton(int,java.lang.String,int,int,int,int)"},{"p":"noppes.npcs.api.gui","c":"ICustomGui","l":"addButton(int, String, int, int)","url":"addButton(int,java.lang.String,int,int)"},{"p":"noppes.npcs.api.roles","c":"IRoleFollower","l":"addDaysLeft(int)"},{"p":"noppes.npcs.api.item","c":"IItemStack","l":"addEnchant(int, int)","url":"addEnchant(int,int)"},{"p":"noppes.npcs.api.handler.data","c":"IFaction","l":"addEnemyFaction(IFaction)","url":"addEnemyFaction(noppes.npcs.api.handler.data.IFaction)"},{"p":"noppes.npcs.api.entity","c":"IPlayer","l":"addFactionPoints(int, int)","url":"addFactionPoints(int,int)"},{"p":"noppes.npcs.api.handler.data","c":"IAnimation","l":"addFrame(IFrame)","url":"addFrame(noppes.npcs.api.handler.data.IFrame)"},{"p":"noppes.npcs.api.handler.data","c":"IAnimation","l":"addFrame(int, IFrame)","url":"addFrame(int,noppes.npcs.api.handler.data.IFrame)"},{"p":"noppes.npcs.api","c":"AbstractNpcAPI","l":"addGlobalObject(String, Object)","url":"addGlobalObject(java.lang.String,java.lang.Object)"},{"p":"noppes.npcs.api.handler.data","c":"IDialog","l":"addImage(int, IDialogImage)","url":"addImage(int,noppes.npcs.api.handler.data.IDialogImage)"},{"p":"noppes.npcs.api.gui","c":"ICustomGui","l":"addItemSlot(int, int, IItemStack)","url":"addItemSlot(int,int,noppes.npcs.api.item.IItemStack)"},{"p":"noppes.npcs.api.gui","c":"ICustomGui","l":"addItemSlot(int, int, int, IItemStack)","url":"addItemSlot(int,int,int,noppes.npcs.api.item.IItemStack)"},{"p":"noppes.npcs.api.gui","c":"ICustomGui","l":"addItemSlot(int, int, int)","url":"addItemSlot(int,int,int)"},{"p":"noppes.npcs.api.gui","c":"ICustomGui","l":"addItemSlot(int, int)","url":"addItemSlot(int,int)"},{"p":"noppes.npcs.api.gui","c":"ICustomGui","l":"addLabel(int, String, int, int, int, int, int)","url":"addLabel(int,java.lang.String,int,int,int,int,int)"},{"p":"noppes.npcs.api.overlay","c":"ICustomOverlay","l":"addLabel(int, String, int, int, int, int, int)","url":"addLabel(int,java.lang.String,int,int,int,int,int)"},{"p":"noppes.npcs.api.gui","c":"ICustomGui","l":"addLabel(int, String, int, int, int, int)","url":"addLabel(int,java.lang.String,int,int,int,int)"},{"p":"noppes.npcs.api.overlay","c":"ICustomOverlay","l":"addLabel(int, String, int, int, int, int)","url":"addLabel(int,java.lang.String,int,int,int,int)"},{"p":"noppes.npcs.api.gui","c":"ICustomGui","l":"addLine(int, int, int, int, int, int, int)","url":"addLine(int,int,int,int,int,int,int)"},{"p":"noppes.npcs.api.overlay","c":"ICustomOverlay","l":"addLine(int, int, int, int, int, int, int)","url":"addLine(int,int,int,int,int,int,int)"},{"p":"noppes.npcs.api.gui","c":"ICustomGui","l":"addLine(int, int, int, int, int)","url":"addLine(int,int,int,int,int)"},{"p":"noppes.npcs.api.overlay","c":"ICustomOverlay","l":"addLine(int, int, int, int, int)","url":"addLine(int,int,int,int,int)"},{"p":"noppes.npcs.api.handler.data","c":"ITransportCategory","l":"addLocation(String)","url":"addLocation(java.lang.String)"},{"p":"noppes.npcs.api.handler.data","c":"IMagicData","l":"addMagic(int, float, float)","url":"addMagic(int,float,float)"},{"p":"noppes.npcsLine truncated
|
||||
Binary file not shown.
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,785 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IBlock (CustomNPC-Plus 1.11.1 API)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../javadoc-theme.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.min.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
|
||||
<script type="text/javascript" src="../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IBlock (CustomNPC-Plus 1.11.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">noppes.npcs.api</a></div>
|
||||
<h2 title="Interface IBlock" class="title">Interface IBlock</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Known Subinterfaces:</dt>
|
||||
<dd><code><a href="block/IBlockScripted.html" title="interface in noppes.npcs.api.block">IBlockScripted</a></code></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">IBlock</span></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canCollide()">canCollide</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canCollide(double)">canCollide</a></span>​(double maxVolume)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBlockBoundsMaxX()">getBlockBoundsMaxX</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBlockBoundsMaxY()">getBlockBoundsMaxY</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBlockBoundsMaxZ()">getBlockBoundsMaxZ</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBlockBoundsMinX()">getBlockBoundsMinX</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBlockBoundsMinY()">getBlockBoundsMinY</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBlockBoundsMinZ()">getBlockBoundsMinZ</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code><a href="IContainer.html" title="interface in noppes.npcs.api">IContainer</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getContainer()">getContainer</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDisplayName()">getDisplayName</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>net.minecraft.block.Block</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMCBlock()">getMCBlock</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>net.minecraft.tileentity.TileEntity</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMCTileEntity()">getMCTileEntity</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getName()">getName</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPosition()">getPosition</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code><a href="ITileEntity.html" title="interface in noppes.npcs.api">ITileEntity</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTileEntity()">getTileEntity</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i15" class="rowColor">
|
||||
<td class="colFirst"><code><a href="INbt.html" title="interface in noppes.npcs.api">INbt</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTileEntityNBT()">getTileEntityNBT</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i16" class="altColor">
|
||||
<td class="colFirst"><code><a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWorld()">getWorld</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i17" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getX()">getX</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i18" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getY()">getY</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i19" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getZ()">getZ</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i20" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasTileEntity()">hasTileEntity</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i21" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAir()">isAir</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i22" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isContainer()">isContainer</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i23" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove()">remove</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Deletes the block, setting it to air.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i24" class="altColor">
|
||||
<td class="colFirst"><code><a href="IBlock.html" title="interface in noppes.npcs.api">IBlock</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBlock(java.lang.String)">setBlock</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> blockName)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i25" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IBlock.html" title="interface in noppes.npcs.api">IBlock</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBlock(noppes.npcs.api.IBlock)">setBlock</a></span>​(<a href="IBlock.html" title="interface in noppes.npcs.api">IBlock</a> block)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i26" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBounds(float,float,float,float,float,float)">setBounds</a></span>​(float minX,
|
||||
float minY,
|
||||
float minZ,
|
||||
float maxX,
|
||||
float maxY,
|
||||
float maxZ)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i27" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPosition(int,int,int)">setPosition</a></span>​(int x,
|
||||
int y,
|
||||
int z)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i28" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPosition(int,int,int,noppes.npcs.api.IWorld)">setPosition</a></span>​(int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i29" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPosition(noppes.npcs.api.IPos)">setPosition</a></span>​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i30" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPosition(noppes.npcs.api.IPos,noppes.npcs.api.IWorld)">setPosition</a></span>​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos,
|
||||
<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Moves the block to a new position in the given world.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i31" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTileEntity(noppes.npcs.api.ITileEntity)">setTileEntity</a></span>​(<a href="ITileEntity.html" title="interface in noppes.npcs.api">ITileEntity</a> tileEntity)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="getX()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getX</h4>
|
||||
<pre class="methodSignature">int getX()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getY()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getY</h4>
|
||||
<pre class="methodSignature">int getY()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getZ()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getZ</h4>
|
||||
<pre class="methodSignature">int getZ()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getPosition()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getPosition</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> getPosition()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>An IPos object with the block's XYZ position.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setPosition(noppes.npcs.api.IPos,noppes.npcs.api.IWorld)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPosition</h4>
|
||||
<pre class="methodSignature">boolean setPosition​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos,
|
||||
<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world)</pre>
|
||||
<div class="block">Moves the block to a new position in the given world. The old position is replaced with air.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>pos</code> - The new position of the block</dd>
|
||||
<dd><code>world</code> - The destination world of the block</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Whether the block was successfully placed</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setPosition(noppes.npcs.api.IPos)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPosition</h4>
|
||||
<pre class="methodSignature">boolean setPosition​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setPosition(int,int,int,noppes.npcs.api.IWorld)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPosition</h4>
|
||||
<pre class="methodSignature">boolean setPosition​(int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setPosition(int,int,int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPosition</h4>
|
||||
<pre class="methodSignature">boolean setPosition​(int x,
|
||||
int y,
|
||||
int z)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getName()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getName</h4>
|
||||
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getName()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The block name as it appears in the block registry. Return example: "minecraft:stone"</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="remove()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>remove</h4>
|
||||
<pre class="methodSignature">void remove()</pre>
|
||||
<div class="block">Deletes the block, setting it to air.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="isAir()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isAir</h4>
|
||||
<pre class="methodSignature">boolean isAir()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setBlock(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setBlock</h4>
|
||||
<pre class="methodSignature"><a href="IBlock.html" title="interface in noppes.npcs.api">IBlock</a> setBlock​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> blockName)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>blockName</code> - The name of the block to be set in place of this block.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The new block set in place of this block as an IBlock object.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setBlock(noppes.npcs.api.IBlock)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setBlock</h4>
|
||||
<pre class="methodSignature"><a href="IBlock.html" title="interface in noppes.npcs.api">IBlock</a> setBlock​(<a href="IBlock.html" title="interface in noppes.npcs.api">IBlock</a> block)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>block</code> - Input IBlock object to replace this block.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The new block set in place of the previous block.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="isContainer()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isContainer</h4>
|
||||
<pre class="methodSignature">boolean isContainer()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>True if the block can contain items like a chest does.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getContainer()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getContainer</h4>
|
||||
<pre class="methodSignature"><a href="IContainer.html" title="interface in noppes.npcs.api">IContainer</a> getContainer()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The container object of this block. If this block is not a container, an exception will be thrown.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getWorld()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getWorld</h4>
|
||||
<pre class="methodSignature"><a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> getWorld()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>An IWorld object of the world this block is in.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="hasTileEntity()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hasTileEntity</h4>
|
||||
<pre class="methodSignature">boolean hasTileEntity()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>True if this block has a tile entity. Blocks with custom data like signs, player skulls, chests, etc. will have tile entities.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getTileEntity()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getTileEntity</h4>
|
||||
<pre class="methodSignature"><a href="ITileEntity.html" title="interface in noppes.npcs.api">ITileEntity</a> getTileEntity()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>An ITileEntity object which can modify this block's tile entity.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setTileEntity(noppes.npcs.api.ITileEntity)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setTileEntity</h4>
|
||||
<pre class="methodSignature">void setTileEntity​(<a href="ITileEntity.html" title="interface in noppes.npcs.api">ITileEntity</a> tileEntity)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>tileEntity</code> - Replaces this block's tile entity based on the data given by this parameter.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getMCTileEntity()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getMCTileEntity</h4>
|
||||
<pre class="methodSignature">net.minecraft.tileentity.TileEntity getMCTileEntity()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>An obfuscated MC object for the block's tile entity.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getMCBlock()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getMCBlock</h4>
|
||||
<pre class="methodSignature">net.minecraft.block.Block getMCBlock()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>An obfuscated MC block object.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getDisplayName()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getDisplayName</h4>
|
||||
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getDisplayName()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getTileEntityNBT()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getTileEntityNBT</h4>
|
||||
<pre class="methodSignature"><a href="INbt.html" title="interface in noppes.npcs.api">INbt</a> getTileEntityNBT()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>An INbt object which can modify the block's tile entity's NBT data.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="canCollide(double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>canCollide</h4>
|
||||
<pre class="methodSignature">boolean canCollide​(double maxVolume)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>maxVolume</code> - The volume threshold to determine whether this block's bounding box collides, if it has one.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Whether this block can be collided with</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="canCollide()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>canCollide</h4>
|
||||
<pre class="methodSignature">boolean canCollide()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setBounds(float,float,float,float,float,float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setBounds</h4>
|
||||
<pre class="methodSignature">void setBounds​(float minX,
|
||||
float minY,
|
||||
float minZ,
|
||||
float maxX,
|
||||
float maxY,
|
||||
float maxZ)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getBlockBoundsMinX()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getBlockBoundsMinX</h4>
|
||||
<pre class="methodSignature">double getBlockBoundsMinX()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getBlockBoundsMinY()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getBlockBoundsMinY</h4>
|
||||
<pre class="methodSignature">double getBlockBoundsMinY()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getBlockBoundsMinZ()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getBlockBoundsMinZ</h4>
|
||||
<pre class="methodSignature">double getBlockBoundsMinZ()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getBlockBoundsMaxX()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getBlockBoundsMaxX</h4>
|
||||
<pre class="methodSignature">double getBlockBoundsMaxX()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getBlockBoundsMaxY()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getBlockBoundsMaxY</h4>
|
||||
<pre class="methodSignature">double getBlockBoundsMaxY()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getBlockBoundsMaxZ()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getBlockBoundsMaxZ</h4>
|
||||
<pre class="methodSignature">double getBlockBoundsMaxZ()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,449 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>ICommand (CustomNPC-Plus 1.11.1 API)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../javadoc-theme.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.min.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
|
||||
<script type="text/javascript" src="../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="ICommand (CustomNPC-Plus 1.11.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">noppes.npcs.api</a></div>
|
||||
<h2 title="Interface ICommand" class="title">Interface ICommand</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">ICommand</span></pre>
|
||||
<div class="block">Represents a custom command that can be registered and executed.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addAliases(java.lang.String...)">addAliases</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>... aliases)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Adds one or more aliases for this command.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>[]</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAliases()">getAliases</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Gets all aliases for this command.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCommandName()">getCommandName</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Gets the name of this command.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCommandUsage()">getCommandUsage</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Gets the usage string for this command.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPermissionLevel()">getPermissionLevel</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Gets the permission level required to execute this command.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasAlias(java.lang.String)">hasAlias</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> alias)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Checks whether this command has a specific alias.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeAlias(java.lang.String)">removeAlias</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> alias)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Removes an alias from this command.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCommandName(java.lang.String)">setCommandName</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> commandName)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the name of this command.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCommandUsage(java.lang.String)">setCommandUsage</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> commandUsage)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the usage string for this command.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPermissionLevel(int)">setPermissionLevel</a></span>​(int permissionLevel)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the permission level required to execute this command.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="getCommandName()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCommandName</h4>
|
||||
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getCommandName()</pre>
|
||||
<div class="block">Gets the name of this command.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the command name</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getCommandUsage()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCommandUsage</h4>
|
||||
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getCommandUsage()</pre>
|
||||
<div class="block">Gets the usage string for this command.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the command usage description</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getPermissionLevel()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getPermissionLevel</h4>
|
||||
<pre class="methodSignature">int getPermissionLevel()</pre>
|
||||
<div class="block">Gets the permission level required to execute this command.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the permission level (0 = all, 1 = moderator, 2 = gamemaster, 3 = admin, 4 = owner)</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setCommandName(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCommandName</h4>
|
||||
<pre class="methodSignature">void setCommandName​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> commandName)</pre>
|
||||
<div class="block">Sets the name of this command.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>commandName</code> - the command name to set</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setCommandUsage(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCommandUsage</h4>
|
||||
<pre class="methodSignature">void setCommandUsage​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> commandUsage)</pre>
|
||||
<div class="block">Sets the usage string for this command.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>commandUsage</code> - the command usage description to set</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setPermissionLevel(int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setPermissionLevel</h4>
|
||||
<pre class="methodSignature">void setPermissionLevel​(int permissionLevel)</pre>
|
||||
<div class="block">Sets the permission level required to execute this command.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>permissionLevel</code> - the permission level (0 = all, 1 = moderator, 2 = gamemaster, 3 = admin, 4 = owner)</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getAliases()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getAliases</h4>
|
||||
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>[] getAliases()</pre>
|
||||
<div class="block">Gets all aliases for this command.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>an array of alias strings</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="addAliases(java.lang.String...)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addAliases</h4>
|
||||
<pre class="methodSignature">void addAliases​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>... aliases)</pre>
|
||||
<div class="block">Adds one or more aliases for this command.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>aliases</code> - the alias(es) to add</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="hasAlias(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hasAlias</h4>
|
||||
<pre class="methodSignature">boolean hasAlias​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> alias)</pre>
|
||||
<div class="block">Checks whether this command has a specific alias.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>alias</code> - the alias to check for</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>true if the alias exists</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="removeAlias(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>removeAlias</h4>
|
||||
<pre class="methodSignature">void removeAlias​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> alias)</pre>
|
||||
<div class="block">Removes an alias from this command.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>alias</code> - the alias to remove</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,414 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IContainer (CustomNPC-Plus 1.11.1 API)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../javadoc-theme.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.min.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
|
||||
<script type="text/javascript" src="../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IContainer (CustomNPC-Plus 1.11.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">noppes.npcs.api</a></div>
|
||||
<h2 title="Interface IContainer" class="title">Interface IContainer</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">IContainer</span></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#count(noppes.npcs.api.item.IItemStack,boolean,boolean)">count</a></span>​(<a href="item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a> itemStack,
|
||||
boolean ignoreDamage,
|
||||
boolean ignoreNBT)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectAndSendChanges()">detectAndSendChanges</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sends changes to be reflected on the player's client.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>[]</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getItems()">getItems</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>net.minecraft.inventory.Container</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMCContainer()">getMCContainer</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>net.minecraft.inventory.IInventory</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMCInventory()">getMCInventory</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSize()">getSize</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code><a href="item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSlot(int)">getSlot</a></span>​(int slot)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCustomGUI()">isCustomGUI</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPlayerNotUsingContainer(noppes.npcs.api.entity.IPlayer)">isPlayerNotUsingContainer</a></span>​(<a href="entity/IPlayer.html" title="interface in noppes.npcs.api.entity">IPlayer</a> player)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSlot(int,noppes.npcs.api.item.IItemStack)">setSlot</a></span>​(int slot,
|
||||
<a href="item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a> item)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="getSize()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSize</h4>
|
||||
<pre class="methodSignature">int getSize()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getSlot(int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSlot</h4>
|
||||
<pre class="methodSignature"><a href="item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a> getSlot​(int slot)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setSlot(int,noppes.npcs.api.item.IItemStack)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSlot</h4>
|
||||
<pre class="methodSignature">void setSlot​(int slot,
|
||||
<a href="item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a> item)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>slot</code> - The slot to be replaced</dd>
|
||||
<dd><code>item</code> - The item replacing the previous item in that slot, as an IItemStack object</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getMCInventory()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getMCInventory</h4>
|
||||
<pre class="methodSignature">net.minecraft.inventory.IInventory getMCInventory()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>An obfuscated MC inventory object.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getMCContainer()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getMCContainer</h4>
|
||||
<pre class="methodSignature">net.minecraft.inventory.Container getMCContainer()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>An obfuscated MC container object.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="count(noppes.npcs.api.item.IItemStack,boolean,boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>count</h4>
|
||||
<pre class="methodSignature">int count​(<a href="item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a> itemStack,
|
||||
boolean ignoreDamage,
|
||||
boolean ignoreNBT)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>itemStack</code> - The item stack to be searched in the container</dd>
|
||||
<dd><code>ignoreDamage</code> - Whether damage should be ignored when searching</dd>
|
||||
<dd><code>ignoreNBT</code> - Whether NBT values should be ignored when searching</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The amount of the item stack found, based on the flags given above.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getItems()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getItems</h4>
|
||||
<pre class="methodSignature"><a href="item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>[] getItems()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>A list of all item stacks in the container as a list of IItemStack objects.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="isCustomGUI()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isCustomGUI</h4>
|
||||
<pre class="methodSignature">boolean isCustomGUI()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>True if this container belongs to a Custom GUI.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="detectAndSendChanges()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>detectAndSendChanges</h4>
|
||||
<pre class="methodSignature">void detectAndSendChanges()</pre>
|
||||
<div class="block">Sends changes to be reflected on the player's client.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="isPlayerNotUsingContainer(noppes.npcs.api.entity.IPlayer)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>isPlayerNotUsingContainer</h4>
|
||||
<pre class="methodSignature">boolean isPlayerNotUsingContainer​(<a href="entity/IPlayer.html" title="interface in noppes.npcs.api.entity">IPlayer</a> player)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,336 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IDamageSource (CustomNPC-Plus 1.11.1 API)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../javadoc-theme.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.min.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
|
||||
<script type="text/javascript" src="../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IDamageSource (CustomNPC-Plus 1.11.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">noppes.npcs.api</a></div>
|
||||
<h2 title="Interface IDamageSource" class="title">Interface IDamageSource</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">IDamageSource</span></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getImmediateSource()">getImmediateSource</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>net.minecraft.util.DamageSource</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMCDamageSource()">getMCDamageSource</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTrueSource()">getTrueSource</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getType()">getType</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isProjectile()">isProjectile</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isUnblockable()">isUnblockable</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="getType()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getType</h4>
|
||||
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getType()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The damage type of the damage source as a string. Ex: "lava", "explosion", "magic", "outOfWorld", etc.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="isUnblockable()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isUnblockable</h4>
|
||||
<pre class="methodSignature">boolean isUnblockable()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="isProjectile()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isProjectile</h4>
|
||||
<pre class="methodSignature">boolean isProjectile()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getTrueSource()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getTrueSource</h4>
|
||||
<pre class="methodSignature"><a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> getTrueSource()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The entity source of where the damage source originated. If a player was shot by an arrow from a skeleton, this would return an IEntity object of the skeleton.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getImmediateSource()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getImmediateSource</h4>
|
||||
<pre class="methodSignature"><a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> getImmediateSource()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The entity source of where the damage source originated. If a player was shot by an arrow from a skeleton, this would return an IEntity object of the arrow.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getMCDamageSource()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getMCDamageSource</h4>
|
||||
<pre class="methodSignature">net.minecraft.util.DamageSource getMCDamageSource()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>An obfuscated MC damage source object.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,583 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IEnergyHandler (CustomNPC-Plus 1.11.1 API)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../javadoc-theme.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.min.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
|
||||
<script type="text/javascript" src="../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IEnergyHandler (CustomNPC-Plus 1.11.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">noppes.npcs.api</a></div>
|
||||
<h2 title="Interface IEnergyHandler" class="title">Interface IEnergyHandler</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">IEnergyHandler</span></pre>
|
||||
<div class="block">Central controller for creating energy entities and routing energy damage.
|
||||
Access via API.getEnergyController().
|
||||
|
||||
All factory methods create entities that are NOT spawned in the world.
|
||||
Configure the entity, then call fire() (projectiles) or spawn() (zones/sweepers/panels)
|
||||
to place it in the world.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="entity/IEnergyBeam.html" title="interface in noppes.npcs.api.entity">IEnergyBeam</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createBeam(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double,float,float)">createBeam</a></span>​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z,
|
||||
float beamWidth,
|
||||
float headSize)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Create an energy beam projectile.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="entity/IEnergyDisc.html" title="interface in noppes.npcs.api.entity">IEnergyDisc</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createDisc(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double,float,float)">createDisc</a></span>​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z,
|
||||
float radius,
|
||||
float thickness)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Create an energy disc projectile.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="entity/IEnergyExplosion.html" title="interface in noppes.npcs.api.entity">IEnergyExplosion</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createExplosion(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double,float)">createExplosion</a></span>​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z,
|
||||
float radius)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Create an energy explosion entity.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="entity/IEnergyZone.html" title="interface in noppes.npcs.api.entity">IEnergyZone</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createHazard(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double)">createHazard</a></span>​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Create a hazard zone entity with defaults.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code><a href="entity/IEnergyLaser.html" title="interface in noppes.npcs.api.entity">IEnergyLaser</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createLaser(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double,float)">createLaser</a></span>​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z,
|
||||
float laserWidth)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Create an energy laser projectile.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code><a href="entity/IEnergyOrb.html" title="interface in noppes.npcs.api.entity">IEnergyOrb</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createOrb(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double,float)">createOrb</a></span>​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z,
|
||||
float size)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Create an energy orb projectile.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code><a href="entity/IEnergyPanel.html" title="interface in noppes.npcs.api.entity">IEnergyPanel</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createPanel(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double)">createPanel</a></span>​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Create a panel entity with defaults.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code><a href="entity/IEnergySweeper.html" title="interface in noppes.npcs.api.entity">IEnergySweeper</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSweeper(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double)">createSweeper</a></span>​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Create a sweeper entity with defaults.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code><a href="entity/IEnergyZone.html" title="interface in noppes.npcs.api.entity">IEnergyZone</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTrap(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double)">createTrap</a></span>​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Create a trap zone entity with defaults.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="createOrb(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double,float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createOrb</h4>
|
||||
<pre class="methodSignature"><a href="entity/IEnergyOrb.html" title="interface in noppes.npcs.api.entity">IEnergyOrb</a> createOrb​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z,
|
||||
float size)</pre>
|
||||
<div class="block">Create an energy orb projectile. Not spawned until fire() is called.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>world</code> - the world</dd>
|
||||
<dd><code>owner</code> - the owning entity</dd>
|
||||
<dd><code>x</code> - X position</dd>
|
||||
<dd><code>y</code> - Y position</dd>
|
||||
<dd><code>z</code> - Z position</dd>
|
||||
<dd><code>size</code> - the orb size</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the energy orb entity</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="createBeam(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double,float,float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createBeam</h4>
|
||||
<pre class="methodSignature"><a href="entity/IEnergyBeam.html" title="interface in noppes.npcs.api.entity">IEnergyBeam</a> createBeam​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z,
|
||||
float beamWidth,
|
||||
float headSize)</pre>
|
||||
<div class="block">Create an energy beam projectile. Not spawned until fire() is called.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>world</code> - the world</dd>
|
||||
<dd><code>owner</code> - the owning entity</dd>
|
||||
<dd><code>x</code> - X position</dd>
|
||||
<dd><code>y</code> - Y position</dd>
|
||||
<dd><code>z</code> - Z position</dd>
|
||||
<dd><code>beamWidth</code> - the beam width</dd>
|
||||
<dd><code>headSize</code> - the head size</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the energy beam entity</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="createDisc(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double,float,float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createDisc</h4>
|
||||
<pre class="methodSignature"><a href="entity/IEnergyDisc.html" title="interface in noppes.npcs.api.entity">IEnergyDisc</a> createDisc​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z,
|
||||
float radius,
|
||||
float thickness)</pre>
|
||||
<div class="block">Create an energy disc projectile. Not spawned until fire() is called.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>world</code> - the world</dd>
|
||||
<dd><code>owner</code> - the owning entity</dd>
|
||||
<dd><code>x</code> - X position</dd>
|
||||
<dd><code>y</code> - Y position</dd>
|
||||
<dd><code>z</code> - Z position</dd>
|
||||
<dd><code>radius</code> - the disc radius</dd>
|
||||
<dd><code>thickness</code> - the disc thickness</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the energy disc entity</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="createLaser(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double,float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createLaser</h4>
|
||||
<pre class="methodSignature"><a href="entity/IEnergyLaser.html" title="interface in noppes.npcs.api.entity">IEnergyLaser</a> createLaser​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z,
|
||||
float laserWidth)</pre>
|
||||
<div class="block">Create an energy laser projectile. Not spawned until fire() is called.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>world</code> - the world</dd>
|
||||
<dd><code>owner</code> - the owning entity</dd>
|
||||
<dd><code>x</code> - X position</dd>
|
||||
<dd><code>y</code> - Y position</dd>
|
||||
<dd><code>z</code> - Z position</dd>
|
||||
<dd><code>laserWidth</code> - the laser width</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the energy laser entity</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="createHazard(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createHazard</h4>
|
||||
<pre class="methodSignature"><a href="entity/IEnergyZone.html" title="interface in noppes.npcs.api.entity">IEnergyZone</a> createHazard​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z)</pre>
|
||||
<div class="block">Create a hazard zone entity with defaults. Not spawned until spawn() is called.
|
||||
Hazards deal continuous damage to entities within the zone.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>world</code> - the world</dd>
|
||||
<dd><code>owner</code> - the owning entity</dd>
|
||||
<dd><code>x</code> - X position</dd>
|
||||
<dd><code>y</code> - Y position</dd>
|
||||
<dd><code>z</code> - Z position</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the energy zone entity</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="createTrap(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createTrap</h4>
|
||||
<pre class="methodSignature"><a href="entity/IEnergyZone.html" title="interface in noppes.npcs.api.entity">IEnergyZone</a> createTrap​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z)</pre>
|
||||
<div class="block">Create a trap zone entity with defaults. Not spawned until spawn() is called.
|
||||
Traps trigger when entities enter and deal burst damage.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>world</code> - the world</dd>
|
||||
<dd><code>owner</code> - the owning entity</dd>
|
||||
<dd><code>x</code> - X position</dd>
|
||||
<dd><code>y</code> - Y position</dd>
|
||||
<dd><code>z</code> - Z position</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the energy zone entity</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="createSweeper(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createSweeper</h4>
|
||||
<pre class="methodSignature"><a href="entity/IEnergySweeper.html" title="interface in noppes.npcs.api.entity">IEnergySweeper</a> createSweeper​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z)</pre>
|
||||
<div class="block">Create a sweeper entity with defaults. Not spawned until spawn() is called.
|
||||
Sweepers rotate a beam that damages entities in its path.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>world</code> - the world</dd>
|
||||
<dd><code>owner</code> - the owning entity</dd>
|
||||
<dd><code>x</code> - X position</dd>
|
||||
<dd><code>y</code> - Y position</dd>
|
||||
<dd><code>z</code> - Z position</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the energy sweeper entity</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="createPanel(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createPanel</h4>
|
||||
<pre class="methodSignature"><a href="entity/IEnergyPanel.html" title="interface in noppes.npcs.api.entity">IEnergyPanel</a> createPanel​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z)</pre>
|
||||
<div class="block">Create a panel entity with defaults. Not spawned until spawn() is called.
|
||||
Panels are flat energy barriers that can deal damage on contact.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>world</code> - the world</dd>
|
||||
<dd><code>owner</code> - the owning entity</dd>
|
||||
<dd><code>x</code> - X position</dd>
|
||||
<dd><code>y</code> - Y position</dd>
|
||||
<dd><code>z</code> - Z position</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the energy panel entity</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="createExplosion(noppes.npcs.api.IWorld,noppes.npcs.api.entity.IEntity,double,double,double,float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>createExplosion</h4>
|
||||
<pre class="methodSignature"><a href="entity/IEnergyExplosion.html" title="interface in noppes.npcs.api.entity">IEnergyExplosion</a> createExplosion​(<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world,
|
||||
<a href="entity/IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> owner,
|
||||
double x,
|
||||
double y,
|
||||
double z,
|
||||
float radius)</pre>
|
||||
<div class="block">Create an energy explosion entity. Not spawned until spawn() is called.
|
||||
Visual-only by default. Set damage > 0 to enable area damage with falloff.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>world</code> - the world</dd>
|
||||
<dd><code>owner</code> - the owning entity</dd>
|
||||
<dd><code>x</code> - X position</dd>
|
||||
<dd><code>y</code> - Y position</dd>
|
||||
<dd><code>z</code> - Z position</dd>
|
||||
<dd><code>radius</code> - the explosion radius</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the energy explosion entity</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,809 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>INbt (CustomNPC-Plus 1.11.1 API)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../javadoc-theme.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.min.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
|
||||
<script type="text/javascript" src="../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="INbt (CustomNPC-Plus 1.11.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">noppes.npcs.api</a></div>
|
||||
<h2 title="Interface INbt" class="title">Interface INbt</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">INbt</span></pre>
|
||||
<div class="block">A scripted data representation of an MC NBTTagCompound object. Using these functions modifies the compound tag
|
||||
associated with this object. Any changes made to the compound tag are made directly to its "tagMap" attribute,
|
||||
minimizing the impact of setting/getting NBT data with this object on performance.
|
||||
<p>
|
||||
Compound tags, unlike list tags, can contain multiple types of NBT tag types. Compound tags can even
|
||||
contain compound tags inside them, and if that compound tag is accessed, an object like this one will also be returned!
|
||||
<p>
|
||||
Every tag inside a compound tag has a -unique- "key". If you try to put another tag of the same key inside the
|
||||
compound tag, it will replace the previous tag.
|
||||
<p>
|
||||
The types and their type as an integer are as follows:
|
||||
1: Byte
|
||||
2: Short
|
||||
3: Int
|
||||
4: Long
|
||||
5: Float
|
||||
6: Double
|
||||
7: Byte array
|
||||
8: String
|
||||
9: Tag list
|
||||
10: Compound
|
||||
11: Integer array</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clear()">clear</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Completely clears the compound tag of all tags inside it.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBoolean(java.lang.String)">getBoolean</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>byte</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getByte(java.lang.String)">getByte</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>byte[]</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getByteArray(java.lang.String)">getByteArray</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code><a href="INbt.html" title="interface in noppes.npcs.api">INbt</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCompound(java.lang.String)">getCompound</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDouble(java.lang.String)">getDouble</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>float</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFloat(java.lang.String)">getFloat</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInteger(java.lang.String)">getInteger</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>int[]</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIntegerArray(java.lang.String)">getIntegerArray</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>[]</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getKeys()">getKeys</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getList(java.lang.String,int)">getList</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
int value)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns a tag list of objects with this key in the compound tag.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getListType(java.lang.String)">getListType</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the type of the tag list with this key, as an integer.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code>long</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLong(java.lang.String)">getLong</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>net.minecraft.nbt.NBTTagCompound</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMCNBT()">getMCNBT</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code>short</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getShort(java.lang.String)">getShort</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i15" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getString(java.lang.String)">getString</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i16" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getType(java.lang.String)">getType</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i17" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#has(java.lang.String)">has</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i18" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isEqual(noppes.npcs.api.INbt)">isEqual</a></span>​(<a href="INbt.html" title="interface in noppes.npcs.api">INbt</a> nbt)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i19" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove(java.lang.String)">remove</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the tag with the given key from the compound tag.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i20" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBoolean(java.lang.String,boolean)">setBoolean</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
boolean value)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i21" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setByte(java.lang.String,byte)">setByte</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
byte value)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i22" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setByteArray(java.lang.String,byte%5B%5D)">setByteArray</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
byte[] value)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i23" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCompound(java.lang.String,noppes.npcs.api.INbt)">setCompound</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
<a href="INbt.html" title="interface in noppes.npcs.api">INbt</a> value)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i24" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDouble(java.lang.String,double)">setDouble</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
double value)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i25" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFloat(java.lang.String,float)">setFloat</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
float value)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i26" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInteger(java.lang.String,int)">setInteger</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
int value)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i27" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setIntegerArray(java.lang.String,int%5B%5D)">setIntegerArray</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
int[] value)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i28" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setList(java.lang.String,java.lang.Object%5B%5D)">setList</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[] value)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Adds a new tag list to the compound tag with the given key.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i29" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLong(java.lang.String,long)">setLong</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
long value)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i30" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShort(java.lang.String,short)">setShort</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
short value)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i31" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setString(java.lang.String,java.lang.String)">setString</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i32" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toJsonString()">toJsonString</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="remove(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>remove</h4>
|
||||
<pre class="methodSignature">void remove​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</pre>
|
||||
<div class="block">Returns the tag with the given key from the compound tag.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>key</code> - the NBT key</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="has(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>has</h4>
|
||||
<pre class="methodSignature">boolean has​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>key</code> - the NBT key</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>True if the compound tag has a tag with the given key.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getBoolean(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getBoolean</h4>
|
||||
<pre class="methodSignature">boolean getBoolean​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setBoolean(java.lang.String,boolean)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setBoolean</h4>
|
||||
<pre class="methodSignature">void setBoolean​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
boolean value)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getShort(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getShort</h4>
|
||||
<pre class="methodSignature">short getShort​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setShort(java.lang.String,short)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setShort</h4>
|
||||
<pre class="methodSignature">void setShort​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
short value)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getInteger(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getInteger</h4>
|
||||
<pre class="methodSignature">int getInteger​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setInteger(java.lang.String,int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setInteger</h4>
|
||||
<pre class="methodSignature">void setInteger​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
int value)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getByte(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getByte</h4>
|
||||
<pre class="methodSignature">byte getByte​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setByte(java.lang.String,byte)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setByte</h4>
|
||||
<pre class="methodSignature">void setByte​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
byte value)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getLong(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getLong</h4>
|
||||
<pre class="methodSignature">long getLong​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setLong(java.lang.String,long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLong</h4>
|
||||
<pre class="methodSignature">void setLong​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
long value)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getDouble(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getDouble</h4>
|
||||
<pre class="methodSignature">double getDouble​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setDouble(java.lang.String,double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDouble</h4>
|
||||
<pre class="methodSignature">void setDouble​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
double value)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getFloat(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getFloat</h4>
|
||||
<pre class="methodSignature">float getFloat​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setFloat(java.lang.String,float)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setFloat</h4>
|
||||
<pre class="methodSignature">void setFloat​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
float value)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getString(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getString</h4>
|
||||
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getString​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setString(java.lang.String,java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setString</h4>
|
||||
<pre class="methodSignature">void setString​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> value)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getByteArray(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getByteArray</h4>
|
||||
<pre class="methodSignature">byte[] getByteArray​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setByteArray(java.lang.String,byte[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setByteArray</h4>
|
||||
<pre class="methodSignature">void setByteArray​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
byte[] value)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getIntegerArray(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getIntegerArray</h4>
|
||||
<pre class="methodSignature">int[] getIntegerArray​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setIntegerArray(java.lang.String,int[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setIntegerArray</h4>
|
||||
<pre class="methodSignature">void setIntegerArray​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
int[] value)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getList(java.lang.String,int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getList</h4>
|
||||
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[] getList​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
int value)</pre>
|
||||
<div class="block">Returns a tag list of objects with this key in the compound tag. All the objects in the list
|
||||
will always be of the same type.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>key</code> - the NBT key</dd>
|
||||
<dd><code>value</code> - the list type</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The tag list of objects, depending on the tag type.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getListType(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getListType</h4>
|
||||
<pre class="methodSignature">int getListType​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</pre>
|
||||
<div class="block">Returns the type of the tag list with this key, as an integer.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>key</code> - the NBT key</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the list element type</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setList(java.lang.String,java.lang.Object[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setList</h4>
|
||||
<pre class="methodSignature">void setList​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[] value)</pre>
|
||||
<div class="block">Adds a new tag list to the compound tag with the given key.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>key</code> - The key for the list tag</dd>
|
||||
<dd><code>value</code> - The list of objects to be in the list. The type of the first element in this list becomes the tag
|
||||
list's type, and if later objects are not of this type, they will not be added.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getCompound(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCompound</h4>
|
||||
<pre class="methodSignature"><a href="INbt.html" title="interface in noppes.npcs.api">INbt</a> getCompound​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setCompound(java.lang.String,noppes.npcs.api.INbt)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCompound</h4>
|
||||
<pre class="methodSignature">void setCompound​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key,
|
||||
<a href="INbt.html" title="interface in noppes.npcs.api">INbt</a> value)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getKeys()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getKeys</h4>
|
||||
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>[] getKeys()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>A list of all the compound tag's keys.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getType(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getType</h4>
|
||||
<pre class="methodSignature">int getType​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>key</code> - the NBT key</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The type of the tag with the input key as an integer.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getMCNBT()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getMCNBT</h4>
|
||||
<pre class="methodSignature">net.minecraft.nbt.NBTTagCompound getMCNBT()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>An obfuscated MC NBTTagCompound object.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="toJsonString()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>toJsonString</h4>
|
||||
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> toJsonString()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>A curly-bracket formatted JSON string of all the compound tag.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="isEqual(noppes.npcs.api.INbt)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isEqual</h4>
|
||||
<pre class="methodSignature">boolean isEqual​(<a href="INbt.html" title="interface in noppes.npcs.api">INbt</a> nbt)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="clear()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>clear</h4>
|
||||
<pre class="methodSignature">void clear()</pre>
|
||||
<div class="block">Completely clears the compound tag of all tags inside it.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,281 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IPixelmonPlayerData (CustomNPC-Plus 1.11.1 API)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../javadoc-theme.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.min.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
|
||||
<script type="text/javascript" src="../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IPixelmonPlayerData (CustomNPC-Plus 1.11.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">noppes.npcs.api</a></div>
|
||||
<h2 title="Interface IPixelmonPlayerData" class="title">Interface IPixelmonPlayerData</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">IPixelmonPlayerData</span></pre>
|
||||
<div class="block">Provides access to a player's Pixelmon data, including party and PC storage.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#countPCPixelmon()">countPCPixelmon</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Gets the total number of Pixelmon stored in the player's PC.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="entity/IPixelmon.html" title="interface in noppes.npcs.api.entity">IPixelmon</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPartySlot(int)">getPartySlot</a></span>​(int slot)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Gets the Pixelmon in the specified party slot.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="getPartySlot(int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getPartySlot</h4>
|
||||
<pre class="methodSignature"><a href="entity/IPixelmon.html" title="interface in noppes.npcs.api.entity">IPixelmon</a> getPartySlot​(int slot)</pre>
|
||||
<div class="block">Gets the Pixelmon in the specified party slot.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>slot</code> - the party slot index (0-5)</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the Pixelmon in that slot, or null if empty</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="countPCPixelmon()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>countPCPixelmon</h4>
|
||||
<pre class="methodSignature">int countPCPixelmon()</pre>
|
||||
<div class="block">Gets the total number of Pixelmon stored in the player's PC.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the PC Pixelmon count</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,884 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IPos (CustomNPC-Plus 1.11.1 API)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../javadoc-theme.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.min.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
|
||||
<script type="text/javascript" src="../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IPos (CustomNPC-Plus 1.11.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">noppes.npcs.api</a></div>
|
||||
<h2 title="Interface IPos" class="title">Interface IPos</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">IPos</span></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(double,double,double)">add</a></span>​(double x,
|
||||
double y,
|
||||
double z)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Adds the IPos' coordinates by each of the parameters given.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(noppes.npcs.api.IPos)">add</a></span>​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Directly adds the coordinates of two IPos objects and returns the resulting IPos sum.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#crossProduct(double,double,double)">crossProduct</a></span>​(double x,
|
||||
double y,
|
||||
double z)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#crossProduct(noppes.npcs.api.IPos)">crossProduct</a></span>​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#distanceTo(double,double,double)">distanceTo</a></span>​(double x,
|
||||
double y,
|
||||
double z)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#distanceTo(noppes.npcs.api.IPos)">distanceTo</a></span>​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#divide(double)">divide</a></span>​(double scalar)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#down()">down</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Shifts the IPos down by 1 block and returns the new object.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#down(double)">down</a></span>​(double n)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#east()">east</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Shifts the IPos east by 1 block and returns the new object.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#east(double)">east</a></span>​(double n)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fromLong(long)">fromLong</a></span>​(long serialized)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code>net.minecraft.util.math.BlockPos</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMCPos()">getMCPos</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getX()">getX</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getXD()">getXD</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i15" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getY()">getY</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i16" class="altColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getYD()">getYD</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i17" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getZ()">getZ</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i18" class="altColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getZD()">getZD</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i19" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#normalize()">normalize</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns a normalized vector of this block's position, calculated by:</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i20" class="altColor">
|
||||
<td class="colFirst"><code>double[]</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#normalizeDouble()">normalizeDouble</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i21" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#north()">north</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Shifts the IPos north by 1 block and returns the new object.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i22" class="altColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#north(double)">north</a></span>​(double n)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i23" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#offset(int)">offset</a></span>​(int direction)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Offsets the block by 1 block in the given direction and returns the resulting IPos object</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i24" class="altColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#offset(int,double)">offset</a></span>​(int direction,
|
||||
double n)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Offsets the block by n blocks in the given direction and returns the resulting IPos object</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i25" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#south()">south</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Shifts the IPos south by 1 block and returns the new object.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i26" class="altColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#south(double)">south</a></span>​(double n)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i27" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#subtract(double,double,double)">subtract</a></span>​(double x,
|
||||
double y,
|
||||
double z)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Subtracts the IPos' coordinates by each of the parameters given.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i28" class="altColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#subtract(noppes.npcs.api.IPos)">subtract</a></span>​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Directly subtracts the coordinates of two IPos objects and returns the resulting IPos difference.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i29" class="rowColor">
|
||||
<td class="colFirst"><code>long</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toLong()">toLong</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i30" class="altColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#up()">up</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Shifts the IPos up by 1 block and returns the new object.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i31" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#up(double)">up</a></span>​(double n)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i32" class="altColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#west()">west</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Shifts the IPos west by 1 block and returns the new object.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i33" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#west(double)">west</a></span>​(double n)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="getX()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getX</h4>
|
||||
<pre class="methodSignature">int getX()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getY()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getY</h4>
|
||||
<pre class="methodSignature">int getY()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getZ()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getZ</h4>
|
||||
<pre class="methodSignature">int getZ()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getXD()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getXD</h4>
|
||||
<pre class="methodSignature">double getXD()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getYD()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getYD</h4>
|
||||
<pre class="methodSignature">double getYD()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getZD()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getZD</h4>
|
||||
<pre class="methodSignature">double getZD()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="up()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>up</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> up()</pre>
|
||||
<div class="block">Shifts the IPos up by 1 block and returns the new object.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the position above</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="up(double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>up</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> up​(double n)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>n</code> - The number of blocks to move the position up by.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The new IPos object.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="down()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>down</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> down()</pre>
|
||||
<div class="block">Shifts the IPos down by 1 block and returns the new object.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the position below</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="down(double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>down</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> down​(double n)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>n</code> - The number of blocks to move the position down by.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The new IPos object.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="north()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>north</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> north()</pre>
|
||||
<div class="block">Shifts the IPos north by 1 block and returns the new object.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the position to the north</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="north(double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>north</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> north​(double n)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>n</code> - The number of blocks to move the position north by.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The new IPos object.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="east()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>east</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> east()</pre>
|
||||
<div class="block">Shifts the IPos east by 1 block and returns the new object.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the position to the east</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="east(double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>east</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> east​(double n)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>n</code> - The number of blocks to move the position east by.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The new IPos object.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="south()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>south</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> south()</pre>
|
||||
<div class="block">Shifts the IPos south by 1 block and returns the new object.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the position to the south</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="south(double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>south</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> south​(double n)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>n</code> - The number of blocks to move the position south by.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The new IPos object.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="west()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>west</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> west()</pre>
|
||||
<div class="block">Shifts the IPos west by 1 block and returns the new object.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the position to the west</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="west(double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>west</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> west​(double n)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>n</code> - The number of blocks to move the position west by.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The new IPos object.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="add(double,double,double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>add</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> add​(double x,
|
||||
double y,
|
||||
double z)</pre>
|
||||
<div class="block">Adds the IPos' coordinates by each of the parameters given.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>x</code> - X coordinate amount to be added</dd>
|
||||
<dd><code>y</code> - Y coordinate amount to be added</dd>
|
||||
<dd><code>z</code> - Z coordinate amount to be added</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The resulting IPos from the addition.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="add(noppes.npcs.api.IPos)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>add</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> add​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos)</pre>
|
||||
<div class="block">Directly adds the coordinates of two IPos objects and returns the resulting IPos sum.
|
||||
For example, if one IPos was represented by the coordinates (0,60,5), and another by (-10,-30,25),
|
||||
the resulting object's coordinates are (0 - 10,60 - 30,5 + 25) = (-10,30,30).</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>pos</code> - The position to be added to this IPos object.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The sum of the two IPos objects as a new IPos object.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="subtract(double,double,double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>subtract</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> subtract​(double x,
|
||||
double y,
|
||||
double z)</pre>
|
||||
<div class="block">Subtracts the IPos' coordinates by each of the parameters given.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>x</code> - X coordinate amount to be subtracted</dd>
|
||||
<dd><code>y</code> - Y coordinate amount to be subtracted</dd>
|
||||
<dd><code>z</code> - Z coordinate amount to be subtracted</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The resulting IPos from the subtraction.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="subtract(noppes.npcs.api.IPos)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>subtract</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> subtract​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos)</pre>
|
||||
<div class="block">Directly subtracts the coordinates of two IPos objects and returns the resulting IPos difference.
|
||||
For example, if one IPos was represented by the coordinates (0,60,5), and another by (-10,-30,25),
|
||||
the resulting object's coordinates are (0 + 10,60 + 30,5 - 25) = (10,90,-20).</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>pos</code> - The position to be subtracted from this IPos object.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The difference of the two IPos objects as a new IPos object.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="normalize()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>normalize</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> normalize()</pre>
|
||||
<div class="block">Returns a normalized vector of this block's position, calculated by:</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The normalized vector of this block position.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="normalizeDouble()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>normalizeDouble</h4>
|
||||
<pre class="methodSignature">double[] normalizeDouble()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="offset(int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>offset</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> offset​(int direction)</pre>
|
||||
<div class="block">Offsets the block by 1 block in the given direction and returns the resulting IPos object</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>direction</code> - the direction ordinal</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the offset position</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="offset(int,double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>offset</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> offset​(int direction,
|
||||
double n)</pre>
|
||||
<div class="block">Offsets the block by n blocks in the given direction and returns the resulting IPos object</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>direction</code> - the direction ordinal</dd>
|
||||
<dd><code>n</code> - the distance</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the offset position</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="crossProduct(double,double,double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>crossProduct</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> crossProduct​(double x,
|
||||
double y,
|
||||
double z)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="crossProduct(noppes.npcs.api.IPos)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>crossProduct</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> crossProduct​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="divide(double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>divide</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> divide​(double scalar)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="toLong()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>toLong</h4>
|
||||
<pre class="methodSignature">long toLong()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="fromLong(long)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>fromLong</h4>
|
||||
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> fromLong​(long serialized)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="distanceTo(noppes.npcs.api.IPos)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>distanceTo</h4>
|
||||
<pre class="methodSignature">double distanceTo​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>pos</code> - The IPos object to calculate the distance to</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The distance between this IPos object and the other.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="distanceTo(double,double,double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>distanceTo</h4>
|
||||
<pre class="methodSignature">double distanceTo​(double x,
|
||||
double y,
|
||||
double z)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getMCPos()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getMCPos</h4>
|
||||
<pre class="methodSignature">net.minecraft.util.math.BlockPos getMCPos()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,325 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IScreenSize (CustomNPC-Plus 1.11.1 API)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../../javadoc-theme.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.min.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
|
||||
<script type="text/javascript" src="../../../script.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IScreenSize (CustomNPC-Plus 1.11.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":6,"i2":6,"i3":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "../../../";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">noppes.npcs.api</a></div>
|
||||
<h2 title="Interface IScreenSize" class="title">Interface IScreenSize</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">IScreenSize</span></pre>
|
||||
<div class="block">Represents the scaled screen dimensions of the client display.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHeight()">getHeight</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Gets the scaled screen height in pixels.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHeightPercent(double)">getHeightPercent</a></span>​(double percent)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Gets a pixel value representing the given percentage of the screen height.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWidth()">getWidth</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Gets the scaled screen width in pixels.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWidthPercent(double)">getWidthPercent</a></span>​(double percent)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Gets a pixel value representing the given percentage of the screen width.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="getWidth()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getWidth</h4>
|
||||
<pre class="methodSignature">int getWidth()</pre>
|
||||
<div class="block">Gets the scaled screen width in pixels.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the screen width</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getHeight()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getHeight</h4>
|
||||
<pre class="methodSignature">int getHeight()</pre>
|
||||
<div class="block">Gets the scaled screen height in pixels.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the screen height</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getWidthPercent(double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getWidthPercent</h4>
|
||||
<pre class="methodSignature">int getWidthPercent​(double percent)</pre>
|
||||
<div class="block">Gets a pixel value representing the given percentage of the screen width.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>percent</code> - the percentage of the width (0.0 to 100.0)</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the corresponding pixel value</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getHeightPercent(double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getHeightPercent</h4>
|
||||
<pre class="methodSignature">int getHeightPercent​(double percent)</pre>
|
||||
<div class="block">Gets a pixel value representing the given percentage of the screen height.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>percent</code> - the percentage of the height (0.0 to 100.0)</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the corresponding pixel value</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../index.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Loaded 100 of 5958 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user