FarmingBlock

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 String currentStageSet

getGrowthProgress

public float getGrowthProgress ()

Method getGrowthProgress.

setGrowthProgress

public void setGrowthProgress (final float growthProgress)

Method setGrowthProgress.

Parameters:
final float growthProgress

getLastTickGameTime

public Instant getLastTickGameTime ()

Method getLastTickGameTime.

setLastTickGameTime

public void setLastTickGameTime (final Instant lastTickGameTime)

Method setLastTickGameTime.

Parameters:
final Instant lastTickGameTime

getGeneration

public int getGeneration ()

Method getGeneration.

setGeneration

public void setGeneration (final int generation)

Method setGeneration.

Parameters:
final int generation

getPreviousBlockType

public String getPreviousBlockType ()

Method getPreviousBlockType.

setPreviousBlockType

public void setPreviousBlockType (final String previousBlockType)

Method setPreviousBlockType.

Parameters:
final String previousBlockType

getSpreadRate

public float getSpreadRate ()

Method getSpreadRate.

setSpreadRate

public void setSpreadRate (final float spreadRate)

Method setSpreadRate.

Parameters:
final float spreadRate

getExecutions

public int getExecutions ()

Method getExecutions.

setExecutions

public void setExecutions (final int executions)

Method setExecutions.

Parameters:
final int executions

clone

public Component clone ()

Method clone.

toString

public String toString ()

Method toString.