Class SaplingMechanic
-
- All Implemented Interfaces:
public final class SaplingMechanic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSaplingMechanic.SchematicEntrypublic classSaplingMechanic.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BooleancanGrowNaturallyprivate final IntegernaturalGrowthTimeprivate final BooleancanGrowFromBoneMealprivate final IntegerboneMealGrowthSpeedupprivate final StringgrowSoundprivate final IntegerminLightLevelprivate final BooleanrequiresWaterSourceprivate final BooleancopyBiomesprivate final BooleancopyEntitiesprivate final BooleanreplaceBlockspublic final static SaplingMechanic.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description SaplingMechanic(String itemId, ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final BooleangetCanGrowNaturally()final IntegergetNaturalGrowthTime()final BooleangetCanGrowFromBoneMeal()final IntegergetBoneMealGrowthSpeedup()final StringgetGrowSound()final IntegergetMinLightLevel()final BooleangetRequiresWaterSource()final BooleangetCopyBiomes()final BooleangetCopyEntities()final BooleangetReplaceBlocks()final BooleancanPlaceSchematic(Location location, File schematic)final UnitplaceSchematic(Location location, File schematic)final BooleanrequiresLight()final BooleanhasGrowSound()final BooleanisUnderWater(Block block)final FileselectSchematic()final BooleanhasSchematic()final List<SaplingMechanic.SchematicEntry>schematics()final FilegetSchematicFile(String schematicName)final List<File>schematicFiles()final Fileschematic()-
-
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()
-
-
-
-