Interface NMSBridge


public interface NMSBridge
  • Method Details

    • addEntityToWorld

      boolean addEntityToWorld(Entity entity, CreatureSpawnEvent.SpawnReason custom)
    • addOrRemoveFromPlayerList

      void addOrRemoveFromPlayerList(Entity entity, boolean remove)
    • attack

      void attack(LivingEntity attacker, LivingEntity target)
    • cancelMoveDestination

      void cancelMoveDestination(Entity entity)
    • fillProfileProperties

      com.mojang.authlib.GameProfile fillProfileProperties(com.mojang.authlib.GameProfile profile, boolean requireSecure) throws Throwable
      Throws:
      Throwable
    • getBlockBreaker

      BlockBreaker getBlockBreaker(Entity entity, Block targetBlock, BlockBreaker.BlockBreakerConfiguration config)
    • getBossBar

      Object getBossBar(Entity entity)
    • getBoundingBox

      BoundingBox getBoundingBox(Entity handle)
    • getCollisionBox

      BoundingBox getCollisionBox(Block block)
    • getDestination

      Location getDestination(Entity entity)
    • getGameProfileRepository

      com.mojang.authlib.GameProfileRepository getGameProfileRepository()
    • getHeadYaw

      float getHeadYaw(Entity entity)
    • getHeight

      double getHeight(Entity entity)
    • getHorizontalMovement

      float getHorizontalMovement(Entity entity)
    • getNPC

      NPC getNPC(Entity entity)
    • getPassengers

      List<Entity> getPassengers(Entity entity)
    • getProfile

      com.mojang.authlib.GameProfile getProfile(SkullMeta meta)
    • getSound

      String getSound(String flag) throws CommandException
      Throws:
      CommandException
    • getSpeedFor

      float getSpeedFor(NPC npc)
    • getStepHeight

      float getStepHeight(Entity entity)
    • getTargetNavigator

      MCTargetStrategy.TargetNavigator getTargetNavigator(Entity handle, Entity target, NavigatorParameters parameters)
    • getTargetNavigator

      MCNavigationStrategy.MCNavigator getTargetNavigator(Entity entity, Iterable<Vector> dest, NavigatorParameters params)
    • getTargetNavigator

      MCNavigationStrategy.MCNavigator getTargetNavigator(Entity entity, Location dest, NavigatorParameters params)
    • getVehicle

      Entity getVehicle(Entity entity)
    • getVerticalMovement

      float getVerticalMovement(Entity entity)
    • getWidth

      double getWidth(Entity entity)
    • getYaw

      float getYaw(Entity entity)
    • isOnGround

      boolean isOnGround(Entity entity)
    • isSolid

      boolean isSolid(Block in)
    • isValid

      boolean isValid(Entity entity)
    • load

      void load(CommandManager commands)
    • loadPlugins

      void loadPlugins()
    • look

      void look(Entity from, Entity to)
    • look

      void look(Entity entity, float yaw, float pitch)
    • look

      void look(Entity entity, Location to, boolean headOnly, boolean immediate)
    • mount

      void mount(Entity entity, Entity passenger)
    • openAnvilInventory

      InventoryView openAnvilInventory(Player player, Inventory anvil, String title)
    • openHorseScreen

      void openHorseScreen(Tameable horse, Player equipper)
    • playAnimation

      void playAnimation(PlayerAnimation animation, Player player, int radius)
    • playerTick

      void playerTick(Player entity)
    • registerEntityClass

      void registerEntityClass(Class<?> clazz)
    • remove

      void remove(Entity entity)
    • removeFromServerPlayerList

      void removeFromServerPlayerList(Player player)
    • removeFromWorld

      void removeFromWorld(Entity entity)
    • removeHookIfNecessary

      void removeHookIfNecessary(NPCRegistry npcRegistry, FishHook entity)
    • replaceTrackerEntry

      void replaceTrackerEntry(Player player)
    • sendPositionUpdate

      void sendPositionUpdate(Player excluding, Entity from, Location storedLocation)
    • sendTabListAdd

      void sendTabListAdd(Player recipient, Player listPlayer)
    • sendTabListRemove

      void sendTabListRemove(Player recipient, Collection<? extends SkinnableEntity> skinnableNPCs)
    • sendTabListRemove

      void sendTabListRemove(Player recipient, Player listPlayer)
    • sendTeamPacket

      void sendTeamPacket(Player recipient, Team team, int mode)
    • setAllayDancing

      void setAllayDancing(Entity entity, boolean dancing)
    • setBodyYaw

      void setBodyYaw(Entity entity, float yaw)
    • setDestination

      void setDestination(Entity entity, double x, double y, double z, float speed)
    • setEndermanAngry

      void setEndermanAngry(Enderman enderman, boolean angry)
    • setHeadYaw

      void setHeadYaw(Entity entity, float yaw)
    • setKnockbackResistance

      void setKnockbackResistance(LivingEntity entity, double d)
    • setLyingDown

      void setLyingDown(Entity cat, boolean lying)
    • setNavigationTarget

      void setNavigationTarget(Entity handle, Entity target, float speed)
    • setNoGravity

      void setNoGravity(Entity entity, boolean nogravity)
    • setPandaSitting

      void setPandaSitting(Entity entity, boolean sitting)
    • setPeekShulker

      void setPeekShulker(Entity entity, int peek)
    • setPiglinDancing

      void setPiglinDancing(Entity entity, boolean dancing)
    • setPitch

      void setPitch(Entity entity, float pitch)
    • setPolarBearRearing

      void setPolarBearRearing(Entity entity, boolean rearing)
    • setProfile

      void setProfile(SkullMeta meta, com.mojang.authlib.GameProfile profile)
    • setShouldJump

      void setShouldJump(Entity entity)
    • setSitting

      void setSitting(Ocelot ocelot, boolean sitting)
    • setSitting

      void setSitting(Tameable tameable, boolean sitting)
    • setSneaking

      void setSneaking(Entity entity, boolean sneaking)
    • setStepHeight

      void setStepHeight(Entity entity, float height)
    • setTeamNameTagVisible

      void setTeamNameTagVisible(Team team, boolean visible)
    • setVerticalMovement

      void setVerticalMovement(Entity bukkitEntity, double d)
    • setWitherCharged

      void setWitherCharged(Wither wither, boolean charged)
    • shouldJump

      boolean shouldJump(Entity entity)
    • shutdown

      void shutdown()
    • tick

      boolean tick(Entity next)
    • trySwim

      void trySwim(Entity entity)
    • trySwim

      void trySwim(Entity entity, float power)
    • updateInventoryTitle

      void updateInventoryTitle(Player player, InventoryView view, String newTitle)
    • updateNavigationWorld

      void updateNavigationWorld(Entity entity, World world)
    • updatePathfindingRange

      void updatePathfindingRange(NPC npc, float pathfindingRange)