Comments (3)
I don't think the API has direct methods to allow entity riding yet.
However, you could just create your own entity class as described here and override the g
method: https://github.com/InventivetalentDev/CompactNPCLib/wiki/Creating-custom-NPC-classes
from compactnpclib.
TODO: Add NPC Control Event
-> https://github.com/InventivetalentDev/CompactNPCLib/blob/master/API/src/main/java/org/inventivetalent/npclib/npc/living/NPCLivingAbstract.java#L54
from compactnpclib.
It's easy to ride entity using addPassenger method from bukkit Entity interface, but if you wan't to control entity, you need to overwrite some methods, like "g" and remove "tame" system.
It will be really good, to make annotation for this.
from compactnpclib.
Related Issues (20)
- CmdNPC/NPCLib Error on Startup [1.7] HOT 3
- RuntimeException HOT 4
- Craftbukkit dependency HOT 2
- 1.11 support HOT 1
- Cannot spawn PlayerNPCs (Nothing happens) HOT 5
- Excessive CPU usage after several NPCs are spawned then removed. HOT 3
- Crash
- Crash on version 1.11 HOT 3
- it won't load HOT 16
- Move code is only compatible with 1.11 HOT 1
- Spawn a Player after Reload HOT 5
- AI crash HOT 1
- [ENHANCEMENT] NPC spawn with packet
- THIS PLUGIN NOT WORKING WITH MURDER HOT 1
- NPCLib doesn't work on Paper Spigot 1.10.2
- ERROR HOT 3
- This plugin depends on NPCLib HOT 2
- How to use the method: NPCPlayer.setSkinTexture(String value, String signature)? HOT 4
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compactnpclib.