Commit Graph
93 Commits
Author SHA1 Message Date
A248andGitHub 73df32172e Add getState(NPCState)
Adds NPC#getState(NPCState) to return a boolean indicating whether the NPC in question has a specific state.
2019-10-31 20:10:20 -04:00
A248andGitHub b97361516c Make NPCBase.java compliant with updated NPC.java
Makes NPCBase compliant with net.jitse.npclib.api.NPC.
Implements NPC#getText() to return List<String> and NPC#getSlot(NPCSlot slot) to return ItemStack.
2019-10-31 19:57:04 -04:00
A248andGitHub d7144e445e Update NPC.java with getText() and getItem()
Adds these methods to the NPC interface.
2019-10-31 19:50:46 -04:00
Jitse BoonstraandGitHub 5e25836310 Merge pull request #36 from JitseB/dependabot/maven/api/io.netty-netty-all-4.1.42.Final
Bump netty-all from 4.1.33.Final to 4.1.42.Final in /api
2019-10-29 12:54:31 +01:00
Jitse Boonstra 5650cbd1e2 For 2.3-SNAPSHOT, text update method (#11)! 2019-10-29 12:43:54 +01:00
Jitse Boonstra d9558eef63 Text update function working on v1.8 R1! 2019-10-28 20:10:47 +01:00
Jitse Boonstra 3dceca16b9 More things for #11 😄 2019-10-21 20:21:03 +02:00
Jitse Boonstra 4d2140d24c Started thinking about the implemtation of #11 2019-10-21 09:49:23 +02:00
Jitse Boonstra 6f3f9b05d4 For v2.2. 2019-10-20 20:04:38 +02:00
Jitse Boonstra cd1115d2a3 More code for #20
Started work on 1.8 R2 to 1.9 R2 with some slight errors, will be fixed later. 1.8 R1 should be working though.
2019-10-20 11:36:37 +02:00
Jitse Boonstra 96028d2ca1 Started work on #20 2019-10-20 10:48:12 +02:00
dependabot[bot]andGitHub a3f0188483 Bump netty-all from 4.1.33.Final to 4.1.42.Final in /api
Bumps [netty-all](https://github.com/netty/netty) from 4.1.33.Final to 4.1.42.Final.
- [Release notes](https://github.com/netty/netty/releases)
- [Commits](https://github.com/netty/netty/compare/netty-4.1.33.Final...netty-4.1.42.Final)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-11 19:20:46 +00:00
Jitse Boonstra a91ee58547 Updated version to 2.1-SNAPSHOT. 2019-10-05 17:44:01 +02:00
Kneesnap bd172a100a Fully fix kick bug for all versions.
The problem was that if a scoreboard team is sent while it's already registered, the player will disconnect.
Since there does not appear to be any downside to never removing the team,
we just won't remove the team, and send the team only once.
If there are any problems with this in the future, we can implement a smart solution which will be able to handle the packet sending properly.
2019-09-25 15:02:37 -07:00
Kneesnap bc1c9677ba Bug-fix the packet listener. 2019-09-23 13:59:49 -07:00
Kneesnap 1c035ba290 Fix 1.12.X support. 2019-09-23 13:33:59 -07:00
Kneesnap dfa1d14f0e Avoid unintentionally loading loads of chunks with Location#getChunk 2019-09-22 12:23:09 -07:00
Kneesnap 3b62c85e7e Handle if a player was kicked, instead of quitting normally. 2019-09-22 12:18:53 -07:00
Kneesnap 0ecc238e6a Player move optimization. 2019-09-22 12:09:48 -07:00
Kneesnap d9ca07b195 Optimize important code, add distance interaction check. 2019-09-20 14:34:16 -07:00
Jitse Boonstra 6b08114366 For v2.0.1 (minor bug fix #26) 2019-08-07 11:16:34 +02:00
Jitse Boonstra ff1472a94f Small updates. 2019-08-03 15:04:15 +02:00
Jitse Boonstra e0752c5d7e Updated the library. 2019-08-03 13:47:12 +02:00
Jitse Boonstra b8a7dcaddb More fiddling around with Sonatype.... 2019-06-03 23:30:50 +02:00
Jitse Boonstra 9771bd1077 Making NPCLib ready for Sonatype 2019-06-03 12:26:15 +02:00
Jitse Boonstra 3fb931e26e Reverted previous commit 2019-05-06 17:04:15 +02:00
Jitse Boonstra 70e17624bd Attempt to fix Jitpack issue 2019-05-06 09:00:16 +02:00
Jitse Boonstra 1dbe797e01 For 1.4.2. 2019-05-02 18:15:15 +02:00
Jitse Boonstra 4f5299a872 Changed maven file naming 2019-05-02 17:59:04 +02:00
Jitse Boonstra 96f82b1779 Changed version to v1.4.1 (fix #12). 2019-02-21 22:26:28 +01:00
Jitse Boonstra d018b8d97b For v1.4 (#10) (added support for 1.7.10). 2019-02-15 20:18:00 +01:00
Jitse Boonstra 3f3c864a54 Started on 1.7.10 (v1_7_R4) support (#10).
The older version of Netty is causing a bug with TinyProtocol.
2018-11-30 18:45:19 +01:00
Jitse Boonstra a6e8c0f4ce Updates for v1.3. 2018-11-25 14:10:56 +01:00
Jitse Boonstra c74ee68920 Updated version to v1.2.2. 2018-11-12 22:43:06 +01:00
Jitse Boonstra 25e33a17ff Changed version number to 1.2.1. 2018-10-17 19:58:37 +02:00
Jitse Boonstra 1f0fca019b For v1.2 - Added 1.13 support. 2018-08-18 14:37:05 +02:00
JitseB 15335c24f1 For v1.1.4.
Fixed the usage of NPCLib as a plugin dependency without shading it.
2018-05-20 10:13:58 +02:00
JitseB bca98b061a For v1.1.3.
Some files will not be used in this release. These will become active in v1.2.
2018-05-16 19:36:19 +02:00
JitseB 76039112b0 Changed version to v1.1.2 for next release. 2018-05-09 12:17:44 +02:00
JitseB 11936e630c For v1.1.1, fixes reload bug. 2018-05-06 23:34:55 +02:00
JitseB 9a8108748e API pom.xml change to test TravisCI. 2018-05-06 01:09:32 +02:00
JitseB ac3e4ea595 For v1.1. 2018-05-05 20:16:04 +02:00
MrMicky c9a58ccd48 Add Maven ! 2018-04-26 13:52:49 +02:00