public class FluidSystems
Class FluidSystems. Provides fluidsystems functionality for the Hytale server.
java.lang.Object > FluidSystems
Field Summary
chunkColumnComponent
Field chunkColumnComponent.
blockChunkComponent
Field blockChunkComponent.
sections
Field sections.
legacySections
Field legacySections.
section
Field section.
paletteSection
Field paletteSection.
fluid
Field fluid.
chunkSectionComponent
Field chunkSectionComponent.
fluidSectionComponent
Field fluidSectionComponent.
changes
Field changes.
world
Field world.
worldChunkComponent
Field worldChunkComponent.
sectionY
Field sectionY.
playerRefs
Field playerRefs.
chunkIndex
Field chunkIndex.
playersCopy
Field playersCopy.
packet
Field packet.
ref3
Field ref3.
tracker3
Field tracker3.
change
Field change.
x
Field x.
y
Field y.
z
Field z.
level
Field level.
ref
Field ref.
tracker
Field tracker.
cmds
Field cmds.
iter
Field iter.
change2
Field change2.
packet2
Field packet2.
ref2
Field ref2.
tracker2
Field tracker2.
chunkRef
Field chunkRef.
blockSection
Field blockSection.
accessor
Field accessor.
fluidSection1
Field fluidSection1.
blockSection2
Field blockSection2.
fluidId
Field fluidId.
blockX
Field blockX.
blockY
Field blockY.
blockZ
Field blockZ.
Method Detail
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
FluidSection
new
FluidSection
()
Method FluidSection.
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
getDependencies
Set>
getDependencies
()
Method getDependencies.
MigrateFromColumn
public
MigrateFromColumn
()
Method MigrateFromColumn.
SystemDependency
new
SystemDependency
(Order.BEFORE, LegacyModule.MigrateLegacySections.class)
Method SystemDependency.
- Parameters:
Order.BEFOREOrder.BEFORELegacyModule.MigrateLegacySections.classLegacyModule.MigrateLegacySections.class
fetch
void
fetch
(final int index, @Nonnull final ArchetypeChunk archetypeChunk, final Store store, @Nonnull final CommandBuffer commandBuffer, final PlayerRef query, @Nonnull final List> results)
Method fetch.
- Parameters:
final intindex@Nonnull final ArchetypeChunkarchetypeChunkfinal Storestore@Nonnull final CommandBuffercommandBufferfinal PlayerRefquery@Nonnull final Listresults>
isParallel
boolean
isParallel
(final int archetypeChunkSize, final int taskCount)
Method isParallel.
- Parameters:
final intarchetypeChunkSizefinal inttaskCount
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
SetFluidCmd
new
SetFluidCmd
((short)
Method SetFluidCmd.
- Parameters:
(short(short
ServerSetFluids
new
ServerSetFluids
(fluidSectionComponent.getX()
Method ServerSetFluids.
- Parameters:
fluidSectionComponent.getX(fluidSectionComponent.getX(