Data Packs Tool

VisuFX Data Pack

  • Functions
  • 1,164 views • 1 today
  • 68 downloads • 0 today
  • 6
  • 5
  • 3
xerneas02
Level 52 : Grandmaster Blob Necromancer
27

VisuFX - Visual Effects for Mapmakers! 🎨✨



Welcome to VisuFX, a data pack designed to add visual effects using the properties of Text Display Entity! With this pack, you can highlight blocks, create colored overlays, tint the player’s vision, and make player invisible



🌟 Features



🔹 Highlight Blocks - Easily highlight any block with animated opacity shifts! 🔦
🔹 Custom Rectangles & Squares - Place single or double-sided shapes in any color and opacity.
🔹 Tinted View - Apply a color filter to a player's vision for immersive effects. 👀🎨
🔹 Invisible Entities - Use clever visual tricks to make entities vanish! 🫥



📜 Commands & Usage


🟥 Summoning Shapes


execute positioned ~ ~ ~ run function visu_fx:summon_rect {Red:[0,255],Green:[0,255],Blue:[0,255],Opacity:[0,255],ScaleX:Value,ScaleY:Value,Side:[0,5],Group:{0,1}}

Creates a rectangle of size ScaleX x ScaleY (Scale: 4 = 1 block ) in the given RGB color and opacity.

Opacity:
  • 0-25 = invisible,
  • 255 = fully opaque.
Side Orientation:
  0 → South1 → Bottom2 → East3 → Top4 → West5 → North
Grouping:

If Group is 1, the shape is assigned a group ID (useful for advanced effects).

  • Unique ID: Each shape is assigned an individual ID in 
scoreboard textdisplay_id
  • Group ID: Some shapes are assigned a group ID in
scoreboard textdisplay_group_id



🔹 Summon a Square: Use visu_fx:summon_square (no need to specify ScaleY, it’s a perfect square ther is only Scale).

🔹 Double-Sided Shapes: Use visu_fx:summon_rect_double or visu_fx:summon_square_double. (Only Side 0-2 allowed.)



✨ Block Highlighting


execute positioned block_x block_y.5 block_z run function visu_fx:apply_highlight {Red:[0,255],Green:[0,255],Blue:[0,255]}


Adds a highlight effect to a block with a smooth opacity animation! The animation settings can be tweaked via the option scoreboard. 🎭



🎨 Tinted Player View


execute as @p run function visu_fx:tinted_view {Red:[0,255],Green:[0,255],Blue:[0,255],Opacity:[0,255]}


Covers the player’s screen with a color filter! The effect follows the player’s movement and applies the chosen RGB color & opacity.🌈



🫥 Invisible Entities


execute as @p run function visu_fx:invisible_entity


This function hides an entity by surrounding it with an invisible text_display box! 👻



🗑️ Removing Effects


❌ Remove Specific Shape


function visu_fx:kill {Id:Value}


Deletes a specific text_display by its ID.

❌ Remove Grouped Shapes


function visu_fx:kill_group {GroupId:Value}


Deletes all text_displays in a specified group.

🔄 Remove the Oldest Shape


function visu_fx:kill_last_textdisplay


Deletes the oldest created shape.

🔄 Remove the Oldest Group


function visu_fx:kill_last_textdisplay_group


Deletes the oldest created group of shapes.



🎥 Credits & Inspiration



This data pack was inspired by Cymaera, particularly their amazing work in this video: Watch here! 🎬



📥 Download & Installation



1️⃣ Download the .zip file.
2️⃣ Place it in your datapacks folder (.minecraft/saves/YourWorld/datapacks).
3️⃣ Type /reload

💬 Feedback


I’d love to hear your thoughts on this data pack! If you have any suggestions, issues, or cool ideas, feel free to leave a comment or message me. Your feedback helps!
CompatibilityMinecraft 1.21
Tags

  Have something to say?

aatreyu_shau
02/05/2025 4:56 am
Level 54 : Grandmaster Meme Meme
oh so u watched Cymaera's video huh?
2
xerneas02
02/05/2025 7:24 am
Level 52 : Grandmaster Blob Necromancer
Yes i said it in credits i love his videos i wanted to try and replicate it with a data pack
2
Mynoteet
02/05/2025 3:12 am
Level 31 : Artisan Gentlemen Crafter
WouaoW, I never see that before! :O
3

Welcome