Package com.hypixel.hytale.server.flock
Class FlockMembershipSystems
java.lang.Object
com.hypixel.hytale.server.flock.FlockMembershipSystems
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleancanBecomeLeader(Ref<EntityStore> ref) static booleancanJoinFlock(Ref<EntityStore> reference, Ref<EntityStore> flockReference, Store<EntityStore> store) static voidjoin(Ref<EntityStore> ref, Ref<EntityStore> flockRef, Store<EntityStore> store) private static voidmarkChunkNeedsSaving(Ref<EntityStore> ref, Store<EntityStore> store)
-
Constructor Details
-
FlockMembershipSystems
public FlockMembershipSystems()
-
-
Method Details
-
canJoinFlock
public static boolean canJoinFlock(@Nonnull Ref<EntityStore> reference, @Nonnull Ref<EntityStore> flockReference, @Nonnull Store<EntityStore> store) -
join
public static void join(@Nonnull Ref<EntityStore> ref, @Nonnull Ref<EntityStore> flockRef, @Nonnull Store<EntityStore> store) -
canBecomeLeader
-
markChunkNeedsSaving
private static void markChunkNeedsSaving(@Nonnull Ref<EntityStore> ref, @Nonnull Store<EntityStore> store)
-