mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-26 04:35:50 +01:00
format
This commit is contained in:
parent
7c28ca4807
commit
4720a4bd4d
@ -1,16 +1,19 @@
|
|||||||
package net.citizensnpcs.editor;
|
package net.citizensnpcs.editor;
|
||||||
|
|
||||||
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
public class EquipmentEditor implements Editor {
|
public class EquipmentEditor implements Editor {
|
||||||
|
private Player player;
|
||||||
|
|
||||||
|
public EquipmentEditor(Player player) {
|
||||||
|
this.player = player;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void begin() {
|
public void begin() {
|
||||||
// TODO Auto-generated method stub
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void end() {
|
public void end() {
|
||||||
// TODO Auto-generated method stub
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,15 +1,19 @@
|
|||||||
package net.citizensnpcs.editor;
|
package net.citizensnpcs.editor;
|
||||||
|
|
||||||
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
public class TextEditor implements Editor {
|
public class TextEditor implements Editor {
|
||||||
|
private Player player;
|
||||||
|
|
||||||
|
public TextEditor(Player player) {
|
||||||
|
this.player = player;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void begin() {
|
public void begin() {
|
||||||
// If this doesn't work I quit the internet.
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void end() {
|
public void end() {
|
||||||
// TODO Auto-generated method stub
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package net.citizensnpcs.trait;
|
package net.citizensnpcs.trait.waypoint;
|
||||||
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
|
|
||||||
@ -8,4 +8,4 @@ public class Waypoint {
|
|||||||
public Waypoint(Location location) {
|
public Waypoint(Location location) {
|
||||||
this.location = location;
|
this.location = location;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package net.citizensnpcs.trait;
|
package net.citizensnpcs.trait.waypoint;
|
||||||
|
|
||||||
import net.citizensnpcs.api.npc.ai.NavigationCallback;
|
import net.citizensnpcs.api.npc.ai.NavigationCallback;
|
||||||
import net.citizensnpcs.editor.Editor;
|
import net.citizensnpcs.editor.Editor;
|
||||||
@ -6,9 +6,10 @@ import net.citizensnpcs.editor.Editor;
|
|||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
public interface WaypointProvider {
|
public interface WaypointProvider {
|
||||||
|
|
||||||
public Editor createEditor(Player player);
|
public Editor createEditor(Player player);
|
||||||
|
|
||||||
public void addWaypoint(Waypoint waypoint);
|
public void addWaypoint(Waypoint waypoint);
|
||||||
|
|
||||||
public NavigationCallback getCallback();
|
public NavigationCallback getCallback();
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package net.citizensnpcs.trait;
|
package net.citizensnpcs.trait.waypoint;
|
||||||
|
|
||||||
import net.citizensnpcs.api.exception.NPCLoadException;
|
import net.citizensnpcs.api.exception.NPCLoadException;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
@ -21,6 +21,5 @@ public class Waypoints extends Trait {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void save(DataKey key) {
|
public void save(DataKey key) {
|
||||||
// TODO Auto-generated method stub
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user