For v1.1.3.

Some files will not be used in this release. These will become active in v1.2.
This commit is contained in:
JitseB 2018-05-16 19:36:19 +02:00
parent e0862fcfb6
commit bca98b061a
16 changed files with 52 additions and 14 deletions

View File

@ -7,7 +7,7 @@
<parent>
<groupId>net.jitse</groupId>
<artifactId>npclib</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
</parent>
<artifactId>npclib-api</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>net.jitse</groupId>
<artifactId>npclib</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
</parent>
<artifactId>npclib-commons</artifactId>

View File

@ -0,0 +1,17 @@
/*
* Copyright (c) 2018 Jitse Boonstra
*/
package net.jitse.npclib.api;
/**
* @author Jitse Boonstra
*/
public interface ActionHandler {
// void toggleSleep(Supplier<Set<Player>> visible);
//
// void toggleShift(Supplier<Set<Player>> visible);
//
// void toggleWatching(Player player, Supplier<Set<Player>> visible);
}

View File

@ -22,7 +22,7 @@ import java.util.*;
/**
* @author Jitse Boonstra
*/
public abstract class NPC implements PacketHandler {
public abstract class NPC implements PacketHandler, ActionHandler {
protected final UUID uuid = UUID.randomUUID();
protected final String name = uuid.toString().replace("-", "").substring(0, 10);

View File

@ -0,0 +1,21 @@
/*
* Copyright (c) 2018 Jitse Boonstra
*/
package net.jitse.npclib.api.packet;
import org.bukkit.entity.Player;
/**
* @author Jitse Boonstra
*/
public abstract class NPCPacket {
private Object packet;
public void send(Player player) {
}
public abstract void create();
}

View File

@ -7,7 +7,7 @@
<parent>
<groupId>net.jitse</groupId>
<artifactId>npclib</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
</parent>
<artifactId>npclib-nms</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>net.jitse</groupId>
<artifactId>npclib-nms</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
</parent>
<artifactId>npclib-nms-v1_10_R1</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>net.jitse</groupId>
<artifactId>npclib-nms</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
</parent>
<artifactId>npclib-nms-v1_11_R1</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>net.jitse</groupId>
<artifactId>npclib-nms</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
</parent>
<artifactId>npclib-nms-v1_12_R1</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>net.jitse</groupId>
<artifactId>npclib-nms</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
</parent>
<artifactId>npclib-nms-v1_8_R1</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>net.jitse</groupId>
<artifactId>npclib-nms</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
</parent>
<artifactId>npclib-nms-v1_8_R2</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>net.jitse</groupId>
<artifactId>npclib-nms</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
</parent>
<artifactId>npclib-nms-v1_8_R3</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>net.jitse</groupId>
<artifactId>npclib-nms</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
</parent>
<artifactId>npclib-nms-v1_9_R1</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>net.jitse</groupId>
<artifactId>npclib-nms</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
</parent>
<artifactId>npclib-nms-v1_9_R2</artifactId>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>net.jitse</groupId>
<artifactId>npclib</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
</parent>
<artifactId>npclib-plugin</artifactId>

View File

@ -8,7 +8,7 @@
<groupId>net.jitse</groupId>
<artifactId>npclib</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
<name>NPCLib</name>
<url>https://github.com/JitseB/npclib</url>