HyCodeYourTale
classpublicPriority 1

FlockPlugin

com.hypixel.hytale.server.flock.FlockPlugin

extends JavaPlugin

13

Methods

13

Public Methods

4

Fields

1

Constructors

Constructors

public
FlockPlugin(JavaPluginInit init)

Methods

Public Methods (13)

publicstatic
Ref<EntityStore> createFlock(Store<EntityStore> store, FlockAsset flockDefinition, String[] allowedRoles)
@Nonnull
publicstatic
Ref<EntityStore> createFlock(Store<EntityStore> store, Role role)
@Nonnull
publicstatic
Flock getFlock(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> reference)
@Nullable@Deprecated
public
ComponentType<EntityStore, Flock> getFlockComponentType()
public
ComponentType<EntityStore, FlockMembership> getFlockMembershipComponentType()
publicstatic
Ref<EntityStore> getFlockReference(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor)
@Nullable
public
ComponentType<EntityStore, PersistentFlockData> getPersistentFlockDataComponentType()
public
UUID getPrefabRemappedFlockReference(int prefabId, UUID oldId)
@Nonnull
public
void handle(Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer, PrefabPasteEvent event)
publicstatic
boolean isFlockMember(Ref<EntityStore> ref, Store<EntityStore> store)
public
void setup()
@Override
public
void shutdown()
@Override
public
void start()
@Override

Fields

Private/Package Fields (4)

privateComponentType<EntityStore, Flock> flockComponentType
privateComponentType<EntityStore, FlockMembership> flockMembershipComponentType
privateFlockPlugin instance
privateComponentType<EntityStore, PersistentFlockData> persistentFlockDataComponentType

Related Classes