Enable JavaDoc generation in pom

This commit is contained in:
Sn0wStorm 2020-11-28 20:48:00 +01:00
parent b39bbf47f5
commit e0de12b995
4 changed files with 27 additions and 3 deletions

24
pom.xml
View File

@ -42,6 +42,7 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
@ -68,6 +69,29 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<doctitle>Brewery - Javadocs</doctitle>
<windowtitle>Brewery - Javadocs</windowtitle>
<additionalOptions>-Xdoclint:none</additionalOptions>
<quiet>true</quiet>
<detectOfflineLinks>false</detectOfflineLinks>
<noqualifier>org.bukkit.*</noqualifier>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -19,7 +19,7 @@ import java.util.Iterator;
/**
* The Sealing Inventory that is being checked for Brews and seals them after a second.
* <p>Class doesn't load in mc <= 1.12 (Can't find RecipeChoice, BlockData and NamespacedKey)
* <p>Class doesn't load in mc 1.12 and lower (Can't find RecipeChoice, BlockData and NamespacedKey)
*/
public class BSealer implements InventoryHolder {
public static final NamespacedKey TAG_KEY = new NamespacedKey(P.p, "SealingTable");

View File

@ -102,7 +102,7 @@ public class BrewModifyEvent extends BrewEvent implements Cancellable {
STATIC,
/**
* Sealing the Brew (unlabel & static & stripped) With Command or Machine
* Sealing the Brew (unlabel &amp; static &amp; stripped) With Command or Machine
*/
SEAL,

View File

@ -58,7 +58,7 @@ public class BUtil {
* @param currentPos Current Position
* @param nextColor Next Color
* @param nextPos Position of the Next Color
* @return
* @return Mixed Color
*/
public static Color weightedMixColor(Color prevColor, int prevPos, int currentPos, Color nextColor, int nextPos) {
float diffPrev = currentPos - prevPos;