public class TilledSoilBlock implements Component
Class TilledSoilBlock. Provides tilledsoilblock functionality for the Hytale server.
java.lang.Object > TilledSoilBlock
Field Summary
planted
protected
boolean
planted
Field planted.
fertilized
protected
boolean
fertilized
Field fertilized.
externalWater
protected
boolean
externalWater
Field externalWater.
wateredUntil
protected
Instant
wateredUntil
Field wateredUntil.
decayTime
protected
Instant
decayTime
Field decayTime.
watered
final
boolean
watered
Field watered.
Method Detail
getComponentType
public
TilledSoilBlock>
getComponentType
()
Method getComponentType.
TilledSoilBlock
public
public
TilledSoilBlock
()
Method TilledSoilBlock.
isPlanted
public
boolean
isPlanted
()
Method isPlanted.
setPlanted
public
void
setPlanted
(final boolean planted)
Method setPlanted.
- Parameters:
final booleanplanted
setWateredUntil
public
void
setWateredUntil
(@Nullable final Instant wateredUntil)
Method setWateredUntil.
- Parameters:
@Nullable final InstantwateredUntil
getWateredUntil
public
Instant
getWateredUntil
()
Method getWateredUntil.
isFertilized
public
boolean
isFertilized
()
Method isFertilized.
setFertilized
public
void
setFertilized
(final boolean fertilized)
Method setFertilized.
- Parameters:
final booleanfertilized
hasExternalWater
public
boolean
hasExternalWater
()
Method hasExternalWater.
setExternalWater
public
void
setExternalWater
(final boolean externalWater)
Method setExternalWater.
- Parameters:
final booleanexternalWater
getDecayTime
public
Instant
getDecayTime
()
Method getDecayTime.
setDecayTime
public
void
setDecayTime
(@Nullable final Instant decayTime)
Method setDecayTime.
- Parameters:
@Nullable final InstantdecayTime
toString
public
String
toString
()
Method toString.