public class FarmingSystems
Class FarmingSystems. Provides farmingsystems functionality for the Hytale server.
java.lang.Object > FarmingSystems
Field Summary
soilConfig
Field soilConfig.
range
Field range.
baseDuration
Field baseDuration.
currentTime
Field currentTime.
endTime
Field endTime.
soil
Field soil.
info
Field info.
x
Field x.
y
Field y.
z
Field z.
blockChunk
Field blockChunk.
blockSection
Field blockSection.
decayTime
Field decayTime.
blockType
Field blockType.
farmingBlock
Field farmingBlock.
blockId
Field blockId.
stages
Field stages.
obj
Field obj.
stage
Field stage.
blockStateFarmingStageData
Field blockStateFarmingStageData.
data
Field data.
data2
Field data2.
stateBlockType
Field stateBlockType.
sectionRef
Field sectionRef.
blockComponentChunk
Field blockComponentChunk.
column
Field column.
section
Field section.
handle
Field handle.
blocks
Field blocks.
ref
Field ref.
blockRef
Field blockRef.
farming
Field farming.
coop
Field coop.
checkIndex
Field checkIndex.
aboveBlockRef
Field aboveBlockRef.
targetBlock
Field targetBlock.
targetBlock2
Field targetBlock2.
worldChunk2
Field worldChunk2.
rotation2
Field rotation2.
targetBlockId2
Field targetBlockId2.
targetBlockType2
Field targetBlockType2.
store
Field store.
worldTimeResource
Field worldTimeResource.
coopAsset
Field coopAsset.
chunkSection
Field chunkSection.
worldX
Field worldX.
worldY
Field worldY.
worldZ
Field worldZ.
world
Field world.
chunk
Field chunk.
blockRotation
Field blockRotation.
spawnOffset
Field spawnOffset.
coopLocation
Field coopLocation.
tryCapture
Field tryCapture.
captureRange
Field captureRange.
blockPos
Field blockPos.
currentBlockType
Field currentBlockType.
nextTickInstant
Field nextTickInstant.
coopBlock
Field coopBlock.
entityStore
Field entityStore.
uuidComponent
Field uuidComponent.
uuid
Field uuid.
coopResidentComponent
Field coopResidentComponent.
coopPosition
Field coopPosition.
chunkIndex
Field chunkIndex.
chunkReference
Field chunkReference.
chunkStore
Field chunkStore.
chunkColumnComponent
Field chunkColumnComponent.
blockChunkComponent
Field blockChunkComponent.
blockIndexColumn
Field blockIndexColumn.
coopEntityReference
Field coopEntityReference.
oldState
Field oldState.
Method Detail
updateSoilDecayTime
boolean
updateSoilDecayTime
(final CommandBuffer commandBuffer, final TilledSoilBlock soilBlock, final BlockType blockType)
Method updateSoilDecayTime.
- Parameters:
final CommandBuffercommandBufferfinal TilledSoilBlocksoilBlockfinal BlockTypeblockType
onEntityAdded
void
onEntityAdded
(@Nonnull final Ref ref, @Nonnull final AddReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onEntityAdded.
- Parameters:
@Nonnull final Refref@Nonnull final AddReasonreason@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
onEntityRemove
void
onEntityRemove
(@Nonnull final Ref ref, @Nonnull final RemoveReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onEntityRemove.
- Parameters:
@Nonnull final Refref@Nonnull final RemoveReasonreason@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
handle
MethodHandle
handle
()
Method handle.
ensureHandle
MethodHandle
ensureHandle
()
Method ensureHandle.
invoke
int
invoke
(Object p0, int p1)
Method invoke.
- Parameters:
Objectp0intp1
tick
void
tick
(final float dt, final int index, @Nonnull final ArchetypeChunk archetypeChunk, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method tick.
- Parameters:
final floatdtfinal intindex@Nonnull final ArchetypeChunkarchetypeChunk@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
tickSoil
void
tickSoil
(final CommandBuffer commandBuffer, final BlockComponentChunk blockComponentChunk, final Ref blockRef, final TilledSoilBlock soilBlock)
Method tickSoil.
- Parameters:
final CommandBuffercommandBufferfinal BlockComponentChunkblockComponentChunkfinal RefblockReffinal TilledSoilBlocksoilBlock
if
else
if
(!soilBlock.isPlanted()
Method if.
- Parameters:
!soilBlock.isPlanted(!soilBlock.isPlanted(
tickCoop
void
tickCoop
(final CommandBuffer commandBuffer, final BlockComponentChunk blockComponentChunk, final Ref blockRef, final CoopBlock coopBlock)
Method tickCoop.
- Parameters:
final CommandBuffercommandBufferfinal BlockComponentChunkblockComponentChunkfinal RefblockReffinal CoopBlockcoopBlock
Vector3d
new
Vector3d
()
Method Vector3d.
onEntityAdd
void
onEntityAdd
(@Nonnull final Holder holder, @Nonnull final AddReason reason, @Nonnull final Store store)
Method onEntityAdd.
- Parameters:
@Nonnull final Holderholder@Nonnull final AddReasonreason@Nonnull final Storestore
onEntityRemoved
void
onEntityRemoved
(@Nonnull final Holder holder, @Nonnull final RemoveReason reason, @Nonnull final Store store)
Method onEntityRemoved.
- Parameters:
@Nonnull final Holderholder@Nonnull final RemoveReasonreason@Nonnull final Storestore