@@ -16,6 +16,7 @@ public enum Biome implements Keyed {
|
||||
FOREST,
|
||||
TAIGA,
|
||||
SWAMP,
|
||||
MANGROVE_SWAMP,
|
||||
RIVER,
|
||||
NETHER_WASTES,
|
||||
THE_END,
|
||||
@@ -64,6 +65,7 @@ public enum Biome implements Keyed {
|
||||
BASALT_DELTAS,
|
||||
DRIPSTONE_CAVES,
|
||||
LUSH_CAVES,
|
||||
DEEP_DARK,
|
||||
MEADOW,
|
||||
GROVE,
|
||||
SNOWY_SLOPES,
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
package org.bukkit.block;
|
||||
|
||||
/**
|
||||
* Represents a captured state of a sculk catalyst.
|
||||
*/
|
||||
public interface SculkCatalyst extends TileState {
|
||||
}
|
||||
27
paper-api/src/main/java/org/bukkit/block/SculkShrieker.java
Normal file
27
paper-api/src/main/java/org/bukkit/block/SculkShrieker.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package org.bukkit.block;
|
||||
|
||||
/**
|
||||
* Represents a captured state of a sculk shrieker.
|
||||
*/
|
||||
public interface SculkShrieker extends TileState {
|
||||
|
||||
/**
|
||||
* Gets the most recent warning level of this block.
|
||||
*
|
||||
* When the warning level reaches 4, the shrieker will attempt to spawn a
|
||||
* Warden.
|
||||
*
|
||||
* @return current warning level
|
||||
*/
|
||||
int getWarningLevel();
|
||||
|
||||
/**
|
||||
* Sets the most recent warning level of this block.
|
||||
*
|
||||
* When the warning level reaches 4, the shrieker will attempt to spawn a
|
||||
* Warden.
|
||||
*
|
||||
* @param level new warning level
|
||||
*/
|
||||
void setWarningLevel(int level);
|
||||
}
|
||||
21
paper-api/src/main/java/org/bukkit/block/data/Hangable.java
Normal file
21
paper-api/src/main/java/org/bukkit/block/data/Hangable.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package org.bukkit.block.data;
|
||||
|
||||
/**
|
||||
* 'hanging' denotes whether the lantern is hanging from a block.
|
||||
*/
|
||||
public interface Hangable extends BlockData {
|
||||
|
||||
/**
|
||||
* Gets the value of the 'hanging' property.
|
||||
*
|
||||
* @return the 'hanging' value
|
||||
*/
|
||||
boolean isHanging();
|
||||
|
||||
/**
|
||||
* Sets the value of the 'hanging' property.
|
||||
*
|
||||
* @param hanging the new 'hanging' value
|
||||
*/
|
||||
void setHanging(boolean hanging);
|
||||
}
|
||||
@@ -1,23 +1,7 @@
|
||||
package org.bukkit.block.data.type;
|
||||
|
||||
import org.bukkit.block.data.Hangable;
|
||||
import org.bukkit.block.data.Waterlogged;
|
||||
|
||||
/**
|
||||
* 'hanging' denotes whether the lantern is hanging from a block.
|
||||
*/
|
||||
public interface Lantern extends Waterlogged {
|
||||
|
||||
/**
|
||||
* Gets the value of the 'hanging' property.
|
||||
*
|
||||
* @return the 'hanging' value
|
||||
*/
|
||||
boolean isHanging();
|
||||
|
||||
/**
|
||||
* Sets the value of the 'hanging' property.
|
||||
*
|
||||
* @param hanging the new 'hanging' value
|
||||
*/
|
||||
void setHanging(boolean hanging);
|
||||
public interface Lantern extends Hangable, Waterlogged {
|
||||
}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
package org.bukkit.block.data.type;
|
||||
|
||||
import org.bukkit.block.data.Ageable;
|
||||
import org.bukkit.block.data.Waterlogged;
|
||||
|
||||
public interface MangrovePropagule extends Ageable, Sapling, Waterlogged {
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package org.bukkit.block.data.type;
|
||||
|
||||
import org.bukkit.block.data.BlockData;
|
||||
|
||||
/**
|
||||
* 'bloom' indicates whether the sculk catalyst is actively spreading the sculk
|
||||
* or not.
|
||||
*/
|
||||
public interface SculkCatalyst extends BlockData {
|
||||
|
||||
/**
|
||||
* Gets the value of the 'bloom' property.
|
||||
*
|
||||
* @return the 'bloom' value
|
||||
*/
|
||||
boolean isBloom();
|
||||
|
||||
/**
|
||||
* Sets the value of the 'bloom' property.
|
||||
*
|
||||
* @param bloom the new 'bloom' value
|
||||
*/
|
||||
void setBloom(boolean bloom);
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package org.bukkit.block.data.type;
|
||||
|
||||
import org.bukkit.block.data.Waterlogged;
|
||||
|
||||
/**
|
||||
* 'can_summon' indicates whether the sculk shrieker can summon the warden.
|
||||
* <p>
|
||||
* 'shrieking' indicated whether the sculk shrieker is shrieking or not.
|
||||
*/
|
||||
public interface SculkShrieker extends Waterlogged {
|
||||
|
||||
/**
|
||||
* Gets the value of the 'can_summon' property.
|
||||
*
|
||||
* @return the 'can_summon' value
|
||||
*/
|
||||
boolean isCanSummon();
|
||||
|
||||
/**
|
||||
* Sets the value of the 'can_summon' property.
|
||||
*
|
||||
* @param can_summon the new 'can_summon' value
|
||||
*/
|
||||
void setCanSummon(boolean can_summon);
|
||||
|
||||
/**
|
||||
* Gets the value of the 'shrieking' property.
|
||||
*
|
||||
* @return the 'shrieking' value
|
||||
*/
|
||||
boolean isShrieking();
|
||||
|
||||
/**
|
||||
* Sets the value of the 'shrieking' property.
|
||||
*
|
||||
* @param shrieking the new 'shrieking' value
|
||||
*/
|
||||
void setShrieking(boolean shrieking);
|
||||
}
|
||||
Reference in New Issue
Block a user