Skip to content

Commit adb5e00

Browse files
committed
Completed javadocs
1 parent c373c7d commit adb5e00

35 files changed

+123
-68
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
[![](https://jitpack.io/v/koca2000/NoteBlockAPI.svg)](https://jitpack.io/#koca2000/NoteBlockAPI) [![Build Status](http://ci.haprosgames.com/buildStatus/icon?job=NoteBlockAPI)](http://ci.haprosgames.com/job/NoteBlockAPI)
33

44
For information about this Spigot/Bukkit API, go to https://www.spigotmc.org/resources/noteblockapi.19287/
5-
Dev builds are available at [Jenkins](http://ci.haprosgames.com/job/NoteBlockAPI/ "Jenkins")
5+
6+
Dev builds are available at [Jenkins](http://ci.haprosgames.com/job/NoteBlockAPI/ "Jenkins")

src/main/java/com/xxmicloxx/NoteBlockAPI/CompatibilityUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
import org.bukkit.entity.Player;
1111

1212
/**
13-
* Fields/methods for reflection & version checking
14-
*
13+
* @Deprecated {@link com.xxmicloxx.NoteBlockAPI.utils.CompatibilityUtils}
1514
*/
1615
@Deprecated
1716
public class CompatibilityUtils {

src/main/java/com/xxmicloxx/NoteBlockAPI/CustomInstrument.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import com.xxmicloxx.NoteBlockAPI.model.Sound;
44

55
/**
6-
* Create custom instruments from a sound file
7-
*
6+
* @Deprecated {@link com.xxmicloxx.NoteBlockAPI.model.CustomInstrument}
87
*/
98
@Deprecated
109
public class CustomInstrument{
@@ -55,7 +54,7 @@ public org.bukkit.Sound getSound() {
5554

5655
/**
5756
* Gets file name of the sound
58-
* @deprecated misleading name
57+
* @deprecated misleading name.
5958
*/
6059
public String getSoundfile() {
6160
return soundFileName;

src/main/java/com/xxmicloxx/NoteBlockAPI/FadeType.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
package com.xxmicloxx.NoteBlockAPI;
22

3+
/**
4+
* @Deprecated {@link com.xxmicloxx.NoteBlockAPI.model.FadeType}
5+
*/
36
@Deprecated
47
public enum FadeType {
58

src/main/java/com/xxmicloxx/NoteBlockAPI/Instrument.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import com.xxmicloxx.NoteBlockAPI.model.Sound;
44

55
/**
6-
* Various methods for working with instruments
7-
* @deprecated Moved to InstrumentUtils
6+
* @Deprecated {@link com.xxmicloxx.NoteBlockAPI.utils.InstrumentUtils}
87
*/
98
@Deprecated
109
public class Instrument {

src/main/java/com/xxmicloxx/NoteBlockAPI/Interpolator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* <p/>
2020
* <font size="-1" color="#336699">Copyright 2002 MBARI.<br>
2121
* MBARI Proprietary Information. All rights reserved.</font><br><hr><br>
22+
* @deprecated {@link com.xxmicloxx.NoteBlockAPI.utils.Interpolator}
2223
*/
2324
@Deprecated
2425
public class Interpolator {

src/main/java/com/xxmicloxx/NoteBlockAPI/Layer.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
import java.util.HashMap;
44

55
/**
6-
* Represents a series of notes in Note Block Studio.
7-
* A Layer can have a maximum of one note per tick (20 ticks a second)
8-
*
6+
* @Deprecated {@link com.xxmicloxx.NoteBlockAPI.model.Layer}
97
*/
108
@Deprecated
119
public class Layer{
@@ -74,7 +72,7 @@ public HashMap<Integer, Note> getHashMap() {
7472
*/
7573
@Deprecated
7674
public void setHashMap(HashMap<Integer, Note> hashMap) {
77-
this.notesAtTicks = notesAtTicks;
75+
this.notesAtTicks = hashMap;
7876
}
7977

8078
}

src/main/java/com/xxmicloxx/NoteBlockAPI/NBSDecoder.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
import com.xxmicloxx.NoteBlockAPI.utils.InstrumentUtils;
1818

1919
/**
20-
* Utils for reading Note Block Studio data
21-
*
20+
* @Deprecated {@link com.xxmicloxx.NoteBlockAPI.utils.NBSDecoder}
2221
*/
2322
@Deprecated
2423
public class NBSDecoder {

src/main/java/com/xxmicloxx/NoteBlockAPI/Note.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
package com.xxmicloxx.NoteBlockAPI;
22

33
/**
4-
* Represents a note played; contains the instrument and the key
5-
* @see NotePitch
6-
*
4+
* @Deprecated {@link com.xxmicloxx.NoteBlockAPI.model.Note}
75
*/
86
@Deprecated
97
public class Note {

src/main/java/com/xxmicloxx/NoteBlockAPI/NoteBlockAPI.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import java.util.Collections;
55
import java.util.HashMap;
66
import java.util.Map;
7-
import java.util.Set;
87
import java.util.UUID;
98

109
import org.bstats.bukkit.Metrics;
@@ -15,6 +14,9 @@
1514

1615
import com.xxmicloxx.NoteBlockAPI.songplayer.SongPlayer;
1716

17+
/**
18+
* Main class; contains methods for playing and adjusting songs for players
19+
*/
1820
public class NoteBlockAPI extends JavaPlugin {
1921

2022
private static NoteBlockAPI plugin;

0 commit comments

Comments
 (0)