Skip to content

InteractiveStuffConfig

Omar Mohamed edited this page Mar 24, 2026 · 2 revisions

InteractiveStuffConfig

Provides read access to the current configuration values of the InteractiveStuff mod at runtime.


Functions

isResourcePackDebugModeEnabled()

Returns whether resource pack debug mode is currently enabled.

  • Returns: Boolean
check config.isResourcePackDebugModeEnabled() do
    debugText("Debug mode is ON")
end

isInteractiveHitsEnabled()

Returns whether the interactive hits feature is enabled.

  • Returns: Boolean

isSculkSensorFeatureEnabled()

Returns whether the sculk sensor feature is enabled.

  • Returns: Boolean

getHitCooldownTicks()

Returns the cooldown duration (in ticks) between hits.

  • Returns: Integer — 20 ticks = 1 second
say config.getHitCooldownTicks()
~ Output: 10  (= 0.5 seconds)

isTextureChangesEnabled()

Returns whether dynamic texture changes are enabled.

  • Returns: Boolean

isNoteBlockCrouchFeatureEnabled()

Returns whether the note block crouch feature is enabled.

  • Returns: Boolean

getCooldownTicks()

Returns the hit cooldown in ticks. Alias of getHitCooldownTicks().

  • Returns: Integer

isSpecializedNoteblockHitsEnabled()

Returns whether specialized note block hits are enabled.

  • Returns: Boolean

isResourcePackMatrixEditingEnabled()

Returns whether resource pack matrix editing is enabled.

  • Returns: Boolean

isResourcePackColorChangingEnabled()

Returns whether resource pack color changing is enabled.

  • Returns: Boolean
~ Guard all matrix/color logic behind config checks
check config.isResourcePackMatrixEditingEnabled() do
    item.translate(0, 0.1, 0)
end
check config.isResourcePackColorChangingEnabled() do
    item.setColor(255, 100, 0)
end

📖 InteractiveStuff Docs


🧱 Types


⚙️ Scripting

📃 Built-in Library

Clone this wiki locally