mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2025-01-09 19:17:35 +01:00
Enable JavaDoc generation in pom
This commit is contained in:
parent
b39bbf47f5
commit
e0de12b995
24
pom.xml
24
pom.xml
@ -42,6 +42,7 @@
|
|||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
@ -68,6 +69,29 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ import java.util.Iterator;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The Sealing Inventory that is being checked for Brews and seals them after a second.
|
* 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 class BSealer implements InventoryHolder {
|
||||||
public static final NamespacedKey TAG_KEY = new NamespacedKey(P.p, "SealingTable");
|
public static final NamespacedKey TAG_KEY = new NamespacedKey(P.p, "SealingTable");
|
||||||
|
@ -102,7 +102,7 @@ public class BrewModifyEvent extends BrewEvent implements Cancellable {
|
|||||||
STATIC,
|
STATIC,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sealing the Brew (unlabel & static & stripped) With Command or Machine
|
* Sealing the Brew (unlabel & static & stripped) With Command or Machine
|
||||||
*/
|
*/
|
||||||
SEAL,
|
SEAL,
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ public class BUtil {
|
|||||||
* @param currentPos Current Position
|
* @param currentPos Current Position
|
||||||
* @param nextColor Next Color
|
* @param nextColor Next Color
|
||||||
* @param nextPos Position of the 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) {
|
public static Color weightedMixColor(Color prevColor, int prevPos, int currentPos, Color nextColor, int nextPos) {
|
||||||
float diffPrev = currentPos - prevPos;
|
float diffPrev = currentPos - prevPos;
|
||||||
|
Loading…
Reference in New Issue
Block a user