Class MountPlugin
java.lang.Object
com.hypixel.hytale.server.core.plugin.PluginBase
com.hypixel.hytale.server.core.plugin.JavaPlugin
com.hypixel.hytale.builtin.mounts.MountPlugin
- All Implemented Interfaces:
CommandOwner
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ComponentType<ChunkStore, BlockMountComponent> private static MountPluginprivate ComponentType<EntityStore, MinecartComponent> private ComponentType<EntityStore, NPCMountComponent> private ComponentType<EntityStore, MountedByComponent> private ComponentType<EntityStore, MountedComponent> Fields inherited from class com.hypixel.hytale.server.core.plugin.PluginBase
METRICS_REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckDismountNpc(ComponentAccessor<EntityStore> store, Player playerComponent) static voiddismountNpc(ComponentAccessor<EntityStore> store, int mountEntityId) static MountPluginprivate static voidprivate static voidresetOriginalMountRole(Ref<EntityStore> entityReference, ComponentAccessor<EntityStore> store, NPCMountComponent mountComponent) static voidresetOriginalPlayerMovementSettings(PlayerRef playerRef, ComponentAccessor<EntityStore> store) protected voidsetup()Methods inherited from class com.hypixel.hytale.server.core.plugin.JavaPlugin
getClassLoader, getFile, getType, start0Methods inherited from class com.hypixel.hytale.server.core.plugin.PluginBase
getAssetRegistry, getBasePermission, getBlockStateRegistry, getChunkStoreRegistry, getClientFeatureRegistry, getCodecRegistry, getCodecRegistry, getCodecRegistry, getCommandRegistry, getDataDirectory, getEntityRegistry, getEntityStoreRegistry, getEventRegistry, getIdentifier, getLogger, getManifest, getName, getState, getTaskRegistry, isDisabled, isEnabled, preLoad, setup0, shutdown, shutdown0, start, withConfig, withConfig
-
Field Details
-
instance
-
blockMountComponentType
-
mountComponentType
-
mountedComponentType
-
mountedByComponentType
-
minecartComponentType
-
-
Constructor Details
-
MountPlugin
-
-
Method Details
-
getInstance
-
getMountComponentType
-
getMountedComponentType
-
getMountedByComponentType
-
getMinecartComponentType
-
setup
protected void setup()- Overrides:
setupin classPluginBase
-
getBlockMountComponentType
-
onPlayerDisconnect
-
checkDismountNpc
public static void checkDismountNpc(@Nonnull ComponentAccessor<EntityStore> store, @Nonnull Player playerComponent) -
dismountNpc
-
resetOriginalMountRole
private static void resetOriginalMountRole(@Nonnull Ref<EntityStore> entityReference, @Nonnull ComponentAccessor<EntityStore> store, @Nonnull NPCMountComponent mountComponent) -
resetOriginalPlayerMovementSettings
public static void resetOriginalPlayerMovementSettings(@Nonnull PlayerRef playerRef, @Nonnull ComponentAccessor<EntityStore> store)
-