Class SaplingMechanic
-
- All Implemented Interfaces:
public final class SaplingMechanic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
SaplingMechanic.SchematicEntry
public class
SaplingMechanic.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Boolean
canGrowNaturally
private final Integer
naturalGrowthTime
private final Boolean
canGrowFromBoneMeal
private final Integer
boneMealGrowthSpeedup
private final String
growSound
private final Integer
minLightLevel
private final Boolean
requiresWaterSource
private final Boolean
copyBiomes
private final Boolean
copyEntities
private final Boolean
replaceBlocks
public final static SaplingMechanic.Companion
Companion
-
Constructor Summary
Constructors Constructor Description SaplingMechanic(String itemId, ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final Boolean
getCanGrowNaturally()
final Integer
getNaturalGrowthTime()
final Boolean
getCanGrowFromBoneMeal()
final Integer
getBoneMealGrowthSpeedup()
final String
getGrowSound()
final Integer
getMinLightLevel()
final Boolean
getRequiresWaterSource()
final Boolean
getCopyBiomes()
final Boolean
getCopyEntities()
final Boolean
getReplaceBlocks()
final Boolean
canPlaceSchematic(Location location, File schematic)
final Unit
placeSchematic(Location location, File schematic)
final Boolean
requiresLight()
final Boolean
hasGrowSound()
final Boolean
isUnderWater(Block block)
final File
selectSchematic()
final Boolean
hasSchematic()
final List<SaplingMechanic.SchematicEntry>
schematics()
final File
getSchematicFile(String schematicName)
final List<File>
schematicFiles()
final File
schematic()
-
-
Constructor Detail
-
SaplingMechanic
SaplingMechanic(String itemId, ConfigurationSection section)
-
-
Method Detail
-
getCanGrowNaturally
final Boolean getCanGrowNaturally()
-
getNaturalGrowthTime
final Integer getNaturalGrowthTime()
-
getCanGrowFromBoneMeal
final Boolean getCanGrowFromBoneMeal()
-
getBoneMealGrowthSpeedup
final Integer getBoneMealGrowthSpeedup()
-
getGrowSound
final String getGrowSound()
-
getMinLightLevel
final Integer getMinLightLevel()
-
getRequiresWaterSource
final Boolean getRequiresWaterSource()
-
getCopyBiomes
final Boolean getCopyBiomes()
-
getCopyEntities
final Boolean getCopyEntities()
-
getReplaceBlocks
final Boolean getReplaceBlocks()
-
canPlaceSchematic
final Boolean canPlaceSchematic(Location location, File schematic)
-
placeSchematic
final Unit placeSchematic(Location location, File schematic)
-
requiresLight
final Boolean requiresLight()
-
hasGrowSound
final Boolean hasGrowSound()
-
isUnderWater
final Boolean isUnderWater(Block block)
-
selectSchematic
final File selectSchematic()
-
hasSchematic
final Boolean hasSchematic()
-
schematics
final List<SaplingMechanic.SchematicEntry> schematics()
-
getSchematicFile
final File getSchematicFile(String schematicName)
-
schematicFiles
final List<File> schematicFiles()
-
-
-
-