public interface NMSBridge
Modifier and Type | Method and Description |
---|---|
boolean |
addEntityToWorld(Entity entity,
CreatureSpawnEvent.SpawnReason custom) |
void |
addOrRemoveFromPlayerList(Entity entity,
boolean remove) |
void |
attack(LivingEntity attacker,
LivingEntity target) |
com.mojang.authlib.GameProfile |
fillProfileProperties(com.mojang.authlib.GameProfile profile,
boolean requireSecure) |
net.citizensnpcs.api.npc.BlockBreaker |
getBlockBreaker(Entity entity,
Block targetBlock,
net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration config) |
BoundingBox |
getBoundingBox(Entity handle) |
com.mojang.authlib.GameProfileRepository |
getGameProfileRepository() |
float |
getHeadYaw(Entity entity) |
float |
getHorizontalMovement(Entity entity) |
net.citizensnpcs.api.npc.NPC |
getNPC(Entity entity) |
List<Entity> |
getPassengers(Entity entity) |
com.mojang.authlib.GameProfile |
getProfile(SkullMeta meta) |
String |
getSound(String flag) |
float |
getSpeedFor(net.citizensnpcs.api.npc.NPC npc) |
float |
getStepHeight(Entity entity) |
MCTargetStrategy.TargetNavigator |
getTargetNavigator(Entity handle,
Entity target,
net.citizensnpcs.api.ai.NavigatorParameters parameters) |
MCNavigationStrategy.MCNavigator |
getTargetNavigator(Entity entity,
Iterable<Vector> dest,
net.citizensnpcs.api.ai.NavigatorParameters params) |
MCNavigationStrategy.MCNavigator |
getTargetNavigator(Entity entity,
Location dest,
net.citizensnpcs.api.ai.NavigatorParameters params) |
Entity |
getVehicle(Entity entity) |
float |
getVerticalMovement(Entity entity) |
boolean |
isOnGround(Entity entity) |
void |
load(net.citizensnpcs.api.command.CommandManager commands) |
void |
loadPlugins() |
void |
look(Entity from,
Entity to) |
void |
look(Entity entity,
float yaw,
float pitch) |
void |
look(Entity entity,
Location to,
boolean headOnly,
boolean immediate) |
void |
mount(Entity entity,
Entity passenger) |
void |
openHorseScreen(Tameable horse,
Player equipper) |
void |
playAnimation(PlayerAnimation animation,
Player player,
int radius) |
void |
registerEntityClass(Class<?> clazz) |
void |
remove(Entity entity) |
void |
removeFromServerPlayerList(Player player) |
void |
removeFromWorld(Entity entity) |
void |
removeHookIfNecessary(net.citizensnpcs.api.npc.NPCRegistry npcRegistry,
FishHook entity) |
void |
replaceTrackerEntry(Player player) |
void |
sendPositionUpdate(Player excluding,
Entity from,
Location storedLocation) |
void |
sendTabListAdd(Player recipient,
Player listPlayer) |
void |
sendTabListRemove(Player recipient,
Collection<? extends SkinnableEntity> skinnableNPCs) |
void |
sendTabListRemove(Player recipient,
Player listPlayer) |
void |
setDestination(Entity entity,
double x,
double y,
double z,
float speed) |
void |
setDummyAdvancement(Player entity) |
void |
setHeadYaw(Entity entity,
float yaw) |
void |
setKnockbackResistance(LivingEntity entity,
double d) |
void |
setNavigationTarget(Entity handle,
Entity target,
float speed) |
void |
setPeekShulker(Entity entity,
int peek) |
void |
setProfile(SkullMeta meta,
com.mojang.authlib.GameProfile profile) |
void |
setShouldJump(Entity entity) |
void |
setSitting(Ocelot ocelot,
boolean sitting) |
void |
setSitting(Tameable tameable,
boolean sitting) |
void |
setStepHeight(Entity entity,
float height) |
void |
setVerticalMovement(Entity bukkitEntity,
double d) |
void |
setWitherCharged(Wither wither,
boolean charged) |
boolean |
shouldJump(Entity entity) |
void |
shutdown() |
boolean |
tick(Entity next) |
void |
trySwim(Entity entity) |
void |
trySwim(Entity entity,
float power) |
void |
updateNavigationWorld(Entity entity,
World world) |
void |
updatePathfindingRange(net.citizensnpcs.api.npc.NPC npc,
float pathfindingRange) |
boolean addEntityToWorld(Entity entity, CreatureSpawnEvent.SpawnReason custom)
void addOrRemoveFromPlayerList(Entity entity, boolean remove)
void attack(LivingEntity attacker, LivingEntity target)
com.mojang.authlib.GameProfile fillProfileProperties(com.mojang.authlib.GameProfile profile, boolean requireSecure) throws Throwable
Throwable
net.citizensnpcs.api.npc.BlockBreaker getBlockBreaker(Entity entity, Block targetBlock, net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration config)
BoundingBox getBoundingBox(Entity handle)
com.mojang.authlib.GameProfileRepository getGameProfileRepository()
float getHeadYaw(Entity entity)
float getHorizontalMovement(Entity entity)
net.citizensnpcs.api.npc.NPC getNPC(Entity entity)
com.mojang.authlib.GameProfile getProfile(SkullMeta meta)
String getSound(String flag) throws net.citizensnpcs.api.command.exception.CommandException
net.citizensnpcs.api.command.exception.CommandException
float getSpeedFor(net.citizensnpcs.api.npc.NPC npc)
float getStepHeight(Entity entity)
MCTargetStrategy.TargetNavigator getTargetNavigator(Entity handle, Entity target, net.citizensnpcs.api.ai.NavigatorParameters parameters)
MCNavigationStrategy.MCNavigator getTargetNavigator(Entity entity, Iterable<Vector> dest, net.citizensnpcs.api.ai.NavigatorParameters params)
MCNavigationStrategy.MCNavigator getTargetNavigator(Entity entity, Location dest, net.citizensnpcs.api.ai.NavigatorParameters params)
float getVerticalMovement(Entity entity)
boolean isOnGround(Entity entity)
void load(net.citizensnpcs.api.command.CommandManager commands)
void loadPlugins()
void look(Entity entity, float yaw, float pitch)
void playAnimation(PlayerAnimation animation, Player player, int radius)
void registerEntityClass(Class<?> clazz)
void remove(Entity entity)
void removeFromServerPlayerList(Player player)
void removeFromWorld(Entity entity)
void removeHookIfNecessary(net.citizensnpcs.api.npc.NPCRegistry npcRegistry, FishHook entity)
void replaceTrackerEntry(Player player)
void sendTabListRemove(Player recipient, Collection<? extends SkinnableEntity> skinnableNPCs)
void setDestination(Entity entity, double x, double y, double z, float speed)
void setDummyAdvancement(Player entity)
void setHeadYaw(Entity entity, float yaw)
void setKnockbackResistance(LivingEntity entity, double d)
void setPeekShulker(Entity entity, int peek)
void setProfile(SkullMeta meta, com.mojang.authlib.GameProfile profile)
void setShouldJump(Entity entity)
void setSitting(Ocelot ocelot, boolean sitting)
void setSitting(Tameable tameable, boolean sitting)
void setStepHeight(Entity entity, float height)
void setVerticalMovement(Entity bukkitEntity, double d)
void setWitherCharged(Wither wither, boolean charged)
boolean shouldJump(Entity entity)
void shutdown()
boolean tick(Entity next)
void trySwim(Entity entity)
void trySwim(Entity entity, float power)
void updatePathfindingRange(net.citizensnpcs.api.npc.NPC npc, float pathfindingRange)
Copyright © 2019. All rights reserved.