Class InteractionModule
java.lang.Object
com.hypixel.hytale.server.core.plugin.PluginBase
com.hypixel.hytale.server.core.plugin.JavaPlugin
com.hypixel.hytale.server.core.modules.interaction.InteractionModule
- All Implemented Interfaces:
CommandOwner
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ResourceType<ChunkStore, BlockCounter> private static InteractionModulestatic final EnumCodec<InteractionType> static final SetCodec<InteractionType, EnumSet<InteractionType>> private ComponentType<EntityStore, InteractionManager> private ComponentType<EntityStore, Interactions> static final PluginManifestprivate ComponentType<ChunkStore, TrackedPlacement> Fields inherited from class com.hypixel.hytale.server.core.plugin.PluginBase
METRICS_REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoMouseInteraction(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, MouseInteraction packet, Player playerComponent, PlayerRef playerRefComponent) static InteractionModuleget()private static voidprivate static voidprivate static voidprotected 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
-
MANIFEST
-
INTERACTION_TYPE_CODEC
-
INTERACTION_TYPE_SET_CODEC
@Nonnull public static final SetCodec<InteractionType,EnumSet<InteractionType>> INTERACTION_TYPE_SET_CODEC -
instance
-
interactionManagerComponent
-
chainingDataComponent
-
interactionsComponentType
-
placedByComponentType
-
blockCounterResourceType
-
trackedPlacementComponentType
-
-
Constructor Details
-
InteractionModule
-
-
Method Details
-
get
-
setup
protected void setup()- Overrides:
setupin classPluginBase
-
handledLoadedRootInteractions
private static void handledLoadedRootInteractions(@Nonnull LoadedAssetsEvent<String, RootInteraction, ?> event) -
handledLoadedInteractions
private static void handledLoadedInteractions(@Nonnull LoadedAssetsEvent<String, Interaction, ?> event) -
handledRemovedInteractions
private static void handledRemovedInteractions(@Nonnull RemovedAssetsEvent<String, Interaction, ?> event) -
doMouseInteraction
public void doMouseInteraction(@Nonnull Ref<EntityStore> ref, @Nonnull ComponentAccessor<EntityStore> componentAccessor, @Nonnull MouseInteraction packet, @Nonnull Player playerComponent, @Nonnull PlayerRef playerRefComponent) -
getChainingDataComponent
-
getInteractionsComponentType
-
getInteractionManagerComponent
-
getPlacedByComponentType
-
getBlockCounterResourceType
-
getTrackedPlacementComponentType
-