Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- getComponentType()
- getCurrentStageSet()
- setCurrentStageSet(String)
- getGrowthProgress()
- setGrowthProgress(float)
- getLastTickGameTime()
- setLastTickGameTime(Instant)
- getGeneration()
- setGeneration(int)
- getPreviousBlockType()
- setPreviousBlockType(String)
- getSpreadRate()
- setSpreadRate(float)
- getExecutions()
- setExecutions(int)
- clone()
- toString()
Class FarmingBlock
java.lang.Object
com.hypixel.hytale.builtin.adventure.farming.states.FarmingBlock
- All Implemented Interfaces:
Component<ChunkStore>, Cloneable
-
Field Summary
FieldsFields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionFarmingBlock(String currentStageSet, float growthProgress, Instant lastTickGameTime, int generation, String previousBlockType, float spreadRate, int executions) -
Method Summary
Modifier and TypeMethodDescriptionclone()static ComponentType<ChunkStore, FarmingBlock> intintfloatfloatvoidsetCurrentStageSet(String currentStageSet) voidsetExecutions(int executions) voidsetGeneration(int generation) voidsetGrowthProgress(float growthProgress) voidsetLastTickGameTime(Instant lastTickGameTime) voidsetPreviousBlockType(String previousBlockType) voidsetSpreadRate(float spreadRate) toString()Methods inherited from interface Component
cloneSerializable
-
Field Details
-
DEFAULT_STAGE_SET
- See Also:
-
CODEC
-
-
Constructor Details
-
FarmingBlock
public FarmingBlock() -
FarmingBlock
-
-
Method Details
-
getComponentType
-
getCurrentStageSet
-
setCurrentStageSet
-
getGrowthProgress
public float getGrowthProgress() -
setGrowthProgress
public void setGrowthProgress(float growthProgress) -
getLastTickGameTime
-
setLastTickGameTime
-
getGeneration
public int getGeneration() -
setGeneration
public void setGeneration(int generation) -
getPreviousBlockType
-
setPreviousBlockType
-
getSpreadRate
public float getSpreadRate() -
setSpreadRate
public void setSpreadRate(float spreadRate) -
getExecutions
public int getExecutions() -
setExecutions
public void setExecutions(int executions) -
clone
- Specified by:
clonein interfaceComponent<ChunkStore>- Returns:
- a clone instance of the original component instance.
-
toString
-