HyCodeYourTale
classpublicPriority 3

FarmingBlock

com.hypixel.hytale.builtin.adventure.farming.states.FarmingBlock

implements Component

17

Methods

17

Public Methods

7

Fields

2

Constructors

Constants

BuilderCodec<FarmingBlock>CODEC= BuilderCodec.builder(FarmingBlock.class, FarmingBlock::new) .append( new KeyedCode...
StringDEFAULT_STAGE_SET= "Default"

Constructors

public
FarmingBlock()
public
FarmingBlock(String currentStageSet, float growthProgress, Instant lastTickGameTime, int generation, String previousBlockType, float spreadRate, int executions)

Methods

Public Methods (17)

public
Component<ChunkStore> clone()
@Nullable@Override
publicstatic
ComponentType<ChunkStore, FarmingBlock> getComponentType()
public
String getCurrentStageSet()
public
int getExecutions()
public
int getGeneration()
public
float getGrowthProgress()
public
Instant getLastTickGameTime()
public
String getPreviousBlockType()
public
float getSpreadRate()
public
void setCurrentStageSet(String currentStageSet)
public
void setExecutions(int executions)
public
void setGeneration(int generation)
public
void setGrowthProgress(float growthProgress)
public
void setLastTickGameTime(Instant lastTickGameTime)
public
void setPreviousBlockType(String previousBlockType)
public
void setSpreadRate(float spreadRate)
public
String toString()
@Override

Fields

Private/Package Fields (7)

privateString currentStageSet
privateint executions
privateint generation
privatefloat growthProgress
privateInstant lastTickGameTime
privateString previousBlockType
privatefloat spreadRate

Related Classes