- Preparing search index...
- The search index is not available
sparkscript
- default<T>(type: T, serializedData: DFCodeSerializedBlock | Parameters<{
bracket: ((__namedParameters: any, _: DFValueType[]) => never);
call_func: ((__namedParameters: RawDFDataBlock<"call_func">, _: DFValueType[]) => CallFunction);
control: ((__namedParameters: RawDFActionBlock<"control", "StopRepeat" | "Return" | "ReturnNTimes" | "Skip" | "End" | "Wait">, args: DFValueType[]) => Control<"StopRepeat" | "Return" | "ReturnNTimes" | "Skip" | "End" | "Wait">);
else: ((__namedParameters: any, _: DFValueType[]) => never);
entity_action: ((__namedParameters: RawDFActionBlock<"entity_action", "SetVelocity" | "Damage" | "SendAnimation" | "Heal" | "LaunchUp" | "SetMaxHealth" | "ClearPotions" | "ProjColl" | "SetInvulTicks" | "SetAbsorption" | "SetFireTicks" | "SetFreezeTicks" | "SetGliding" | "SetRotation" | "RideEntity" | "SetHandItem" | "Teleport" | "LaunchToward" | "SetArmor" | "SetVisualFire" | "LaunchProj" | "NoProjColl" | "GivePotion" | "SetHealth" | "MobDisguise" | "BlockDisguise" | "SetCollidable" | "LaunchFwd" | "SetFallDistance" | "SetEquipment" | "AttackAnimation" | "RemovePotion" | "PlayerDisguise" | "Undisguise" | "SetNameColor" | "Jump" | "DispRotationEuler" | "SetParrotColor" | "DispTranslation" | "Remove" | "TDispBackground" | "DisplayCullingSize" | "SetGlowSquidDark" | "HideName" | "SetFrogType" | "DispRotAxisAngle" | "SetSheepSheared" | "SetMobSitting" | "SetAxolotlColor" | "DisableGlowing" | "SetWardenAnger" | "SetHorsePattern" | "SetAI" | "SetRiptiding" | "SetProjSource" | "SetFoxLeaping" | "SetItemOwner" | "SetPandaGene" | "SetDyeColor" | "SetAge" | "SetFishingTime" | "EndCrystalBeam" | "FrogEat" | "DisplayBrightness" | "SetProfession" | "NoGravity" | "SetArmsRaised" | "ArmorStandParts" | "SetInvulnerable" | "ArmorStandTags" | "SetPickupDelay" | "SetTarget" | "DropItems" | "TDisplayShadow" | "SetCreeperPower" | "SetMarker" | "RemoveCustomTag" | "SetNameVisible" | "SetPose" | "SetRearing" | "CreeperCharged" | "SetCloudRadius" | "SetGravity" | "SetName" | "SetWitherInvul" | "BDisplayBlock" | "Silence" | "TDisplaySeeThru" | "DisplayShadow" | "InteractResponse" | "UseItem" | "SetFishPattern" | "DisplayMatrix" | "NoDrops" | "DispInterpolation" | "EnableGlowing" | "SetEndermanBlock" | "DisplayGlowColor" | "SetAge/Size" | "GetCustomTag" | "InteractionSize" | "LSetArmor" | "SetCatType" | "SetSaddle" | "SetBulletTarget" | "DisplayScale" | "TDisplayLineWidth" | "TDisplayAlign" | "SetDragonPhase" | "SetLlamaColor" | "SetVillagerBiome" | "SetCreeperFuse" | "EnableAI" | "SetBaby" | "MooshroomType" | "SetInvisible" | "DisplayBillboard" | "SheepEat" | "SetCatResting" | "SetGoatHorns" | "Tame" | "SetGlowing" | "SetGoatScreaming" | "IDisplayModelType" | "SetMinecartBlock" | "FoxSleeping" | "ArmorStandPose" | "MoveToLoc" | "TDisplayOpacity" | "IDisplayItem" | "SetSilenced" | "SetBeeNectar" | "AttachLead" | "SnowmanPumpkin" | "SetCustomTag" | "Gravity" | "ShearSheep" | "ArmorStandSlots" | "SetAllayDancing" | "SetRabbitType" | "DisplayViewRange" | "SetSize" | "NoAI" | "ShowName" | "SetAngry" | "SetItem" | "Explode" | "SetDigging" | "MoveTo" | "SetDeathDrops" | "SetPersistent" | "SetVillagerExp" | "IgniteCreeper" | "SetCelebrating" | "ProjectileItem" | "TDisplayText" | "SetHorseJump" | "Unsilence" | "SetCarryingChest" | "Ram" | "SetFoxType">, args: DFValueType[]) => EntityAction<"SetVelocity" | "Damage" | "SendAnimation" | "Heal" | "LaunchUp" | "SetMaxHealth" | "ClearPotions" | "ProjColl" | "SetInvulTicks" | "SetAbsorption" | "SetFireTicks" | "SetFreezeTicks" | "SetGliding" | "SetRotation" | "RideEntity" | "SetHandItem" | "Teleport" | "LaunchToward" | "SetArmor" | "SetVisualFire" | "LaunchProj" | "NoProjColl" | "GivePotion" | "SetHealth" | "MobDisguise" | "BlockDisguise" | "SetCollidable" | "LaunchFwd" | "SetFallDistance" | "SetEquipment" | "AttackAnimation" | "RemovePotion" | "PlayerDisguise" | "Undisguise" | "SetNameColor" | "Jump" | "DispRotationEuler" | "SetParrotColor" | "DispTranslation" | "Remove" | "TDispBackground" | "DisplayCullingSize" | "SetGlowSquidDark" | "HideName" | "SetFrogType" | "DispRotAxisAngle" | "SetSheepSheared" | "SetMobSitting" | "SetAxolotlColor" | "DisableGlowing" | "SetWardenAnger" | "SetHorsePattern" | "SetAI" | "SetRiptiding" | "SetProjSource" | "SetFoxLeaping" | "SetItemOwner" | "SetPandaGene" | "SetDyeColor" | "SetAge" | "SetFishingTime" | "EndCrystalBeam" | "FrogEat" | "DisplayBrightness" | "SetProfession" | "NoGravity" | "SetArmsRaised" | "ArmorStandParts" | "SetInvulnerable" | "ArmorStandTags" | "SetPickupDelay" | "SetTarget" | "DropItems" | "TDisplayShadow" | "SetCreeperPower" | "SetMarker" | "RemoveCustomTag" | "SetNameVisible" | "SetPose" | "SetRearing" | "CreeperCharged" | "SetCloudRadius" | "SetGravity" | "SetName" | "SetWitherInvul" | "BDisplayBlock" | "Silence" | "TDisplaySeeThru" | "DisplayShadow" | "InteractResponse" | "UseItem" | "SetFishPattern" | "DisplayMatrix" | "NoDrops" | "DispInterpolation" | "EnableGlowing" | "SetEndermanBlock" | "DisplayGlowColor" | "SetAge/Size" | "GetCustomTag" | "InteractionSize" | "LSetArmor" | "SetCatType" | "SetSaddle" | "SetBulletTarget" | "DisplayScale" | "TDisplayLineWidth" | "TDisplayAlign" | "SetDragonPhase" | "SetLlamaColor" | "SetVillagerBiome" | "SetCreeperFuse" | "EnableAI" | "SetBaby" | "MooshroomType" | "SetInvisible" | "DisplayBillboard" | "SheepEat" | "SetCatResting" | "SetGoatHorns" | "Tame" | "SetGlowing" | "SetGoatScreaming" | "IDisplayModelType" | "SetMinecartBlock" | "FoxSleeping" | "ArmorStandPose" | "MoveToLoc" | "TDisplayOpacity" | "IDisplayItem" | "SetSilenced" | "SetBeeNectar" | "AttachLead" | "SnowmanPumpkin" | "SetCustomTag" | "Gravity" | "ShearSheep" | "ArmorStandSlots" | "SetAllayDancing" | "SetRabbitType" | "DisplayViewRange" | "SetSize" | "NoAI" | "ShowName" | "SetAngry" | "SetItem" | "Explode" | "SetDigging" | "MoveTo" | "SetDeathDrops" | "SetPersistent" | "SetVillagerExp" | "IgniteCreeper" | "SetCelebrating" | "ProjectileItem" | "TDisplayText" | "SetHorseJump" | "Unsilence" | "SetCarryingChest" | "Ram" | "SetFoxType">);
entity_event: ((__namedParameters: RawDFActionBlock<"entity_event", "EntityKillEntity" | "BlockFall" | "EntityDmg" | "ProjDmgEntity" | "ProjKillEntity" | "EntityDeath" | "VehicleDamage" | "EntityDmgEntity" | "FallingBlockLand">, _: DFValueType[]) => EntityEvent<"EntityKillEntity" | "BlockFall" | "EntityDmg" | "ProjDmgEntity" | "ProjKillEntity" | "EntityDeath" | "VehicleDamage" | "EntityDmgEntity" | "FallingBlockLand">);
event: ((__namedParameters: RawDFActionBlock<"event", "CloseInv" | "Respawn" | "StartFly" | "BreakBlock" | "StartSprint" | "MobKillPlayer" | "ShootBow" | "StopFly" | "LeftClick" | "PlayerTakeDmg" | "ProjHit" | "KillPlayer" | "VehicleJump" | "ClickInvSlot" | "SwapHands" | "DamageEntity" | "Sneak" | "PlayerHeal" | "ClickPlayer" | "Consume" | "Death" | "PlaceBlock" | "Walk" | "PickUpItem" | "Dismount" | "CloudImbuePlayer" | "Leave" | "DropItem" | "ChangeSlot" | "ClickEntity" | "HorseJump" | "ShootProjectile" | "Unsneak" | "Fish" | "FallDamage" | "BreakItem" | "LoopEvent" | "RightClick" | "ClickMenuSlot" | "Riptide" | "KillMob" | "Join" | "EntityDmgPlayer" | "StopSprint" | "Jump" | "ProjDmgPlayer" | "Command" | "PlayerDmgPlayer">, _: DFValueType[]) => PlayerEvent<"CloseInv" | "Respawn" | "StartFly" | "BreakBlock" | "StartSprint" | "MobKillPlayer" | "ShootBow" | "StopFly" | "LeftClick" | "PlayerTakeDmg" | "ProjHit" | "KillPlayer" | "VehicleJump" | "ClickInvSlot" | "SwapHands" | "DamageEntity" | "Sneak" | "PlayerHeal" | "ClickPlayer" | "Consume" | "Death" | "PlaceBlock" | "Walk" | "PickUpItem" | "Dismount" | "CloudImbuePlayer" | "Leave" | "DropItem" | "ChangeSlot" | "ClickEntity" | "HorseJump" | "ShootProjectile" | "Unsneak" | "Fish" | "FallDamage" | "BreakItem" | "LoopEvent" | "RightClick" | "ClickMenuSlot" | "Riptide" | "KillMob" | "Join" | "EntityDmgPlayer" | "StopSprint" | "Jump" | "ProjDmgPlayer" | "Command" | "PlayerDmgPlayer">);
func: ((__namedParameters: RawDFDataBlock<"func">, args: DFValueType[]) => Func);
game_action: ((__namedParameters: RawDFActionBlock<"game_action", "ParticleSphere" | "ParticleSpiral" | "ParticleEffect" | "RemoveScore" | "ParticleCircle" | "ClearItems" | "ReplaceItems" | "ParticleLineA" | "LaunchProj" | "RemoveItems" | "ParticleCircleA" | "ParticleRay" | "ParticleSpiralA" | "SetScore" | "ParticleLine" | "Wait" | "BreakBlock" | "StartLoop" | "SetFurnaceSpeed" | "BlockDropsOn" | "FillContainer" | "LPFXSpiral" | "BoneMeal" | "DebugStackTrace" | "FallingBlock" | "DiscordWebhook" | "ChangeSign" | "TickBlock" | "WebRequest" | "ClearScBoard" | "HideSidebar" | "SpawnItemDisplay" | "SetEventProj" | "Explosion" | "SpawnMob" | "SpawnEnderEye" | "ShowSidebar" | "SpawnPotionCloud" | "SetBlockData" | "Firework" | "SetBlock" | "SetEventDamage" | "SetBlockGrowth" | "SetContainerName" | "SpawnItem" | "SignColor" | "SetHead" | "RemoveHologram" | "ShulkerBullet" | "SpawnRngItem" | "FireworkEffect" | "SetRegion" | "SetContainer" | "SpawnInteraction" | "SetItemInSlot" | "CloneRegion" | "UncancelEvent" | "SetLecternBook" | "SpawnTNT" | "SpawnArmorStand" | "SpawnExpOrb" | "SetEventHeal" | "PFXPath" | "SpawnBlockDisp" | "GenerateTree" | "StopLoop" | "ClearContainer" | "SetScObj" | "CancelEvent" | "SpawnCrystal" | "SpawnFangs" | "SetEventSound" | "SetCampfireItem" | "SpawnTextDisplay" | "SetEventXP" | "LockContainer" | "SpawnVehicle" | "Lightning" | "CreateHologram" | "ParticleCluster" | "BlockDropsOff" | "PFXLine[A]">, args: DFValueType[]) => GameAction<"ParticleSphere" | "ParticleSpiral" | "ParticleEffect" | "RemoveScore" | "ParticleCircle" | "ClearItems" | "ReplaceItems" | "ParticleLineA" | "LaunchProj" | "RemoveItems" | "ParticleCircleA" | "ParticleRay" | "ParticleSpiralA" | "SetScore" | "ParticleLine" | "Wait" | "BreakBlock" | "StartLoop" | "SetFurnaceSpeed" | "BlockDropsOn" | "FillContainer" | "LPFXSpiral" | "BoneMeal" | "DebugStackTrace" | "FallingBlock" | "DiscordWebhook" | "ChangeSign" | "TickBlock" | "WebRequest" | "ClearScBoard" | "HideSidebar" | "SpawnItemDisplay" | "SetEventProj" | "Explosion" | "SpawnMob" | "SpawnEnderEye" | "ShowSidebar" | "SpawnPotionCloud" | "SetBlockData" | "Firework" | "SetBlock" | "SetEventDamage" | "SetBlockGrowth" | "SetContainerName" | "SpawnItem" | "SignColor" | "SetHead" | "RemoveHologram" | "ShulkerBullet" | "SpawnRngItem" | "FireworkEffect" | "SetRegion" | "SetContainer" | "SpawnInteraction" | "SetItemInSlot" | "CloneRegion" | "UncancelEvent" | "SetLecternBook" | "SpawnTNT" | "SpawnArmorStand" | "SpawnExpOrb" | "SetEventHeal" | "PFXPath" | "SpawnBlockDisp" | "GenerateTree" | "StopLoop" | "ClearContainer" | "SetScObj" | "CancelEvent" | "SpawnCrystal" | "SpawnFangs" | "SetEventSound" | "SetCampfireItem" | "SpawnTextDisplay" | "SetEventXP" | "LockContainer" | "SpawnVehicle" | "Lightning" | "CreateHologram" | "ParticleCluster" | "BlockDropsOff" | "PFXLine[A]">);
if_entity: ((__namedParameters: RawDFConditionalBlock<"if_entity">, args: DFValueType[]) => never);
if_game: ((__namedParameters: RawDFConditionalBlock<"if_game">, args: DFValueType[]) => never);
if_player: ((__namedParameters: RawDFConditionalBlock<"if_player">, args: DFValueType[]) => never);
if_var: ((__namedParameters: RawDFConditionalBlock<"if_player">, args: DFValueType[]) => never);
player_action: ((__namedParameters: RawDFActionBlock<"player_action", "SetHotbar" | "SetReducedDebug" | "CloseInv" | "GiveItems" | "NoKeepInv" | "BossBar" | "ParticleSphere" | "SetAtkSpeed" | "SetVelocity" | "Particle" | "AddInvRow" | "DisablePvp" | "NoNatRegen" | "DisplayLightning" | "PlayEntitySound" | "ReplaceProj" | "Damage" | "SetExp" | "SendAnimation" | "SetXPProg" | "SetInventory" | "TpSequence" | "Heal" | "SetSpawnPoint" | "ParticleSpiral" | "SetInventoryKept" | "SetAllowFlight" | "LaunchUp" | "SetMaxHealth" | "RemoveBossBar" | "SetFogDistance" | "GetTargetEntity" | "AdventureMode" | "ForceFlight" | "LoadInv" | "SpectatorMode" | "ClearPotions" | "Kick" | "SetTabListInfo" | "EnablePvp" | "ProjColl" | "HideDisguise" | "SpectateTarget" | "SurvivalMode" | "SetBossBar" | "SetSkin" | "SetStatus" | "SetInvulTicks" | "SetCursorItem" | "SetAbsorption" | "SetFireTicks" | "SetGamemode" | "RemoveInvRow" | "EnableFlight" | "SetStingsStuck" | "DisableBlocks" | "SetScoreObj" | "LSetHealth" | "ParticleEffect" | "ClearInv" | "SetFreezeTicks" | "SetGliding" | "SetRotation" | "RemoveScore" | "DisallowDrops" | "ParticleCircle" | "ClearItems" | "DisplayBlock" | "RideEntity" | "WeatherRain" | "SetFlying" | "RmWorldBorder" | "DisplayBlockOpen" | "SetHandItem" | "SendAdvancement" | "Teleport" | "ClearChat" | "SetAllowPVP" | "SetMenuItem" | "LaunchToward" | "SetArmor" | "DisplayGateway" | "DisableFlight" | "SetVisualFire" | "SetDisguiseVisible" | "SetArrowsStuck" | "GiveExp" | "FaceLocation" | "ClearScoreboard" | "SetItems" | "KeepInv" | "ReplaceItems" | "ActionBar" | "SetChatTag" | "SendMessage" | "ShiftWorldBorder" | "SetSlotItem" | "PlaySoundSeq" | "ParticleLineA" | "DisplaySignText" | "Respawn" | "SetSpeed" | "ExpandInv" | "SetInvName" | "LaunchProj" | "SetItemCooldown" | "SetPlayerWeather" | "SendHover" | "NoProjColl" | "ShowDisguise" | "SetAirTicks" | "DisplayPickup" | "ParticleCuboidA" | "ChatColor" | "SetWorldBorder" | "SetPlayerTime" | "NatRegen" | "GivePotion" | "PlaySound" | "SetCompass" | "RemoveItems" | "BoostElytra" | "RngTeleport" | "SaveInv" | "OpenBook" | "SetHealth" | "MobDisguise" | "BlockDisguise" | "RollbackBlocks" | "NoDeathDrops" | "EnableBlocks" | "WalkSpeed" | "OpenBlockInv" | "SetCollidable" | "LaunchFwd" | "ParticleCircleA" | "SetFallDistance" | "CreativeMode" | "SetEquipment" | "AttackAnimation" | "GiveRngItem" | "SetDropsEnabled" | "RemovePotion" | "DisplayHologram" | "DisplayFracture" | "SetEntityHidden" | "SetSidebar" | "AllowDrops" | "DeathDrops" | "Vibration" | "ShowInv" | "SetSlot" | "ParticleRay" | "SetFoodLevel" | "PlayerDisguise" | "ParticleCuboid" | "SendMessageSeq" | "SetSaturation" | "WeatherClear" | "Undisguise" | "ParticleSpiralA" | "SendTitle" | "InstantRespawn" | "SetScore" | "StopSound" | "SetNameColor" | "ParticleLine">, args: DFValueType[]) => PlayerAction<"SetHotbar" | "SetReducedDebug" | "CloseInv" | "GiveItems" | "NoKeepInv" | "BossBar" | "ParticleSphere" | "SetAtkSpeed" | "SetVelocity" | "Particle" | "AddInvRow" | "DisablePvp" | "NoNatRegen" | "DisplayLightning" | "PlayEntitySound" | "ReplaceProj" | "Damage" | "SetExp" | "SendAnimation" | "SetXPProg" | "SetInventory" | "TpSequence" | "Heal" | "SetSpawnPoint" | "ParticleSpiral" | "SetInventoryKept" | "SetAllowFlight" | "LaunchUp" | "SetMaxHealth" | "RemoveBossBar" | "SetFogDistance" | "GetTargetEntity" | "AdventureMode" | "ForceFlight" | "LoadInv" | "SpectatorMode" | "ClearPotions" | "Kick" | "SetTabListInfo" | "EnablePvp" | "ProjColl" | "HideDisguise" | "SpectateTarget" | "SurvivalMode" | "SetBossBar" | "SetSkin" | "SetStatus" | "SetInvulTicks" | "SetCursorItem" | "SetAbsorption" | "SetFireTicks" | "SetGamemode" | "RemoveInvRow" | "EnableFlight" | "SetStingsStuck" | "DisableBlocks" | "SetScoreObj" | "LSetHealth" | "ParticleEffect" | "ClearInv" | "SetFreezeTicks" | "SetGliding" | "SetRotation" | "RemoveScore" | "DisallowDrops" | "ParticleCircle" | "ClearItems" | "DisplayBlock" | "RideEntity" | "WeatherRain" | "SetFlying" | "RmWorldBorder" | "DisplayBlockOpen" | "SetHandItem" | "SendAdvancement" | "Teleport" | "ClearChat" | "SetAllowPVP" | "SetMenuItem" | "LaunchToward" | "SetArmor" | "DisplayGateway" | "DisableFlight" | "SetVisualFire" | "SetDisguiseVisible" | "SetArrowsStuck" | "GiveExp" | "FaceLocation" | "ClearScoreboard" | "SetItems" | "KeepInv" | "ReplaceItems" | "ActionBar" | "SetChatTag" | "SendMessage" | "ShiftWorldBorder" | "SetSlotItem" | "PlaySoundSeq" | "ParticleLineA" | "DisplaySignText" | "Respawn" | "SetSpeed" | "ExpandInv" | "SetInvName" | "LaunchProj" | "SetItemCooldown" | "SetPlayerWeather" | "SendHover" | "NoProjColl" | "ShowDisguise" | "SetAirTicks" | "DisplayPickup" | "ParticleCuboidA" | "ChatColor" | "SetWorldBorder" | "SetPlayerTime" | "NatRegen" | "GivePotion" | "PlaySound" | "SetCompass" | "RemoveItems" | "BoostElytra" | "RngTeleport" | "SaveInv" | "OpenBook" | "SetHealth" | "MobDisguise" | "BlockDisguise" | "RollbackBlocks" | "NoDeathDrops" | "EnableBlocks" | "WalkSpeed" | "OpenBlockInv" | "SetCollidable" | "LaunchFwd" | "ParticleCircleA" | "SetFallDistance" | "CreativeMode" | "SetEquipment" | "AttackAnimation" | "GiveRngItem" | "SetDropsEnabled" | "RemovePotion" | "DisplayHologram" | "DisplayFracture" | "SetEntityHidden" | "SetSidebar" | "AllowDrops" | "DeathDrops" | "Vibration" | "ShowInv" | "SetSlot" | "ParticleRay" | "SetFoodLevel" | "PlayerDisguise" | "ParticleCuboid" | "SendMessageSeq" | "SetSaturation" | "WeatherClear" | "Undisguise" | "ParticleSpiralA" | "SendTitle" | "InstantRespawn" | "SetScore" | "StopSound" | "SetNameColor" | "ParticleLine">);
process: ((__namedParameters: RawDFDataBlock<"process">, args: DFValueType[]) => Process);
repeat: ((__namedParameters: RawDFSubActionBlock<"repeat">, args: DFValueType[]) => never);
select_obj: ((__namedParameters: RawDFSubActionBlock<"select_obj">, args: DFValueType[]) => SelectObject);
set_var: ((__namedParameters: RawDFActionBlock<"set_var", "FaceLocation" | "SetParticleType" | "SetItemEnchants" | "PurgeVars" | "ShiftAllAxes" | "GetParticleMat" | "SetParticleSprd" | "AbsoluteValue" | "AppendValue" | "%" | "ShiftOnVector" | "GetItemAttribute" | "ClearDict" | "+" | "ShiftRotation" | "-" | "GetItemRarity" | "MultiplyVector" | "/" | "GetSignText" | "Bitwise" | "GetLecternPage" | "ParseX" | "ShiftOnAxis" | "ParseY" | "VectorBetween" | "ParseZ" | "GetVectorComp" | "=" | "RmText" | "AddItemAttribute" | "GetCenterLoc" | "AlignLoc" | "GetSoundVolume" | "RandomNumber" | "Raycast" | "RotateAroundVec" | "GetParticleMotion" | "SetParticleMotion" | "RepeatText" | "Average" | "WrapNumber" | "SetY" | "SetMapTexture" | "GetBlockData" | "SetX" | "SortDict" | "GetLecternBook" | "CrossProduct" | "x" | "GetParticleRoll" | "ParseYaw" | "DotProduct" | "SetZ" | "GetPotionType" | "SetItemName" | "ListLength" | "Sine" | "DirectionName" | "GetItemLore" | "ReverseList" | "CreateDict" | "RoundNumber" | "GetItemLoreLine" | "SetVectorLength" | "SetPotionDur" | "NormalRandom" | "SetPotionType" | "AlignVector" | "SetItemDura" | "SetBreakability" | "RaycastEntity" | "SetDictValue" | "SetAllCoords" | "RGBColor" | "SetCanDestroy" | "SplitText" | "HSLColor" | "GetDirection" | "RemoveListIndex" | "Logarithm" | "SetItemTag" | "GetItemAmount" | "SetPotionAmp" | "RotateAroundAxis" | "GetItemName" | "GetItemDura" | "ShiftInDirection" | "ReplaceText" | "TextLength" | "SetLodestoneLoc" | "GetPotionAmp" | "GetParticleAmount" | "GetDictSize" | "SetItemAmount" | "SubtractVectors" | "SetCase" | "SetParticleColor" | "GetLight" | "GetDictValues" | "Vector" | "Distance" | "SetItemLore" | "Root" | "SetParticleAmount" | "AddItemEnchant" | "GetItemType" | "TrimText" | "GetParticleType" | "GetAllBlockData" | "GetDictKeys" | "SetParticleMat" | "GetCoord" | "RemoveItemTag" | "SetParticleSize" | "GetPotionDur" | "RandomLoc" | "SetSoundType" | "GetLodestoneLoc" | "ShiftDirection" | "GetContainerName" | "GetParticleSprd" | "ReflectVector" | "GetHeadOwner" | "GetItemEnchants" | "AppendDict" | "GetMaxItemAmount" | "GetColorChannels" | "SetDirection" | "SetListValue" | "SetBookText" | "RandomValue" | "SetItemType" | "GetSoundType" | "GetListValue" | "Tangent" | "Text" | "VoronoiNoise" | "HSBColor" | "+=" | "GetSoundVariant" | "GetItemColor" | "InsertListValue" | "SetSoundVolume" | "SetCoord" | "AddVectors" | "SetPitch" | "RaycastBlock" | "SetHeadTexture" | "PerlinNoise" | "WorleyNoise" | "SetItemColor" | "GetParticleColor" | "SetSoundPitch" | "SortList" | "RemoveDictEntry" | "FormatTime" | "SetItemFlags" | "GetItemEffects" | "SetYaw" | "SetItemEffects" | "-=" | "GetItemTag" | "CreateList" | "AppendList" | "GetContainerItems" | "ShiftToward" | "TrimList" | "RemoveText" | "Cosine" | "SetVectorComp" | "ParseNumber" | "Exponent" | "ShiftAllDirs" | "GetValueIndex" | "RemItemEnchant" | "GetBookText" | "SetParticleRoll" | "SetSoundVariant" | "ShiftLocation" | "RandomizeList" | "ClampNumber" | "Round" | "GetSoundPitch" | "JoinText" | "TranslateColors" | "GetBlockGrowth" | "GetAllItemTags" | "RemoveListValue" | "ShiftAllDirections" | "SetCanPlaceOn" | "GetBlockType" | "ParsePitch" | "GetDictValue" | "ContainerLock" | "GetBlockPower" | "GetVectorLength" | "SetModelData" | "SetCoords" | "GetParticleSize">, args: DFValueType[]) => SetVariable<"FaceLocation" | "SetParticleType" | "SetItemEnchants" | "PurgeVars" | "ShiftAllAxes" | "GetParticleMat" | "SetParticleSprd" | "AbsoluteValue" | "AppendValue" | "%" | "ShiftOnVector" | "GetItemAttribute" | "ClearDict" | "+" | "ShiftRotation" | "-" | "GetItemRarity" | "MultiplyVector" | "/" | "GetSignText" | "Bitwise" | "GetLecternPage" | "ParseX" | "ShiftOnAxis" | "ParseY" | "VectorBetween" | "ParseZ" | "GetVectorComp" | "=" | "RmText" | "AddItemAttribute" | "GetCenterLoc" | "AlignLoc" | "GetSoundVolume" | "RandomNumber" | "Raycast" | "RotateAroundVec" | "GetParticleMotion" | "SetParticleMotion" | "RepeatText" | "Average" | "WrapNumber" | "SetY" | "SetMapTexture" | "GetBlockData" | "SetX" | "SortDict" | "GetLecternBook" | "CrossProduct" | "x" | "GetParticleRoll" | "ParseYaw" | "DotProduct" | "SetZ" | "GetPotionType" | "SetItemName" | "ListLength" | "Sine" | "DirectionName" | "GetItemLore" | "ReverseList" | "CreateDict" | "RoundNumber" | "GetItemLoreLine" | "SetVectorLength" | "SetPotionDur" | "NormalRandom" | "SetPotionType" | "AlignVector" | "SetItemDura" | "SetBreakability" | "RaycastEntity" | "SetDictValue" | "SetAllCoords" | "RGBColor" | "SetCanDestroy" | "SplitText" | "HSLColor" | "GetDirection" | "RemoveListIndex" | "Logarithm" | "SetItemTag" | "GetItemAmount" | "SetPotionAmp" | "RotateAroundAxis" | "GetItemName" | "GetItemDura" | "ShiftInDirection" | "ReplaceText" | "TextLength" | "SetLodestoneLoc" | "GetPotionAmp" | "GetParticleAmount" | "GetDictSize" | "SetItemAmount" | "SubtractVectors" | "SetCase" | "SetParticleColor" | "GetLight" | "GetDictValues" | "Vector" | "Distance" | "SetItemLore" | "Root" | "SetParticleAmount" | "AddItemEnchant" | "GetItemType" | "TrimText" | "GetParticleType" | "GetAllBlockData" | "GetDictKeys" | "SetParticleMat" | "GetCoord" | "RemoveItemTag" | "SetParticleSize" | "GetPotionDur" | "RandomLoc" | "SetSoundType" | "GetLodestoneLoc" | "ShiftDirection" | "GetContainerName" | "GetParticleSprd" | "ReflectVector" | "GetHeadOwner" | "GetItemEnchants" | "AppendDict" | "GetMaxItemAmount" | "GetColorChannels" | "SetDirection" | "SetListValue" | "SetBookText" | "RandomValue" | "SetItemType" | "GetSoundType" | "GetListValue" | "Tangent" | "Text" | "VoronoiNoise" | "HSBColor" | "+=" | "GetSoundVariant" | "GetItemColor" | "InsertListValue" | "SetSoundVolume" | "SetCoord" | "AddVectors" | "SetPitch" | "RaycastBlock" | "SetHeadTexture" | "PerlinNoise" | "WorleyNoise" | "SetItemColor" | "GetParticleColor" | "SetSoundPitch" | "SortList" | "RemoveDictEntry" | "FormatTime" | "SetItemFlags" | "GetItemEffects" | "SetYaw" | "SetItemEffects" | "-=" | "GetItemTag" | "CreateList" | "AppendList" | "GetContainerItems" | "ShiftToward" | "TrimList" | "RemoveText" | "Cosine" | "SetVectorComp" | "ParseNumber" | "Exponent" | "ShiftAllDirs" | "GetValueIndex" | "RemItemEnchant" | "GetBookText" | "SetParticleRoll" | "SetSoundVariant" | "ShiftLocation" | "RandomizeList" | "ClampNumber" | "Round" | "GetSoundPitch" | "JoinText" | "TranslateColors" | "GetBlockGrowth" | "GetAllItemTags" | "RemoveListValue" | "ShiftAllDirections" | "SetCanPlaceOn" | "GetBlockType" | "ParsePitch" | "GetDictValue" | "ContainerLock" | "GetBlockPower" | "GetVectorLength" | "SetModelData" | "SetCoords" | "GetParticleSize">);
start_process: ((__namedParameters: RawDFDataBlock<"start_process">, _: DFValueType[]) => StartProcess);
}[T]>["0"]): SparkscriptMapper<T>
-
Type Parameters
-
T extends "repeat" | "call_func" | "func" | "start_process" | "process" | "player_action" | "if_player" | "control" | "set_var" | "entity_event" | "event" | "if_entity" | "entity_action" | "if_var" | "select_obj" | "game_action" | "else" | "if_game"
Parameters
-
type: T
-
serializedData: DFCodeSerializedBlock | Parameters<{
bracket: ((__namedParameters: any, _: DFValueType[]) => never);
call_func: ((__namedParameters: RawDFDataBlock<"call_func">, _: DFValueType[]) => CallFunction);
control: ((__namedParameters: RawDFActionBlock<"control", "StopRepeat" | "Return" | "ReturnNTimes" | "Skip" | "End" | "Wait">, args: DFValueType[]) => Control<"StopRepeat" | "Return" | "ReturnNTimes" | "Skip" | "End" | "Wait">);
else: ((__namedParameters: any, _: DFValueType[]) => never);
entity_action: ((__namedParameters: RawDFActionBlock<"entity_action", "SetVelocity" | "Damage" | "SendAnimation" | "Heal" | "LaunchUp" | "SetMaxHealth" | "ClearPotions" | "ProjColl" | "SetInvulTicks" | "SetAbsorption" | "SetFireTicks" | "SetFreezeTicks" | "SetGliding" | "SetRotation" | "RideEntity" | "SetHandItem" | "Teleport" | "LaunchToward" | "SetArmor" | "SetVisualFire" | "LaunchProj" | "NoProjColl" | "GivePotion" | "SetHealth" | "MobDisguise" | "BlockDisguise" | "SetCollidable" | "LaunchFwd" | "SetFallDistance" | "SetEquipment" | "AttackAnimation" | "RemovePotion" | "PlayerDisguise" | "Undisguise" | "SetNameColor" | "Jump" | "DispRotationEuler" | "SetParrotColor" | "DispTranslation" | "Remove" | "TDispBackground" | "DisplayCullingSize" | "SetGlowSquidDark" | "HideName" | "SetFrogType" | "DispRotAxisAngle" | "SetSheepSheared" | "SetMobSitting" | "SetAxolotlColor" | "DisableGlowing" | "SetWardenAnger" | "SetHorsePattern" | "SetAI" | "SetRiptiding" | "SetProjSource" | "SetFoxLeaping" | "SetItemOwner" | "SetPandaGene" | "SetDyeColor" | "SetAge" | "SetFishingTime" | "EndCrystalBeam" | "FrogEat" | "DisplayBrightness" | "SetProfession" | "NoGravity" | "SetArmsRaised" | "ArmorStandParts" | "SetInvulnerable" | "ArmorStandTags" | "SetPickupDelay" | "SetTarget" | "DropItems" | "TDisplayShadow" | "SetCreeperPower" | "SetMarker" | "RemoveCustomTag" | "SetNameVisible" | "SetPose" | "SetRearing" | "CreeperCharged" | "SetCloudRadius" | "SetGravity" | "SetName" | "SetWitherInvul" | "BDisplayBlock" | "Silence" | "TDisplaySeeThru" | "DisplayShadow" | "InteractResponse" | "UseItem" | "SetFishPattern" | "DisplayMatrix" | "NoDrops" | "DispInterpolation" | "EnableGlowing" | "SetEndermanBlock" | "DisplayGlowColor" | "SetAge/Size" | "GetCustomTag" | "InteractionSize" | "LSetArmor" | "SetCatType" | "SetSaddle" | "SetBulletTarget" | "DisplayScale" | "TDisplayLineWidth" | "TDisplayAlign" | "SetDragonPhase" | "SetLlamaColor" | "SetVillagerBiome" | "SetCreeperFuse" | "EnableAI" | "SetBaby" | "MooshroomType" | "SetInvisible" | "DisplayBillboard" | "SheepEat" | "SetCatResting" | "SetGoatHorns" | "Tame" | "SetGlowing" | "SetGoatScreaming" | "IDisplayModelType" | "SetMinecartBlock" | "FoxSleeping" | "ArmorStandPose" | "MoveToLoc" | "TDisplayOpacity" | "IDisplayItem" | "SetSilenced" | "SetBeeNectar" | "AttachLead" | "SnowmanPumpkin" | "SetCustomTag" | "Gravity" | "ShearSheep" | "ArmorStandSlots" | "SetAllayDancing" | "SetRabbitType" | "DisplayViewRange" | "SetSize" | "NoAI" | "ShowName" | "SetAngry" | "SetItem" | "Explode" | "SetDigging" | "MoveTo" | "SetDeathDrops" | "SetPersistent" | "SetVillagerExp" | "IgniteCreeper" | "SetCelebrating" | "ProjectileItem" | "TDisplayText" | "SetHorseJump" | "Unsilence" | "SetCarryingChest" | "Ram" | "SetFoxType">, args: DFValueType[]) => EntityAction<"SetVelocity" | "Damage" | "SendAnimation" | "Heal" | "LaunchUp" | "SetMaxHealth" | "ClearPotions" | "ProjColl" | "SetInvulTicks" | "SetAbsorption" | "SetFireTicks" | "SetFreezeTicks" | "SetGliding" | "SetRotation" | "RideEntity" | "SetHandItem" | "Teleport" | "LaunchToward" | "SetArmor" | "SetVisualFire" | "LaunchProj" | "NoProjColl" | "GivePotion" | "SetHealth" | "MobDisguise" | "BlockDisguise" | "SetCollidable" | "LaunchFwd" | "SetFallDistance" | "SetEquipment" | "AttackAnimation" | "RemovePotion" | "PlayerDisguise" | "Undisguise" | "SetNameColor" | "Jump" | "DispRotationEuler" | "SetParrotColor" | "DispTranslation" | "Remove" | "TDispBackground" | "DisplayCullingSize" | "SetGlowSquidDark" | "HideName" | "SetFrogType" | "DispRotAxisAngle" | "SetSheepSheared" | "SetMobSitting" | "SetAxolotlColor" | "DisableGlowing" | "SetWardenAnger" | "SetHorsePattern" | "SetAI" | "SetRiptiding" | "SetProjSource" | "SetFoxLeaping" | "SetItemOwner" | "SetPandaGene" | "SetDyeColor" | "SetAge" | "SetFishingTime" | "EndCrystalBeam" | "FrogEat" | "DisplayBrightness" | "SetProfession" | "NoGravity" | "SetArmsRaised" | "ArmorStandParts" | "SetInvulnerable" | "ArmorStandTags" | "SetPickupDelay" | "SetTarget" | "DropItems" | "TDisplayShadow" | "SetCreeperPower" | "SetMarker" | "RemoveCustomTag" | "SetNameVisible" | "SetPose" | "SetRearing" | "CreeperCharged" | "SetCloudRadius" | "SetGravity" | "SetName" | "SetWitherInvul" | "BDisplayBlock" | "Silence" | "TDisplaySeeThru" | "DisplayShadow" | "InteractResponse" | "UseItem" | "SetFishPattern" | "DisplayMatrix" | "NoDrops" | "DispInterpolation" | "EnableGlowing" | "SetEndermanBlock" | "DisplayGlowColor" | "SetAge/Size" | "GetCustomTag" | "InteractionSize" | "LSetArmor" | "SetCatType" | "SetSaddle" | "SetBulletTarget" | "DisplayScale" | "TDisplayLineWidth" | "TDisplayAlign" | "SetDragonPhase" | "SetLlamaColor" | "SetVillagerBiome" | "SetCreeperFuse" | "EnableAI" | "SetBaby" | "MooshroomType" | "SetInvisible" | "DisplayBillboard" | "SheepEat" | "SetCatResting" | "SetGoatHorns" | "Tame" | "SetGlowing" | "SetGoatScreaming" | "IDisplayModelType" | "SetMinecartBlock" | "FoxSleeping" | "ArmorStandPose" | "MoveToLoc" | "TDisplayOpacity" | "IDisplayItem" | "SetSilenced" | "SetBeeNectar" | "AttachLead" | "SnowmanPumpkin" | "SetCustomTag" | "Gravity" | "ShearSheep" | "ArmorStandSlots" | "SetAllayDancing" | "SetRabbitType" | "DisplayViewRange" | "SetSize" | "NoAI" | "ShowName" | "SetAngry" | "SetItem" | "Explode" | "SetDigging" | "MoveTo" | "SetDeathDrops" | "SetPersistent" | "SetVillagerExp" | "IgniteCreeper" | "SetCelebrating" | "ProjectileItem" | "TDisplayText" | "SetHorseJump" | "Unsilence" | "SetCarryingChest" | "Ram" | "SetFoxType">);
entity_event: ((__namedParameters: RawDFActionBlock<"entity_event", "EntityKillEntity" | "BlockFall" | "EntityDmg" | "ProjDmgEntity" | "ProjKillEntity" | "EntityDeath" | "VehicleDamage" | "EntityDmgEntity" | "FallingBlockLand">, _: DFValueType[]) => EntityEvent<"EntityKillEntity" | "BlockFall" | "EntityDmg" | "ProjDmgEntity" | "ProjKillEntity" | "EntityDeath" | "VehicleDamage" | "EntityDmgEntity" | "FallingBlockLand">);
event: ((__namedParameters: RawDFActionBlock<"event", "CloseInv" | "Respawn" | "StartFly" | "BreakBlock" | "StartSprint" | "MobKillPlayer" | "ShootBow" | "StopFly" | "LeftClick" | "PlayerTakeDmg" | "ProjHit" | "KillPlayer" | "VehicleJump" | "ClickInvSlot" | "SwapHands" | "DamageEntity" | "Sneak" | "PlayerHeal" | "ClickPlayer" | "Consume" | "Death" | "PlaceBlock" | "Walk" | "PickUpItem" | "Dismount" | "CloudImbuePlayer" | "Leave" | "DropItem" | "ChangeSlot" | "ClickEntity" | "HorseJump" | "ShootProjectile" | "Unsneak" | "Fish" | "FallDamage" | "BreakItem" | "LoopEvent" | "RightClick" | "ClickMenuSlot" | "Riptide" | "KillMob" | "Join" | "EntityDmgPlayer" | "StopSprint" | "Jump" | "ProjDmgPlayer" | "Command" | "PlayerDmgPlayer">, _: DFValueType[]) => PlayerEvent<"CloseInv" | "Respawn" | "StartFly" | "BreakBlock" | "StartSprint" | "MobKillPlayer" | "ShootBow" | "StopFly" | "LeftClick" | "PlayerTakeDmg" | "ProjHit" | "KillPlayer" | "VehicleJump" | "ClickInvSlot" | "SwapHands" | "DamageEntity" | "Sneak" | "PlayerHeal" | "ClickPlayer" | "Consume" | "Death" | "PlaceBlock" | "Walk" | "PickUpItem" | "Dismount" | "CloudImbuePlayer" | "Leave" | "DropItem" | "ChangeSlot" | "ClickEntity" | "HorseJump" | "ShootProjectile" | "Unsneak" | "Fish" | "FallDamage" | "BreakItem" | "LoopEvent" | "RightClick" | "ClickMenuSlot" | "Riptide" | "KillMob" | "Join" | "EntityDmgPlayer" | "StopSprint" | "Jump" | "ProjDmgPlayer" | "Command" | "PlayerDmgPlayer">);
func: ((__namedParameters: RawDFDataBlock<"func">, args: DFValueType[]) => Func);
game_action: ((__namedParameters: RawDFActionBlock<"game_action", "ParticleSphere" | "ParticleSpiral" | "ParticleEffect" | "RemoveScore" | "ParticleCircle" | "ClearItems" | "ReplaceItems" | "ParticleLineA" | "LaunchProj" | "RemoveItems" | "ParticleCircleA" | "ParticleRay" | "ParticleSpiralA" | "SetScore" | "ParticleLine" | "Wait" | "BreakBlock" | "StartLoop" | "SetFurnaceSpeed" | "BlockDropsOn" | "FillContainer" | "LPFXSpiral" | "BoneMeal" | "DebugStackTrace" | "FallingBlock" | "DiscordWebhook" | "ChangeSign" | "TickBlock" | "WebRequest" | "ClearScBoard" | "HideSidebar" | "SpawnItemDisplay" | "SetEventProj" | "Explosion" | "SpawnMob" | "SpawnEnderEye" | "ShowSidebar" | "SpawnPotionCloud" | "SetBlockData" | "Firework" | "SetBlock" | "SetEventDamage" | "SetBlockGrowth" | "SetContainerName" | "SpawnItem" | "SignColor" | "SetHead" | "RemoveHologram" | "ShulkerBullet" | "SpawnRngItem" | "FireworkEffect" | "SetRegion" | "SetContainer" | "SpawnInteraction" | "SetItemInSlot" | "CloneRegion" | "UncancelEvent" | "SetLecternBook" | "SpawnTNT" | "SpawnArmorStand" | "SpawnExpOrb" | "SetEventHeal" | "PFXPath" | "SpawnBlockDisp" | "GenerateTree" | "StopLoop" | "ClearContainer" | "SetScObj" | "CancelEvent" | "SpawnCrystal" | "SpawnFangs" | "SetEventSound" | "SetCampfireItem" | "SpawnTextDisplay" | "SetEventXP" | "LockContainer" | "SpawnVehicle" | "Lightning" | "CreateHologram" | "ParticleCluster" | "BlockDropsOff" | "PFXLine[A]">, args: DFValueType[]) => GameAction<"ParticleSphere" | "ParticleSpiral" | "ParticleEffect" | "RemoveScore" | "ParticleCircle" | "ClearItems" | "ReplaceItems" | "ParticleLineA" | "LaunchProj" | "RemoveItems" | "ParticleCircleA" | "ParticleRay" | "ParticleSpiralA" | "SetScore" | "ParticleLine" | "Wait" | "BreakBlock" | "StartLoop" | "SetFurnaceSpeed" | "BlockDropsOn" | "FillContainer" | "LPFXSpiral" | "BoneMeal" | "DebugStackTrace" | "FallingBlock" | "DiscordWebhook" | "ChangeSign" | "TickBlock" | "WebRequest" | "ClearScBoard" | "HideSidebar" | "SpawnItemDisplay" | "SetEventProj" | "Explosion" | "SpawnMob" | "SpawnEnderEye" | "ShowSidebar" | "SpawnPotionCloud" | "SetBlockData" | "Firework" | "SetBlock" | "SetEventDamage" | "SetBlockGrowth" | "SetContainerName" | "SpawnItem" | "SignColor" | "SetHead" | "RemoveHologram" | "ShulkerBullet" | "SpawnRngItem" | "FireworkEffect" | "SetRegion" | "SetContainer" | "SpawnInteraction" | "SetItemInSlot" | "CloneRegion" | "UncancelEvent" | "SetLecternBook" | "SpawnTNT" | "SpawnArmorStand" | "SpawnExpOrb" | "SetEventHeal" | "PFXPath" | "SpawnBlockDisp" | "GenerateTree" | "StopLoop" | "ClearContainer" | "SetScObj" | "CancelEvent" | "SpawnCrystal" | "SpawnFangs" | "SetEventSound" | "SetCampfireItem" | "SpawnTextDisplay" | "SetEventXP" | "LockContainer" | "SpawnVehicle" | "Lightning" | "CreateHologram" | "ParticleCluster" | "BlockDropsOff" | "PFXLine[A]">);
if_entity: ((__namedParameters: RawDFConditionalBlock<"if_entity">, args: DFValueType[]) => never);
if_game: ((__namedParameters: RawDFConditionalBlock<"if_game">, args: DFValueType[]) => never);
if_player: ((__namedParameters: RawDFConditionalBlock<"if_player">, args: DFValueType[]) => never);
if_var: ((__namedParameters: RawDFConditionalBlock<"if_player">, args: DFValueType[]) => never);
player_action: ((__namedParameters: RawDFActionBlock<"player_action", "SetHotbar" | "SetReducedDebug" | "CloseInv" | "GiveItems" | "NoKeepInv" | "BossBar" | "ParticleSphere" | "SetAtkSpeed" | "SetVelocity" | "Particle" | "AddInvRow" | "DisablePvp" | "NoNatRegen" | "DisplayLightning" | "PlayEntitySound" | "ReplaceProj" | "Damage" | "SetExp" | "SendAnimation" | "SetXPProg" | "SetInventory" | "TpSequence" | "Heal" | "SetSpawnPoint" | "ParticleSpiral" | "SetInventoryKept" | "SetAllowFlight" | "LaunchUp" | "SetMaxHealth" | "RemoveBossBar" | "SetFogDistance" | "GetTargetEntity" | "AdventureMode" | "ForceFlight" | "LoadInv" | "SpectatorMode" | "ClearPotions" | "Kick" | "SetTabListInfo" | "EnablePvp" | "ProjColl" | "HideDisguise" | "SpectateTarget" | "SurvivalMode" | "SetBossBar" | "SetSkin" | "SetStatus" | "SetInvulTicks" | "SetCursorItem" | "SetAbsorption" | "SetFireTicks" | "SetGamemode" | "RemoveInvRow" | "EnableFlight" | "SetStingsStuck" | "DisableBlocks" | "SetScoreObj" | "LSetHealth" | "ParticleEffect" | "ClearInv" | "SetFreezeTicks" | "SetGliding" | "SetRotation" | "RemoveScore" | "DisallowDrops" | "ParticleCircle" | "ClearItems" | "DisplayBlock" | "RideEntity" | "WeatherRain" | "SetFlying" | "RmWorldBorder" | "DisplayBlockOpen" | "SetHandItem" | "SendAdvancement" | "Teleport" | "ClearChat" | "SetAllowPVP" | "SetMenuItem" | "LaunchToward" | "SetArmor" | "DisplayGateway" | "DisableFlight" | "SetVisualFire" | "SetDisguiseVisible" | "SetArrowsStuck" | "GiveExp" | "FaceLocation" | "ClearScoreboard" | "SetItems" | "KeepInv" | "ReplaceItems" | "ActionBar" | "SetChatTag" | "SendMessage" | "ShiftWorldBorder" | "SetSlotItem" | "PlaySoundSeq" | "ParticleLineA" | "DisplaySignText" | "Respawn" | "SetSpeed" | "ExpandInv" | "SetInvName" | "LaunchProj" | "SetItemCooldown" | "SetPlayerWeather" | "SendHover" | "NoProjColl" | "ShowDisguise" | "SetAirTicks" | "DisplayPickup" | "ParticleCuboidA" | "ChatColor" | "SetWorldBorder" | "SetPlayerTime" | "NatRegen" | "GivePotion" | "PlaySound" | "SetCompass" | "RemoveItems" | "BoostElytra" | "RngTeleport" | "SaveInv" | "OpenBook" | "SetHealth" | "MobDisguise" | "BlockDisguise" | "RollbackBlocks" | "NoDeathDrops" | "EnableBlocks" | "WalkSpeed" | "OpenBlockInv" | "SetCollidable" | "LaunchFwd" | "ParticleCircleA" | "SetFallDistance" | "CreativeMode" | "SetEquipment" | "AttackAnimation" | "GiveRngItem" | "SetDropsEnabled" | "RemovePotion" | "DisplayHologram" | "DisplayFracture" | "SetEntityHidden" | "SetSidebar" | "AllowDrops" | "DeathDrops" | "Vibration" | "ShowInv" | "SetSlot" | "ParticleRay" | "SetFoodLevel" | "PlayerDisguise" | "ParticleCuboid" | "SendMessageSeq" | "SetSaturation" | "WeatherClear" | "Undisguise" | "ParticleSpiralA" | "SendTitle" | "InstantRespawn" | "SetScore" | "StopSound" | "SetNameColor" | "ParticleLine">, args: DFValueType[]) => PlayerAction<"SetHotbar" | "SetReducedDebug" | "CloseInv" | "GiveItems" | "NoKeepInv" | "BossBar" | "ParticleSphere" | "SetAtkSpeed" | "SetVelocity" | "Particle" | "AddInvRow" | "DisablePvp" | "NoNatRegen" | "DisplayLightning" | "PlayEntitySound" | "ReplaceProj" | "Damage" | "SetExp" | "SendAnimation" | "SetXPProg" | "SetInventory" | "TpSequence" | "Heal" | "SetSpawnPoint" | "ParticleSpiral" | "SetInventoryKept" | "SetAllowFlight" | "LaunchUp" | "SetMaxHealth" | "RemoveBossBar" | "SetFogDistance" | "GetTargetEntity" | "AdventureMode" | "ForceFlight" | "LoadInv" | "SpectatorMode" | "ClearPotions" | "Kick" | "SetTabListInfo" | "EnablePvp" | "ProjColl" | "HideDisguise" | "SpectateTarget" | "SurvivalMode" | "SetBossBar" | "SetSkin" | "SetStatus" | "SetInvulTicks" | "SetCursorItem" | "SetAbsorption" | "SetFireTicks" | "SetGamemode" | "RemoveInvRow" | "EnableFlight" | "SetStingsStuck" | "DisableBlocks" | "SetScoreObj" | "LSetHealth" | "ParticleEffect" | "ClearInv" | "SetFreezeTicks" | "SetGliding" | "SetRotation" | "RemoveScore" | "DisallowDrops" | "ParticleCircle" | "ClearItems" | "DisplayBlock" | "RideEntity" | "WeatherRain" | "SetFlying" | "RmWorldBorder" | "DisplayBlockOpen" | "SetHandItem" | "SendAdvancement" | "Teleport" | "ClearChat" | "SetAllowPVP" | "SetMenuItem" | "LaunchToward" | "SetArmor" | "DisplayGateway" | "DisableFlight" | "SetVisualFire" | "SetDisguiseVisible" | "SetArrowsStuck" | "GiveExp" | "FaceLocation" | "ClearScoreboard" | "SetItems" | "KeepInv" | "ReplaceItems" | "ActionBar" | "SetChatTag" | "SendMessage" | "ShiftWorldBorder" | "SetSlotItem" | "PlaySoundSeq" | "ParticleLineA" | "DisplaySignText" | "Respawn" | "SetSpeed" | "ExpandInv" | "SetInvName" | "LaunchProj" | "SetItemCooldown" | "SetPlayerWeather" | "SendHover" | "NoProjColl" | "ShowDisguise" | "SetAirTicks" | "DisplayPickup" | "ParticleCuboidA" | "ChatColor" | "SetWorldBorder" | "SetPlayerTime" | "NatRegen" | "GivePotion" | "PlaySound" | "SetCompass" | "RemoveItems" | "BoostElytra" | "RngTeleport" | "SaveInv" | "OpenBook" | "SetHealth" | "MobDisguise" | "BlockDisguise" | "RollbackBlocks" | "NoDeathDrops" | "EnableBlocks" | "WalkSpeed" | "OpenBlockInv" | "SetCollidable" | "LaunchFwd" | "ParticleCircleA" | "SetFallDistance" | "CreativeMode" | "SetEquipment" | "AttackAnimation" | "GiveRngItem" | "SetDropsEnabled" | "RemovePotion" | "DisplayHologram" | "DisplayFracture" | "SetEntityHidden" | "SetSidebar" | "AllowDrops" | "DeathDrops" | "Vibration" | "ShowInv" | "SetSlot" | "ParticleRay" | "SetFoodLevel" | "PlayerDisguise" | "ParticleCuboid" | "SendMessageSeq" | "SetSaturation" | "WeatherClear" | "Undisguise" | "ParticleSpiralA" | "SendTitle" | "InstantRespawn" | "SetScore" | "StopSound" | "SetNameColor" | "ParticleLine">);
process: ((__namedParameters: RawDFDataBlock<"process">, args: DFValueType[]) => Process);
repeat: ((__namedParameters: RawDFSubActionBlock<"repeat">, args: DFValueType[]) => never);
select_obj: ((__namedParameters: RawDFSubActionBlock<"select_obj">, args: DFValueType[]) => SelectObject);
set_var: ((__namedParameters: RawDFActionBlock<"set_var", "FaceLocation" | "SetParticleType" | "SetItemEnchants" | "PurgeVars" | "ShiftAllAxes" | "GetParticleMat" | "SetParticleSprd" | "AbsoluteValue" | "AppendValue" | "%" | "ShiftOnVector" | "GetItemAttribute" | "ClearDict" | "+" | "ShiftRotation" | "-" | "GetItemRarity" | "MultiplyVector" | "/" | "GetSignText" | "Bitwise" | "GetLecternPage" | "ParseX" | "ShiftOnAxis" | "ParseY" | "VectorBetween" | "ParseZ" | "GetVectorComp" | "=" | "RmText" | "AddItemAttribute" | "GetCenterLoc" | "AlignLoc" | "GetSoundVolume" | "RandomNumber" | "Raycast" | "RotateAroundVec" | "GetParticleMotion" | "SetParticleMotion" | "RepeatText" | "Average" | "WrapNumber" | "SetY" | "SetMapTexture" | "GetBlockData" | "SetX" | "SortDict" | "GetLecternBook" | "CrossProduct" | "x" | "GetParticleRoll" | "ParseYaw" | "DotProduct" | "SetZ" | "GetPotionType" | "SetItemName" | "ListLength" | "Sine" | "DirectionName" | "GetItemLore" | "ReverseList" | "CreateDict" | "RoundNumber" | "GetItemLoreLine" | "SetVectorLength" | "SetPotionDur" | "NormalRandom" | "SetPotionType" | "AlignVector" | "SetItemDura" | "SetBreakability" | "RaycastEntity" | "SetDictValue" | "SetAllCoords" | "RGBColor" | "SetCanDestroy" | "SplitText" | "HSLColor" | "GetDirection" | "RemoveListIndex" | "Logarithm" | "SetItemTag" | "GetItemAmount" | "SetPotionAmp" | "RotateAroundAxis" | "GetItemName" | "GetItemDura" | "ShiftInDirection" | "ReplaceText" | "TextLength" | "SetLodestoneLoc" | "GetPotionAmp" | "GetParticleAmount" | "GetDictSize" | "SetItemAmount" | "SubtractVectors" | "SetCase" | "SetParticleColor" | "GetLight" | "GetDictValues" | "Vector" | "Distance" | "SetItemLore" | "Root" | "SetParticleAmount" | "AddItemEnchant" | "GetItemType" | "TrimText" | "GetParticleType" | "GetAllBlockData" | "GetDictKeys" | "SetParticleMat" | "GetCoord" | "RemoveItemTag" | "SetParticleSize" | "GetPotionDur" | "RandomLoc" | "SetSoundType" | "GetLodestoneLoc" | "ShiftDirection" | "GetContainerName" | "GetParticleSprd" | "ReflectVector" | "GetHeadOwner" | "GetItemEnchants" | "AppendDict" | "GetMaxItemAmount" | "GetColorChannels" | "SetDirection" | "SetListValue" | "SetBookText" | "RandomValue" | "SetItemType" | "GetSoundType" | "GetListValue" | "Tangent" | "Text" | "VoronoiNoise" | "HSBColor" | "+=" | "GetSoundVariant" | "GetItemColor" | "InsertListValue" | "SetSoundVolume" | "SetCoord" | "AddVectors" | "SetPitch" | "RaycastBlock" | "SetHeadTexture" | "PerlinNoise" | "WorleyNoise" | "SetItemColor" | "GetParticleColor" | "SetSoundPitch" | "SortList" | "RemoveDictEntry" | "FormatTime" | "SetItemFlags" | "GetItemEffects" | "SetYaw" | "SetItemEffects" | "-=" | "GetItemTag" | "CreateList" | "AppendList" | "GetContainerItems" | "ShiftToward" | "TrimList" | "RemoveText" | "Cosine" | "SetVectorComp" | "ParseNumber" | "Exponent" | "ShiftAllDirs" | "GetValueIndex" | "RemItemEnchant" | "GetBookText" | "SetParticleRoll" | "SetSoundVariant" | "ShiftLocation" | "RandomizeList" | "ClampNumber" | "Round" | "GetSoundPitch" | "JoinText" | "TranslateColors" | "GetBlockGrowth" | "GetAllItemTags" | "RemoveListValue" | "ShiftAllDirections" | "SetCanPlaceOn" | "GetBlockType" | "ParsePitch" | "GetDictValue" | "ContainerLock" | "GetBlockPower" | "GetVectorLength" | "SetModelData" | "SetCoords" | "GetParticleSize">, args: DFValueType[]) => SetVariable<"FaceLocation" | "SetParticleType" | "SetItemEnchants" | "PurgeVars" | "ShiftAllAxes" | "GetParticleMat" | "SetParticleSprd" | "AbsoluteValue" | "AppendValue" | "%" | "ShiftOnVector" | "GetItemAttribute" | "ClearDict" | "+" | "ShiftRotation" | "-" | "GetItemRarity" | "MultiplyVector" | "/" | "GetSignText" | "Bitwise" | "GetLecternPage" | "ParseX" | "ShiftOnAxis" | "ParseY" | "VectorBetween" | "ParseZ" | "GetVectorComp" | "=" | "RmText" | "AddItemAttribute" | "GetCenterLoc" | "AlignLoc" | "GetSoundVolume" | "RandomNumber" | "Raycast" | "RotateAroundVec" | "GetParticleMotion" | "SetParticleMotion" | "RepeatText" | "Average" | "WrapNumber" | "SetY" | "SetMapTexture" | "GetBlockData" | "SetX" | "SortDict" | "GetLecternBook" | "CrossProduct" | "x" | "GetParticleRoll" | "ParseYaw" | "DotProduct" | "SetZ" | "GetPotionType" | "SetItemName" | "ListLength" | "Sine" | "DirectionName" | "GetItemLore" | "ReverseList" | "CreateDict" | "RoundNumber" | "GetItemLoreLine" | "SetVectorLength" | "SetPotionDur" | "NormalRandom" | "SetPotionType" | "AlignVector" | "SetItemDura" | "SetBreakability" | "RaycastEntity" | "SetDictValue" | "SetAllCoords" | "RGBColor" | "SetCanDestroy" | "SplitText" | "HSLColor" | "GetDirection" | "RemoveListIndex" | "Logarithm" | "SetItemTag" | "GetItemAmount" | "SetPotionAmp" | "RotateAroundAxis" | "GetItemName" | "GetItemDura" | "ShiftInDirection" | "ReplaceText" | "TextLength" | "SetLodestoneLoc" | "GetPotionAmp" | "GetParticleAmount" | "GetDictSize" | "SetItemAmount" | "SubtractVectors" | "SetCase" | "SetParticleColor" | "GetLight" | "GetDictValues" | "Vector" | "Distance" | "SetItemLore" | "Root" | "SetParticleAmount" | "AddItemEnchant" | "GetItemType" | "TrimText" | "GetParticleType" | "GetAllBlockData" | "GetDictKeys" | "SetParticleMat" | "GetCoord" | "RemoveItemTag" | "SetParticleSize" | "GetPotionDur" | "RandomLoc" | "SetSoundType" | "GetLodestoneLoc" | "ShiftDirection" | "GetContainerName" | "GetParticleSprd" | "ReflectVector" | "GetHeadOwner" | "GetItemEnchants" | "AppendDict" | "GetMaxItemAmount" | "GetColorChannels" | "SetDirection" | "SetListValue" | "SetBookText" | "RandomValue" | "SetItemType" | "GetSoundType" | "GetListValue" | "Tangent" | "Text" | "VoronoiNoise" | "HSBColor" | "+=" | "GetSoundVariant" | "GetItemColor" | "InsertListValue" | "SetSoundVolume" | "SetCoord" | "AddVectors" | "SetPitch" | "RaycastBlock" | "SetHeadTexture" | "PerlinNoise" | "WorleyNoise" | "SetItemColor" | "GetParticleColor" | "SetSoundPitch" | "SortList" | "RemoveDictEntry" | "FormatTime" | "SetItemFlags" | "GetItemEffects" | "SetYaw" | "SetItemEffects" | "-=" | "GetItemTag" | "CreateList" | "AppendList" | "GetContainerItems" | "ShiftToward" | "TrimList" | "RemoveText" | "Cosine" | "SetVectorComp" | "ParseNumber" | "Exponent" | "ShiftAllDirs" | "GetValueIndex" | "RemItemEnchant" | "GetBookText" | "SetParticleRoll" | "SetSoundVariant" | "ShiftLocation" | "RandomizeList" | "ClampNumber" | "Round" | "GetSoundPitch" | "JoinText" | "TranslateColors" | "GetBlockGrowth" | "GetAllItemTags" | "RemoveListValue" | "ShiftAllDirections" | "SetCanPlaceOn" | "GetBlockType" | "ParsePitch" | "GetDictValue" | "ContainerLock" | "GetBlockPower" | "GetVectorLength" | "SetModelData" | "SetCoords" | "GetParticleSize">);
start_process: ((__namedParameters: RawDFDataBlock<"start_process">, _: DFValueType[]) => StartProcess);
}[T]>["0"]
Returns SparkscriptMapper<T>
- default<T>(type: T, serializedData: RawDFValue<T, ValueDataMapper<T>>): SparkscriptMapper<T>
-
Parameters
-
type: T
-
serializedData: RawDFValue<T, ValueDataMapper<T>>
Returns SparkscriptMapper<T>
Sparkscript global mapper.
Convert DiamondFire's raw value or codeblock data to the respective sparkscript's class instance.
Author
UserUNP
Returns
Converted sparkscript object instance.