Class NMSImpl

  • All Implemented Interfaces:
    NMS

    public class NMSImpl
    extends Object
    implements NMS
    • Constructor Detail

      • NMSImpl

        @Inject
        public NMSImpl​(co.aikar.taskchain.TaskChainFactory taskChainFactory,
                       HyperConfiguration hyperConfiguration)
    • Method Detail

      • getOrCreateNetherPortal

        @Nullable
        public @Nullable org.bukkit.Location getOrCreateNetherPortal​(@NotNull
                                                                     @NotNull org.bukkit.entity.Entity entity,
                                                                     @NotNull
                                                                     @NotNull org.bukkit.Location origin)
        Specified by:
        getOrCreateNetherPortal in interface NMS
      • getDimensionSpawn

        @Nullable
        public @Nullable org.bukkit.Location getDimensionSpawn​(@NotNull
                                                               @NotNull org.bukkit.Location origin)
        Specified by:
        getDimensionSpawn in interface NMS
      • writePlayerData

        public void writePlayerData​(@NotNull
                                    @NotNull org.bukkit.entity.Player player,
                                    @NotNull
                                    @NotNull Path file)
        Specified by:
        writePlayerData in interface NMS
      • readPlayerData

        public void readPlayerData​(@NotNull
                                   @NotNull org.bukkit.entity.Player player,
                                   @NotNull
                                   @NotNull Path file,
                                   @NotNull
                                   @NotNull Runnable whenDone)
        Specified by:
        readPlayerData in interface NMS