- Javadoc doesn't like angle brackets
 - Add jar to artifacts
This commit is contained in:
Jozufozu 2021-08-06 12:13:51 -07:00
parent 333ef9ecbb
commit 0349d57929
3 changed files with 15 additions and 15 deletions

View file

@ -201,7 +201,7 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
} }
artifacts { artifacts {
archives shadowJar, sourcesJar, javadocJar archives jar, shadowJar, sourcesJar, javadocJar
} }
publishing { publishing {

View file

@ -87,7 +87,7 @@ public class PipeConnection {
FlowSource flowSource = source.get(); FlowSource flowSource = source.get();
flowSource.manageSource(world); flowSource.manageSource(world);
} }
public boolean manageFlows(World world, BlockPos pos, FluidStack internalFluid, public boolean manageFlows(World world, BlockPos pos, FluidStack internalFluid,
Predicate<FluidStack> extractionPredicate) { Predicate<FluidStack> extractionPredicate) {
@ -193,7 +193,7 @@ public class PipeConnection {
if (world.isClientSide) { if (world.isClientSide) {
if (!source.isPresent()) if (!source.isPresent())
determineSource(world, pos); determineSource(world, pos);
spawnParticles(world, pos, flow.fluid); spawnParticles(world, pos, flow.fluid);
if (particleSplashNextTick) if (particleSplashNextTick)
spawnSplashOnRim(world, pos, flow.fluid); spawnSplashOnRim(world, pos, flow.fluid);
@ -282,8 +282,8 @@ public class PipeConnection {
/** /**
* @return zero if outward == inbound <br> * @return zero if outward == inbound <br>
* positive if outward > inbound <br> * positive if outward {@literal >} inbound <br>
* negative if outward < inbound * negative if outward {@literal <} inbound
*/ */
public float comparePressure() { public float comparePressure() {
return getOutwardPressure() - getInboundPressure(); return getOutwardPressure() - getInboundPressure();

View file

@ -132,7 +132,7 @@ public class SceneBuilder {
* Assign a unique translation key, as well as the standard english translation * Assign a unique translation key, as well as the standard english translation
* for this scene's title using this method, anywhere inside the program * for this scene's title using this method, anywhere inside the program
* function. * function.
* *
* @param sceneId * @param sceneId
* @param title * @param title
*/ */
@ -147,7 +147,7 @@ public class SceneBuilder {
* the the base plate. <br> * the the base plate. <br>
* As a result, showBasePlate() will only show the configured size, and the * As a result, showBasePlate() will only show the configured size, and the
* scene's scaling inside the UI will be consistent with its base size. * scene's scaling inside the UI will be consistent with its base size.
* *
* @param xOffset Block spaces between the base plate and the schematic * @param xOffset Block spaces between the base plate and the schematic
* boundary on the Western side. * boundary on the Western side.
* @param zOffset Block spaces between the base plate and the schematic * @param zOffset Block spaces between the base plate and the schematic
@ -164,8 +164,8 @@ public class SceneBuilder {
/** /**
* Use this in case you are not happy with the scale of the scene relative to * Use this in case you are not happy with the scale of the scene relative to
* the overlay * the overlay
* *
* @param factor >1 will make the scene appear larger, smaller otherwise * @param factor {@literal >}1 will make the scene appear larger, smaller otherwise
*/ */
public void scaleSceneView(float factor) { public void scaleSceneView(float factor) {
scene.scaleFactor = factor; scene.scaleFactor = factor;
@ -174,8 +174,8 @@ public class SceneBuilder {
/** /**
* Use this in case you are not happy with the vertical alignment of the scene * Use this in case you are not happy with the vertical alignment of the scene
* relative to the overlay * relative to the overlay
* *
* @param yOffset >0 moves the scene up, down otherwise * @param yOffset {@literal >}0 moves the scene up, down otherwise
*/ */
public void setSceneOffsetY(float yOffset) { public void setSceneOffsetY(float yOffset) {
scene.yOffset = yOffset; scene.yOffset = yOffset;
@ -197,7 +197,7 @@ public class SceneBuilder {
* actions play out. <br> * actions play out. <br>
* Idle does not stall any animations, only schedules a time gap between * Idle does not stall any animations, only schedules a time gap between
* instructions. * instructions.
* *
* @param ticks Duration to wait for * @param ticks Duration to wait for
*/ */
public void idle(int ticks) { public void idle(int ticks) {
@ -209,7 +209,7 @@ public class SceneBuilder {
* actions play out. <br> * actions play out. <br>
* Idle does not stall any animations, only schedules a time gap between * Idle does not stall any animations, only schedules a time gap between
* instructions. * instructions.
* *
* @param seconds Duration to wait for * @param seconds Duration to wait for
*/ */
public void idleSeconds(int seconds) { public void idleSeconds(int seconds) {
@ -229,7 +229,7 @@ public class SceneBuilder {
/** /**
* Pans the scene's camera view around the vertical axis by the given amount * Pans the scene's camera view around the vertical axis by the given amount
* *
* @param degrees * @param degrees
*/ */
public void rotateCameraY(float degrees) { public void rotateCameraY(float degrees) {
@ -824,4 +824,4 @@ public class SceneBuilder {
scene.schedule.add(PonderInstruction.simple(callback)); scene.schedule.add(PonderInstruction.simple(callback));
} }
} }