public class NMS extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
addEntityToWorld(org.bukkit.entity.Entity entity,
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason custom) |
static void |
addOrRemoveFromPlayerList(org.bukkit.entity.Entity entity,
boolean remove) |
static void |
attack(org.bukkit.entity.LivingEntity attacker,
org.bukkit.entity.LivingEntity bukkitTarget) |
static com.mojang.authlib.GameProfile |
fillProfileProperties(com.mojang.authlib.GameProfile profile,
boolean requireSecure) |
static BlockBreaker |
getBlockBreaker(org.bukkit.entity.Entity entity,
org.bukkit.block.Block targetBlock,
BlockBreaker.BlockBreakerConfiguration config) |
static Object |
getBossBar(org.bukkit.entity.Entity entity) |
static BoundingBox |
getBoundingBox(org.bukkit.entity.Entity handle) |
static BoundingBox |
getCollisionBox(org.bukkit.block.Block block) |
static Field |
getField(Class<?> clazz,
String field) |
static Field |
getField(Class<?> clazz,
String field,
boolean log) |
static MethodHandle |
getFinalSetter(Class<?> clazz,
String field) |
static MethodHandle |
getFinalSetter(Class<?> clazz,
String field,
boolean log) |
static com.mojang.authlib.GameProfileRepository |
getGameProfileRepository() |
static MethodHandle |
getGetter(Class<?> clazz,
String name) |
static MethodHandle |
getGetter(Class<?> clazz,
String name,
boolean log) |
static float |
getHeadYaw(org.bukkit.entity.Entity entity) |
static double |
getHeight(org.bukkit.entity.Entity entity) |
static float |
getHorizontalMovement(org.bukkit.entity.Entity bukkitEntity) |
static Method |
getMethod(Class<?> clazz,
String method,
boolean log,
Class<?>... params) |
static MethodHandle |
getMethodHandle(Class<?> clazz,
String method,
boolean log,
Class<?>... params) |
static NPC |
getNPC(org.bukkit.entity.Entity entity) |
static List<org.bukkit.entity.Entity> |
getPassengers(org.bukkit.entity.Entity entity) |
static com.mojang.authlib.GameProfile |
getProfile(org.bukkit.inventory.meta.SkullMeta meta) |
static MethodHandle |
getSetter(Class<?> clazz,
String name) |
static MethodHandle |
getSetter(Class<?> clazz,
String name,
boolean log) |
static String |
getSound(String flag) |
static float |
getSpeedFor(NPC npc) |
static float |
getStepHeight(org.bukkit.entity.Entity entity) |
static MCTargetStrategy.TargetNavigator |
getTargetNavigator(org.bukkit.entity.Entity entity,
org.bukkit.entity.Entity target,
NavigatorParameters parameters) |
static MCNavigationStrategy.MCNavigator |
getTargetNavigator(org.bukkit.entity.Entity entity,
Iterable<org.bukkit.util.Vector> dest,
NavigatorParameters params) |
static MCNavigationStrategy.MCNavigator |
getTargetNavigator(org.bukkit.entity.Entity entity,
org.bukkit.Location dest,
NavigatorParameters params) |
static org.bukkit.entity.Entity |
getVehicle(org.bukkit.entity.Entity entity) |
static float |
getVerticalMovement(org.bukkit.entity.Entity bukkitEntity) |
static double |
getWidth(org.bukkit.entity.Entity entity) |
static float |
getYaw(org.bukkit.entity.Entity entity) |
static boolean |
isOnGround(org.bukkit.entity.Entity entity) |
static boolean |
isValid(org.bukkit.entity.Entity entity) |
static void |
load(CommandManager commands) |
static void |
loadBridge(String rev) |
static void |
loadPlugins() |
static void |
look(org.bukkit.entity.Entity bhandle,
org.bukkit.entity.Entity btarget) |
static void |
look(org.bukkit.entity.Entity entity,
float yaw,
float pitch) |
static void |
look(org.bukkit.entity.Entity entity,
org.bukkit.Location to,
boolean headOnly,
boolean immediate) |
static void |
mount(org.bukkit.entity.Entity entity,
org.bukkit.entity.Entity passenger) |
static void |
openHorseScreen(org.bukkit.entity.Tameable horse,
org.bukkit.entity.Player equipper) |
static void |
playAnimation(PlayerAnimation animation,
org.bukkit.entity.Player player,
int radius) |
static void |
playerTick(org.bukkit.entity.Player entity) |
static void |
registerEntityClass(Class<?> clazz) |
static void |
remove(org.bukkit.entity.Entity entity) |
static void |
removeFromServerPlayerList(org.bukkit.entity.Player player) |
static void |
removeFromWorld(org.bukkit.entity.Entity entity) |
static void |
removeHookIfNecessary(NPCRegistry npcRegistry,
org.bukkit.entity.FishHook entity) |
static void |
replaceTrackerEntry(org.bukkit.entity.Player player) |
static void |
sendPositionUpdate(org.bukkit.entity.Player excluding,
org.bukkit.entity.Entity from,
org.bukkit.Location storedLocation) |
static void |
sendTabListAdd(org.bukkit.entity.Player recipient,
org.bukkit.entity.Player listPlayer) |
static void |
sendTabListRemove(org.bukkit.entity.Player recipient,
Collection<? extends SkinnableEntity> skinnableNPCs) |
static void |
sendTabListRemove(org.bukkit.entity.Player recipient,
org.bukkit.entity.Player listPlayer) |
static void |
sendTeamPacket(org.bukkit.entity.Player recipient,
org.bukkit.scoreboard.Team team,
int mode) |
static void |
setBodyYaw(org.bukkit.entity.Entity entity,
float yaw) |
static void |
setDestination(org.bukkit.entity.Entity entity,
double x,
double y,
double z,
float speed) |
static void |
setEndermanAngry(org.bukkit.entity.Enderman enderman,
boolean angry) |
static void |
setHeadYaw(org.bukkit.entity.Entity entity,
float yaw) |
static void |
setKnockbackResistance(org.bukkit.entity.LivingEntity entity,
double d) |
static void |
setLyingDown(org.bukkit.entity.Entity cat,
boolean lying) |
static void |
setNavigationTarget(org.bukkit.entity.Entity handle,
org.bukkit.entity.Entity target,
float speed) |
static void |
setNoGravity(org.bukkit.entity.Entity entity,
boolean enabled) |
static void |
setPandaSitting(org.bukkit.entity.Entity entity,
boolean sitting) |
static void |
setPeekShulker(org.bukkit.entity.Entity entity,
int peek) |
static void |
setPolarBearRearing(org.bukkit.entity.Entity entity,
boolean rearing) |
static void |
setProfile(org.bukkit.inventory.meta.SkullMeta meta,
com.mojang.authlib.GameProfile profile) |
static void |
setShouldJump(org.bukkit.entity.Entity entity) |
static void |
setSitting(org.bukkit.entity.Ocelot ocelot,
boolean sitting) |
static void |
setSitting(org.bukkit.entity.Tameable tameable,
boolean sitting) |
static void |
setStepHeight(org.bukkit.entity.Entity entity,
float height) |
static void |
setTeamNameTagVisible(org.bukkit.scoreboard.Team team,
boolean visible) |
static void |
setVerticalMovement(org.bukkit.entity.Entity bukkitEntity,
double d) |
static void |
setWitherCharged(org.bukkit.entity.Wither wither,
boolean charged) |
static boolean |
shouldJump(org.bukkit.entity.Entity entity) |
static void |
shutdown() |
static boolean |
tick(org.bukkit.entity.Entity next) |
static void |
trySwim(org.bukkit.entity.Entity entity) |
static void |
trySwim(org.bukkit.entity.Entity entity,
float power) |
static void |
updateNavigationWorld(org.bukkit.entity.Entity entity,
org.bukkit.World world) |
static void |
updatePathfindingRange(NPC npc,
float pathfindingRange) |
public static boolean addEntityToWorld(org.bukkit.entity.Entity entity, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason custom)
public static void addOrRemoveFromPlayerList(org.bukkit.entity.Entity entity, boolean remove)
public static void attack(org.bukkit.entity.LivingEntity attacker, org.bukkit.entity.LivingEntity bukkitTarget)
public static com.mojang.authlib.GameProfile fillProfileProperties(com.mojang.authlib.GameProfile profile, boolean requireSecure) throws Throwable
Throwable
public static BlockBreaker getBlockBreaker(org.bukkit.entity.Entity entity, org.bukkit.block.Block targetBlock, BlockBreaker.BlockBreakerConfiguration config)
public static Object getBossBar(org.bukkit.entity.Entity entity)
public static BoundingBox getBoundingBox(org.bukkit.entity.Entity handle)
public static BoundingBox getCollisionBox(org.bukkit.block.Block block)
public static MethodHandle getFinalSetter(Class<?> clazz, String field)
public static MethodHandle getFinalSetter(Class<?> clazz, String field, boolean log)
public static com.mojang.authlib.GameProfileRepository getGameProfileRepository()
public static MethodHandle getGetter(Class<?> clazz, String name)
public static MethodHandle getGetter(Class<?> clazz, String name, boolean log)
public static float getHeadYaw(org.bukkit.entity.Entity entity)
public static double getHeight(org.bukkit.entity.Entity entity)
public static float getHorizontalMovement(org.bukkit.entity.Entity bukkitEntity)
public static Method getMethod(Class<?> clazz, String method, boolean log, Class<?>... params)
public static MethodHandle getMethodHandle(Class<?> clazz, String method, boolean log, Class<?>... params)
public static NPC getNPC(org.bukkit.entity.Entity entity)
public static List<org.bukkit.entity.Entity> getPassengers(org.bukkit.entity.Entity entity)
public static com.mojang.authlib.GameProfile getProfile(org.bukkit.inventory.meta.SkullMeta meta)
public static MethodHandle getSetter(Class<?> clazz, String name)
public static MethodHandle getSetter(Class<?> clazz, String name, boolean log)
public static String getSound(String flag) throws CommandException
CommandException
public static float getSpeedFor(NPC npc)
public static float getStepHeight(org.bukkit.entity.Entity entity)
public static MCNavigationStrategy.MCNavigator getTargetNavigator(org.bukkit.entity.Entity entity, Iterable<org.bukkit.util.Vector> dest, NavigatorParameters params)
public static MCNavigationStrategy.MCNavigator getTargetNavigator(org.bukkit.entity.Entity entity, org.bukkit.Location dest, NavigatorParameters params)
public static MCTargetStrategy.TargetNavigator getTargetNavigator(org.bukkit.entity.Entity entity, org.bukkit.entity.Entity target, NavigatorParameters parameters)
public static org.bukkit.entity.Entity getVehicle(org.bukkit.entity.Entity entity)
public static float getVerticalMovement(org.bukkit.entity.Entity bukkitEntity)
public static double getWidth(org.bukkit.entity.Entity entity)
public static float getYaw(org.bukkit.entity.Entity entity)
public static boolean isOnGround(org.bukkit.entity.Entity entity)
public static boolean isValid(org.bukkit.entity.Entity entity)
public static void load(CommandManager commands)
public static void loadPlugins()
public static void look(org.bukkit.entity.Entity entity, float yaw, float pitch)
public static void look(org.bukkit.entity.Entity entity, org.bukkit.Location to, boolean headOnly, boolean immediate)
public static void look(org.bukkit.entity.Entity bhandle, org.bukkit.entity.Entity btarget)
public static void mount(org.bukkit.entity.Entity entity, org.bukkit.entity.Entity passenger)
public static void openHorseScreen(org.bukkit.entity.Tameable horse, org.bukkit.entity.Player equipper)
public static void playAnimation(PlayerAnimation animation, org.bukkit.entity.Player player, int radius)
public static void playerTick(org.bukkit.entity.Player entity)
public static void registerEntityClass(Class<?> clazz)
public static void remove(org.bukkit.entity.Entity entity)
public static void removeFromServerPlayerList(org.bukkit.entity.Player player)
public static void removeFromWorld(org.bukkit.entity.Entity entity)
public static void removeHookIfNecessary(NPCRegistry npcRegistry, org.bukkit.entity.FishHook entity)
public static void replaceTrackerEntry(org.bukkit.entity.Player player)
public static void sendPositionUpdate(org.bukkit.entity.Player excluding, org.bukkit.entity.Entity from, org.bukkit.Location storedLocation)
public static void sendTabListAdd(org.bukkit.entity.Player recipient, org.bukkit.entity.Player listPlayer)
public static void sendTabListRemove(org.bukkit.entity.Player recipient, Collection<? extends SkinnableEntity> skinnableNPCs)
public static void sendTabListRemove(org.bukkit.entity.Player recipient, org.bukkit.entity.Player listPlayer)
public static void sendTeamPacket(org.bukkit.entity.Player recipient, org.bukkit.scoreboard.Team team, int mode)
public static void setBodyYaw(org.bukkit.entity.Entity entity, float yaw)
public static void setDestination(org.bukkit.entity.Entity entity, double x, double y, double z, float speed)
public static void setEndermanAngry(org.bukkit.entity.Enderman enderman, boolean angry)
public static void setHeadYaw(org.bukkit.entity.Entity entity, float yaw)
public static void setKnockbackResistance(org.bukkit.entity.LivingEntity entity, double d)
public static void setLyingDown(org.bukkit.entity.Entity cat, boolean lying)
public static void setNavigationTarget(org.bukkit.entity.Entity handle, org.bukkit.entity.Entity target, float speed)
public static void setNoGravity(org.bukkit.entity.Entity entity, boolean enabled)
public static void setPandaSitting(org.bukkit.entity.Entity entity, boolean sitting)
public static void setPeekShulker(org.bukkit.entity.Entity entity, int peek)
public static void setPolarBearRearing(org.bukkit.entity.Entity entity, boolean rearing)
public static void setProfile(org.bukkit.inventory.meta.SkullMeta meta, com.mojang.authlib.GameProfile profile)
public static void setShouldJump(org.bukkit.entity.Entity entity)
public static void setSitting(org.bukkit.entity.Ocelot ocelot, boolean sitting)
public static void setSitting(org.bukkit.entity.Tameable tameable, boolean sitting)
public static void setStepHeight(org.bukkit.entity.Entity entity, float height)
public static void setTeamNameTagVisible(org.bukkit.scoreboard.Team team, boolean visible)
public static void setVerticalMovement(org.bukkit.entity.Entity bukkitEntity, double d)
public static void setWitherCharged(org.bukkit.entity.Wither wither, boolean charged)
public static boolean shouldJump(org.bukkit.entity.Entity entity)
public static void shutdown()
public static boolean tick(org.bukkit.entity.Entity next)
public static void trySwim(org.bukkit.entity.Entity entity)
public static void trySwim(org.bukkit.entity.Entity entity, float power)
public static void updateNavigationWorld(org.bukkit.entity.Entity entity, org.bukkit.World world)
public static void updatePathfindingRange(NPC npc, float pathfindingRange)
Copyright © 2021. All rights reserved.