mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 20:44:08 +00:00
342 lines
16 KiB
HTML
342 lines
16 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc -->
|
|
<title>noppes.npcs.api.entity (CustomNPC-Plus 1.11 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="noppes.npcs.api.entity (CustomNPC-Plus 1.11 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 class="navBarCell1Rev">Package</li>
|
|
<li>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>
|
|
<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="Package" class="title">Package noppes.npcs.api.entity</h1>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<table class="typeSummary">
|
|
<caption><span>Interface Summary</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Interface</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="IAnimal.html" title="interface in noppes.npcs.api.entity">IAnimal</a><T extends net.minecraft.entity.passive.EntityAnimal></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents an animal entity with additional behavior such as breeding,
|
|
following, and mating.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="IAnimatable.html" title="interface in noppes.npcs.api.entity">IAnimatable</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents an entity capable of playing animations.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="IArrow.html" title="interface in noppes.npcs.api.entity">IArrow</a><T extends net.minecraft.entity.projectile.EntityArrow></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents a arrow entity with additional methods.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="ICustomNpc.html" title="interface in noppes.npcs.api.entity">ICustomNpc</a><T extends net.minecraft.entity.EntityCreature></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents a customizable NPC with a wide variety of properties such as appearance,
|
|
behavior, combat, loot, and more.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="IDBCPlayer.html" title="interface in noppes.npcs.api.entity">IDBCPlayer</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Extends IPlayer with additional methods specific to DBC (Dragon Ball C) players.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="IEnergyAbility.html" title="interface in noppes.npcs.api.entity">IEnergyAbility</a><T extends net.minecraft.entity.Entity></th>
|
|
<td class="colLast">
|
|
<div class="block">Base interface for all energy ability entities (Projectiles, Barriers).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="IEnergyBarrier.html" title="interface in noppes.npcs.api.entity">IEnergyBarrier</a><T extends net.minecraft.entity.Entity></th>
|
|
<td class="colLast">
|
|
<div class="block">Base interface for energy barrier entities (Dome, Panel).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="IEnergyBeam.html" title="interface in noppes.npcs.api.entity">IEnergyBeam</a><T extends net.minecraft.entity.Entity></th>
|
|
<td class="colLast">
|
|
<div class="block">A directional beam projectile with a trailing path and optional head orb.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="IEnergyDisc.html" title="interface in noppes.npcs.api.entity">IEnergyDisc</a><T extends net.minecraft.entity.Entity></th>
|
|
<td class="colLast">
|
|
<div class="block">A flat spinning disc projectile with optional boomerang behavior.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="IEnergyDome.html" title="interface in noppes.npcs.api.entity">IEnergyDome</a><T extends net.minecraft.entity.Entity></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents an energy dome barrier - a spherical shield centered on the caster.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="IEnergyExplosion.html" title="interface in noppes.npcs.api.entity">IEnergyExplosion</a><T extends net.minecraft.entity.Entity></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents a standalone energy explosion entity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="IEnergyLaser.html" title="interface in noppes.npcs.api.entity">IEnergyLaser</a><T extends net.minecraft.entity.Entity></th>
|
|
<td class="colLast">
|
|
<div class="block">A continuous laser beam that extends outward from its origin along a direction vector.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="IEnergyOrb.html" title="interface in noppes.npcs.api.entity">IEnergyOrb</a><T extends net.minecraft.entity.Entity></th>
|
|
<td class="colLast">
|
|
<div class="block">A spherical homing energy ball.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="IEnergyPanel.html" title="interface in noppes.npcs.api.entity">IEnergyPanel</a><T extends net.minecraft.entity.Entity></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents an energy panel barrier - a flat rectangular shield (Wall or Shield mode).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="IEnergyProjectile.html" title="interface in noppes.npcs.api.entity">IEnergyProjectile</a><T extends net.minecraft.entity.Entity></th>
|
|
<td class="colLast">
|
|
<div class="block">Base interface for all energy projectile entities (Orb, Beam, Disc, Laser, Slicer).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="IEnergySlicer.html" title="interface in noppes.npcs.api.entity">IEnergySlicer</a><T extends net.minecraft.entity.Entity></th>
|
|
<td class="colLast">
|
|
<div class="block">A thin, wide blade projectile that slices through targets.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="IEnergySweeper.html" title="interface in noppes.npcs.api.entity">IEnergySweeper</a><T extends net.minecraft.entity.Entity></th>
|
|
<td class="colLast">
|
|
<div class="block">Entity-level interface for sweeper beam entities.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="IEnergyZone.html" title="interface in noppes.npcs.api.entity">IEnergyZone</a><T extends net.minecraft.entity.Entity></th>
|
|
<td class="colLast">
|
|
<div class="block">Entity-level interface for zone entities (Hazard and Trap).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a><T extends net.minecraft.entity.Entity></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents a generic entity in the world.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="IEntityItem.html" title="interface in noppes.npcs.api.entity">IEntityItem</a><T extends net.minecraft.entity.item.EntityItem></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents an item entity in the world.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="IEntityLiving.html" title="interface in noppes.npcs.api.entity">IEntityLiving</a><T extends net.minecraft.entity.EntityLiving></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents a living entity (mob, NPC, etc.) that extends the base living functionality.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a><T extends net.minecraft.entity.EntityLivingBase></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents a living entity (mob, NPC, etc.) with additional methods to manage health,
|
|
damage, targeting, vision, potion effects, equipment, and various attributes.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="IFishHook.html" title="interface in noppes.npcs.api.entity">IFishHook</a><T extends net.minecraft.entity.projectile.EntityFishHook></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents a fish hook entity with additional methods.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="IMonster.html" title="interface in noppes.npcs.api.entity">IMonster</a><T extends net.minecraft.entity.monster.EntityMob></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents a monster entity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="IPixelmon.html" title="interface in noppes.npcs.api.entity">IPixelmon</a><T extends net.minecraft.entity.passive.EntityTameable></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents a Pixelmon (a tameable creature) with additional attributes
|
|
such as shiny state, level, IV/EV values, nature, moves, and more.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="IPlayer.html" title="interface in noppes.npcs.api.entity">IPlayer</a><T extends net.minecraft.entity.player.EntityPlayerMP></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents a player in the game with methods for managing dialogs, quests,
|
|
inventory, sound, and more.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="IProjectile.html" title="interface in noppes.npcs.api.entity">IProjectile</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents a projectile entity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="IThrowable.html" title="interface in noppes.npcs.api.entity">IThrowable</a><T extends net.minecraft.entity.projectile.EntityThrowable></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents a throwable entity with additional methods.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="IVillager.html" title="interface in noppes.npcs.api.entity">IVillager</a><T extends net.minecraft.entity.passive.EntityVillager></th>
|
|
<td class="colLast">
|
|
<div class="block">Represents a villager entity with additional trading-related methods.</div>
|
|
</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 class="navBarCell1Rev">Package</li>
|
|
<li>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>
|
|
<a id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</nav>
|
|
</footer>
|
|
</body>
|
|
</html>
|