Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
08e882b
commit dbf5e3a
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
src/main/java/net/aufdemrand/denizen/npc/traits/_templateTrait.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package net.aufdemrand.denizen.npc.traits; | ||
|
||
import net.citizensnpcs.api.event.NPCLeftClickEvent; | ||
import net.citizensnpcs.api.trait.Trait; | ||
import org.bukkit.event.EventHandler; | ||
|
||
|
||
public class _templateTrait extends Trait { | ||
|
||
// MyPlugin _plugin; | ||
|
||
public _templateTrait() { | ||
super("mytrait"); | ||
} | ||
|
||
@Override | ||
public void onAttach() { | ||
// my_plugin = Bukkit.getPluginManager().getPlugin("my_plugin"); | ||
} | ||
|
||
@EventHandler | ||
public void leftClick(NPCLeftClickEvent event) | ||
{ | ||
if (event.getNPC() == this.getNPC()) { | ||
|
||
} | ||
} | ||
|
||
|
||
} |