public class FarmingBlock implements Component
Class FarmingBlock. Provides farmingblock functionality for the Hytale server.
java.lang.Object > FarmingBlock
Field Summary
currentStageSet
private
String
currentStageSet
Field currentStageSet.
growthProgress
private
float
growthProgress
Field growthProgress.
lastTickGameTime
private
Instant
lastTickGameTime
Field lastTickGameTime.
generation
private
int
generation
Field generation.
previousBlockType
private
String
previousBlockType
Field previousBlockType.
spreadRate
private
float
spreadRate
Field spreadRate.
executions
private
int
executions
Field executions.
Method Detail
getComponentType
public
FarmingBlock>
getComponentType
()
Method getComponentType.
FarmingBlock
public
public
FarmingBlock
()
Method FarmingBlock.
getCurrentStageSet
public
String
getCurrentStageSet
()
Method getCurrentStageSet.
setCurrentStageSet
public
void
setCurrentStageSet
(final String currentStageSet)
Method setCurrentStageSet.
- Parameters:
final StringcurrentStageSet
getGrowthProgress
public
float
getGrowthProgress
()
Method getGrowthProgress.
setGrowthProgress
public
void
setGrowthProgress
(final float growthProgress)
Method setGrowthProgress.
- Parameters:
final floatgrowthProgress
getLastTickGameTime
public
Instant
getLastTickGameTime
()
Method getLastTickGameTime.
setLastTickGameTime
public
void
setLastTickGameTime
(final Instant lastTickGameTime)
Method setLastTickGameTime.
- Parameters:
final InstantlastTickGameTime
getGeneration
public
int
getGeneration
()
Method getGeneration.
setGeneration
public
void
setGeneration
(final int generation)
Method setGeneration.
- Parameters:
final intgeneration
getPreviousBlockType
public
String
getPreviousBlockType
()
Method getPreviousBlockType.
setPreviousBlockType
public
void
setPreviousBlockType
(final String previousBlockType)
Method setPreviousBlockType.
- Parameters:
final StringpreviousBlockType
getSpreadRate
public
float
getSpreadRate
()
Method getSpreadRate.
setSpreadRate
public
void
setSpreadRate
(final float spreadRate)
Method setSpreadRate.
- Parameters:
final floatspreadRate
getExecutions
public
int
getExecutions
()
Method getExecutions.
setExecutions
public
void
setExecutions
(final int executions)
Method setExecutions.
- Parameters:
final intexecutions
toString
public
String
toString
()
Method toString.