▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/PixelWorks
PixelWorks

PixelWorks

A plugin extension for new custom text and doodle fireworks (christmas nd new year special)

41
0

** PixelWorks Plugin - Complete Documentation

🎆 Overview

  _____ _          _  __          __        _       
 |  __ (_)        | | \ \        / /       | |       
 | |__) |__  _____| |  \ \  /\  / /__  _ __| | _____ 
 |  ___/ \ \/ / _ \ |   \ \/  \/ / _ \| '__| |/ / __|
 | |   | |>  <  __/ |    \  /\  / (_) | |  |   <\__ \
 |_|   |_/_/\_\___|_|     \/  \/ \___/|_|  |_|\_\___/

Custom Particle Firework Shapes & Text for Minecraft

PixelWorks is a premium-quality Paper plugin that revolutionizes fireworks in Minecraft. Instead of standard firework explosions, PixelWorks displays stunning custom shapes and readable text made entirely of colored particles in the sky!

Perfect for:

  • 🎄 Holiday Events (Christmas, New Year, Halloween)
  • 🎉 Server Celebrations (Anniversaries, Milestones)
  • 🏆 Player Rewards (Achievement unlocks, VIP perks)
  • 🎨 Creative Builds (Light shows, Decorations)
  • 📢 Announcements (Server messages in the sky)
SpecificationDetails
Plugin NamePixelWorks
Version1.0.0
API VersionPaper 1.21+
CompatibilityMinecraft 1.21.1 - 1.21.4
Java VersionJava 21+
DependenciesNone (Standalone)

✨ Key Features

🎨 Particle Rendering Engine

FeatureDescription
Bitmap Font SystemComplete A-Z, 0-9, and punctuation rendered as 5×7 pixel characters
ASCII Art ShapesDefine custom shapes using simple grid patterns in config
Vector MathematicsPrecise 2D to 3D transformation with rotation matrices
Player-Facing DisplayPatterns automatically rotate to face the launching player
Multi-line TextAutomatic word wrapping for long messages
Dual Color SupportPrimary and secondary colors for detailed designs
Animated DisplayParticles persist for configurable duration

🚀 Custom Firework Items

FeatureDescription
PDC StoragePattern data stored using PersistentDataContainer (survives server restarts)
Custom Display NamesBeautiful formatted names with icons
Detailed LoreShows pattern type, content, and dimensions
Stack-friendlyItems stack properly like vanilla fireworks
No NBT IssuesUses modern PDC system, not deprecated NBT tags

🛠️ Recipe System

FeatureDescription
Shaped RecipesDefine exact ingredient positions
Shapeless RecipesAny arrangement of ingredients works
Configurable ResultsSet how many fireworks each craft produces
Hot ReloadAdd new recipes without server restart

📦 22 Pre-Built Patterns

CategoryPatterns
Mob Faces (12)Skeleton, Zombie, Villager, Pillager, Enderman, Warden, Wither, Dragon
Animals (6)Wolf, Cat, Axolotl, Panda, Reindeer
PlayersSteve
Objects (3)Christmas Tree, Gift Box, Cake
Text (4)Merry Christmas, Happy New Year, Happy New Year 2026, everETERNAL SMP

⚡ Performance Optimized

FeatureDescription
Cached CalculationsPattern points calculated once then cached
Async Particle SpawningNon-blocking particle display
Configurable LimitsControl particle count and spawn rate
View DistanceOnly spawn particles for nearby players

🔧 How It Works

The Process Flow

┌─────────────────┐
│  Player crafts  │
│  or receives    │
│  PixelWorks     │
│  Firework       │
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  Firework has   │
│  PDC data with  │
│  pattern_id     │
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  Player launches│
│  firework       │
│  (right-click)  │
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  Firework flies │
│  up and         │
│  explodes       │
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  Plugin cancels │
│  vanilla        │
│  explosion      │
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  ParticleEngine │
│  loads pattern  │
│  from config    │
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  Calculate      │
│  rotation to    │
│  face player    │
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  Transform 2D   │
│  points to 3D   │
│  world coords   │
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  Spawn DUST     │
│  particles at   │
│  each point     │
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  Beautiful      │
│  pattern        │
│  displayed!     │
└─────────────────┘

Vector Mathematics Explained

The plugin uses rotation matrices to transform 2D grid coordinates into 3D world positions:

Given:
- Origin point (explosion location)
- 2D grid point (x, y)
- Yaw angle (direction to face)
- Scale factor

Calculate:
1. Right vector = (cos(yaw), 0, sin(yaw))
2. Up vector = (0, 1, 0)
3. World position = Origin + (Right × x × scale) + (Up × y × scale)

This ensures the pattern always faces the correct direction regardless of where the firework explodes.


💻 Commands

Main Command: /pw (aliases: /pixelworks, /fireworkart)

CommandDescriptionPermission
/pw get <pattern_id> [amount]Give yourself a custom fireworkpixelworks.get
/pw create <id> text <content>Create a new text patternpixelworks.create
/pw list [text|shape]List all available patternspixelworks.command
/pw info <pattern_id>View detailed pattern informationpixelworks.command
/pw test <pattern_id>Test-render a pattern above your headpixelworks.admin
/pw reloadReload all configurationspixelworks.reload
/pw helpShow command helppixelworks.command

Command Examples

 Get 16 skeleton face fireworks
/pw get skeleton_face 16

 Create a custom birthday message
/pw create birthday text Happy Birthday!

List only shape patterns
/pw list shapes

 View info about the dragon pattern
/pw info dragon

Test the christmas tree pattern
/pw test christmas_tree

 Reload after editing config
/pw reload

🔐 Permissions

PermissionDescriptionDefault
pixelworks.commandAccess to base /pw commandOP
pixelworks.getUse /pw get to obtain fireworksOP
pixelworks.createCreate new patterns via commandOP
pixelworks.reloadReload plugin configurationOP
pixelworks.useCraft and use custom fireworksEveryone
pixelworks.adminFull access to all featuresOP

Permission Hierarchy

pixelworks.admin
├── pixelworks.command
├── pixelworks.get
├── pixelworks.create
├── pixelworks.reload
└── pixelworks.use

LuckPerms Examples

 Give players access to use fireworks
/lp group default permission set pixelworks.use true

Give VIPs ability to get fireworks
/lp group vip permission set pixelworks.get true

 Give admins full access
/lp group admin permission set pixelworks.admin true

⚙️ Configuration

Settings Section

settings:
  Spacing between particles (smaller = denser, larger = spread out)
  Recommended: 0.3 - 0.5
  default-scale: 0.35
 
   Maximum distance players can see particles
  Higher values may impact performance
  view-distance: 64
 
   Should patterns rotate to face the launching player?
   true = faces player, false = always faces south
  face-player: true
 
  Size of each dust particle
   1.0 = normal, 0.5 = small, 2.0 = large
  particle-size: 1.0
 
   How many particles spawn per game tick
   Higher = faster display, more lag
  particles-per-tick: 100
 
   How long the pattern stays visible (20 ticks = 1 second)
  display-duration: 40
 
   Enable smooth color transitions
  use-color-transition: false

Scale Visual Guide

Scale ValueEffectBest For
0.2Very dense, compactSmall detailed shapes
0.35Default, balancedMost patterns
0.5Spread out, largeText, simple shapes
0.75Very largeGiant displays
1.0Maximum spreadHuge sky writing

Color Format Support

FormatExampleDescription
HexFF5500Standard hex color
Hex (no hash)FF5500Also works
RGB(255, 85, 0)RGB tuple
RGB (no parens)255, 85, 0Also works
NamedredPredefined color names
Minecraftdark_purpleMC color names
Customchristmas_redPlugin custom colors

Available Named Colors

Standard:          Minecraft:          Custom:
- white            - dark_red          - christmas_red
- silver           - gold              - christmas_green
- gray/grey        - dark_green        - snow
- black            - dark_aqua         - gold_star
- red              - dark_blue
- maroon           - dark_purple
- yellow           - light_purple
- olive            - dark_gray
- lime
- green
- aqua
- teal
- blue
- navy
- fuchsia
- purple
- orange

🎨 Preset Patterns

Text Patterns (4)

IDDisplay TextColors
merry_christmasMerry ChristmasRed + Green
happy_new_yearHappy New YearGold + White
happy_new_year_2026Happy New Year 2026Gold + Red
evereternal_smpeverETERNAL SMPPurple + Blue

Shape Patterns (18)

Mob Faces

IDDescriptionColorsSize
skeleton_faceSkeleton skullWhite + Black11×11
zombie_faceZombie headGreen + Black11×11
villagerVillager face with noseTan + Green11×11
pillagerPillager with angry eyesGray + Black11×11
endermanEnderman with purple eyesBlack + Magenta11×11
wardenDeep dark WardenDark Cyan + Cyan13×12
witherThree-headed WitherBlack + Gray19×10
dragonEnder DragonPurple + Magenta17×12

Animals

IDDescriptionColorsSize
wolfWolf/Dog faceSilver + White11×11
catOrange tabby catOrange + Black11×10
axolotlPink axolotlPink + Hot Pink11×10
pandaPanda with eye patchesWhite + Black11×10
reindeerReindeer with antlersBrown + Red11×11

Players & Objects

IDDescriptionColorsSize
steveSteve player headTan + Brown11×11
christmas_treeDecorated treeGreen + Gold13×15
gift_boxPresent with ribbonRed + Gold11×10
cakeBirthday cake with candlesCream + Red11×9

Visual Previews (ASCII)

Skeleton Face

  XXXXXXX 
 XXXXXXXXX 
XXXXXXXXXXX
XXX OOO XXX  ← Black eyes
XXX OOO XXX
XXXXXXXXXXX
XXXXXXXXXXX
XX XXXXX XX
XXX     XXX  ← Mouth
 XX X X XX 
  XXXXXXX 

Christmas Tree

      O       ← Gold star
     XXX     
    XXXXX   
   XXXXXXX   
  XXXXXXXXX 
    XXXXX   
   XXXXXXX   
  XXXXXXXXX 
 XXXXXXXXXXX 
   XXXXXXX   
  XXXXXXXXX 
 XXXXXXXXXXX 
XXXXXXXXXXXXX
     OOO      ← Trunk
     OOO     

Dragon

 X             X   ← Wing tips
XX   XXXXX   XX
 X  XXXXXXX  X 
   XXX O XXX       ← Eye
   XXXXXXXXX   
  XXXXXXXXXXX 
 XXXXXXXXXXXXX 
  XX XXXXX XX 
     XXXXX     
    XX   XX   
   XX     XX   
  XXX     XXX      ← Claws

🔨 Custom Recipes

Recipe Types

TypeDescription
SHAPEDIngredients must be in specific positions
SHAPELESSAny arrangement of ingredients works

Shaped Recipe Example

recipes:
  skeleton_face:
    type: SHAPED
    pattern:
      - " S "      Row 1: Skull in middle
      - "GPG"       Row 2: Gunpowder, Paper, Gunpowder
      - " F "       Row 3: Firework Star in middle
    ingredients:
      S: SKELETON_SKULL
      G: GUNPOWDER
      P: PAPER
      F: FIREWORK_STAR
    result-amount: 3

Crafting Grid Visualization:

┌───┬───┬───┐
│   │ 💀│   │  💀 = Skeleton Skull
├───┼───┼───┤
│ 💥│ 📄│ 💥│  💥 = Gunpowder, 📄 = Paper
├───┼───┼───┤
│   │ ⭐│   │  ⭐ = Firework Star
└───┴───┴───┘
        ↓
   3× Skeleton Fireworks

Shapeless Recipe Example

recipes:
  merry_christmas:
    type: SHAPELESS
    ingredients:
      - GUNPOWDER
      - PAPER
      - RED_DYE
      - GREEN_DYE
    result-amount: 3

All Default Recipes

PatternRecipe TypeKey IngredientsAmount
skeleton_faceShapedSkeleton Skull, Gunpowder, Paper3
zombie_faceShapedZombie Head, Gunpowder, Paper3
santa_faceShapedRed Wool, White Wool, Gunpowder3
christmas_treeShapedOak Leaves, Oak Log, Gunpowder3
gift_boxShapelessRed Wool, Gold Nugget, Gunpowder3
reindeerShapedLeather, Gunpowder, Paper3
dragonShapedEnder Eye, Dragon Breath, Gunpowder1
wardenShapedSculk, Echo Shard, Gunpowder1
witherShapedWither Skull ×3, Nether Star1
villagerShapedEmerald, Gunpowder, Paper3
pillagerShapedCrossbow, Gunpowder, Paper3
wolfShapedBone, Gunpowder, Paper3
axolotlShapedTropical Fish, Gunpowder, Paper3
catShapedCod, String, Gunpowder, Paper3
endermanShapedEnder Pearl, Gunpowder, Paper3
pandaShapedBamboo, Gunpowder, Paper3
steveShapedPlayer Head, Gunpowder, Paper3
cakeShapedCake, Egg, Gunpowder, Paper3
merry_christmasShapelessRed Dye, Green Dye, Gunpowder, Paper3
happy_new_yearShapelessGold Nugget, Clock, Gunpowder, Paper3
happy_new_year_2026ShapelessGold Ingot, Clock, Gunpowder, Paper3

🔬 Technical Specifications

System Requirements

RequirementMinimumRecommended
Java Version2121+
Server SoftwarePaper 1.21.1Paper 1.21.4
RAM2GB4GB+
CPU2 cores4+ cores

API Usage

Bukkit/Paper APIUsage
PersistentDataContainerStore pattern IDs on items
NamespacedKeyUnique identifiers for PDC and recipes
Particle.DUSTColored particle display
Particle.DustOptionsRGB color configuration
Adventure APIModern text components
ShapedRecipe / ShapelessRecipeCustom crafting
FireworkExplodeEventIntercept explosions

Data Storage

Data TypeStorage Method
Pattern definitionsconfig.yml (YAML)
Item pattern IDsPDC on ItemStack
Recipe definitionsconfig.yml + Bukkit RecipeManager

Performance Metrics

ScenarioParticle CountPerformance Impact
Simple text (10 chars)~350 particlesMinimal
Complex shape (15×15)~150 particlesMinimal
Large text (50 chars)~1,750 particlesLow
Multiple simultaneousVariesMedium

Particle Calculations

Text Pattern:
- Each character = 5×7 grid = up to 35 particles
- Character spacing = 1 pixel
- Line spacing = 2 pixels
- "Hello" = 5 chars × ~25 avg = ~125 particles

Shape Pattern:
- Depends on grid size and density
- 11×11 skeleton = ~80 particles
- 13×15 tree = ~100 particles

📥 Installation Guide

Step 1: Download Download PixelWorks-1.0.0.jar from the releases page.

Step 2: Install

Navigate to your plugins folder
cd /path/to/server/plugins/

 Place the JAR file
mv ~/Downloads/PixelWorks-1.0.0.jar ./

Step 3: Start Server

 Start or restart your server
./start.sh
 or
java -jar paper-1.21.4.jar

Step 4: Verify

Check console for success message
[PixelWorks] PixelWorks has been enabled!
[PixelWorks] Loaded 22 patterns.

 In-game verification
/pw list

Step 5: Configure (Optional)

 Edit configuration
nano plugins/PixelWorks/config.yml

 Reload in-game
/pw reload

File Structure After Installation

plugins/
└── PixelWorks/
    └── config.yml    # Main configuration file

🎨 Creating Custom Patterns

Creating a Text Pattern

Method 1: Command (Quick)

/pw create my_birthday text Happy Birthday!

Method 2: Config (Full Control)

texts:
  my_birthday:
    display: "Happy Birthday!"
    color: "#FF69B4"
    secondary-color: "#FFD700"
    scale: 0.35
    max-line-width: 20
    centered: true

Creating a Shape Pattern

Step 1: Design your ASCII art

Plan on paper or text editor:

   XXX      (3 wide)
  XXXXX     (5 wide)
 XXXXXXX    (7 wide)
XXXXXXXXX   (9 wide - max width)
   XXX      (trunk)

Step 2: Add to config

shapes:
  my_tree:
    color: "#228B22"
    secondary-color: "#8B4513"
    scale: 0.4
    primary-char: "X"
    secondary-char: "O"
    centered: true
    grid:
      - "   XXX   "
      - "  XXXXX  "
      - " XXXXXXX "
      - "XXXXXXXXX"
      - "   OOO   "

Step 3: Add a recipe (optional)

recipes:
  my_tree:
    type: SHAPELESS
    ingredients:
      - GUNPOWDER
      - PAPER
      - OAK_SAPLING
    result-amount: 3

Step 4: Reload and test

/pw reload
/pw test my_tree
/pw get my_tree

Shape Design Tips

TipExplanation
Start simpleBegin with 7×7 or smaller grids
Use spacesSpaces are transparent (no particle)
Symmetry helpsCentered shapes look better
Test oftenUse /pw test to preview
Two colorsUse O for details (eyes, patterns)
Consistent widthPad lines with spaces for alignment

Multi-line Text

texts:
  server_rules:
    display: "Welcome to\\nMy Server\\nHave Fun!"
     Results in:
     Welcome to
    My Server
     Have Fun!

❓ FAQ

General Questions

Q: Does this work with Spigot?

A: PixelWorks is designed for Paper 1.21+. It may work on Spigot but is untested and unsupported.

Q: Can players grief with fireworks?

A: PixelWorks fireworks are purely visual (particles only). They don't cause damage or place blocks.

Q: Do patterns persist after server restart?

A: Yes! Pattern data is stored using PersistentDataContainer which persists across restarts.

Q: Can I use custom colors?

A: Yes! Use hex codes (#FF5500), RGB (255, 85, 0), or named colors.

Technical Questions

Q: Why don't I see the pattern?

Check:

  • Pattern ID is correct (/pw list)
  • View distance settings
  • Particle settings in video options
  • You have permission to use the firework

Q: How do I make patterns bigger?

Increase the scale value in config (e.g., 0.5 instead of 0.35)

Q: Can I disable vanilla firework explosions for all fireworks?

A: No, PixelWorks only affects its own custom fireworks. Vanilla fireworks work normally.

Q: Performance with many fireworks?

A: Each firework spawns 50-200 particles. With display-duration: 40, that's 2 seconds of particles. For large events, consider lower duration or fewer simultaneous fireworks.

Customization Questions

Q: Can I add my own shapes?

A: Yes! Add them to the shapes: section in config.yml. See "Creating Custom Patterns" above.

Q: What characters are supported for text?

A: A-Z, 0-9, and: . , ! ? - : ' # @ * / & (space)

Q: Can I use lowercase letters?

A: Letters are converted to uppercase for display. Lowercase in config works fine.

Q: Maximum text length?

A: No hard limit, but long text will wrap to multiple lines. Keep under 50 characters for best results.


📝 Changelog

Version 1.0.0 (Initial Release)

Features

  • ✅ Particle rendering engine with vector mathematics
  • ✅ Complete bitmap font (A-Z, 0-9, punctuation)
  • ✅ 18 pre-built shape patterns
  • ✅ 4 pre-built text patterns
  • ✅ Custom shaped and shapeless recipes
  • ✅ PersistentDataContainer item storage
  • ✅ Full command system with tab completion
  • ✅ Adventure API text components
  • ✅ Player-facing rotation
  • ✅ Multi-line text support
  • ✅ Dual color system (primary + secondary)
  • ✅ Configurable display duration
  • ✅ Hot reload support

Included Patterns Shapes: Skeleton, Zombie, Santa, Christmas Tree, Gift Box, Reindeer, Dragon, Warden, Wither, Villager, Pillager, Wolf, Axolotl, Cat, Enderman, Panda, Steve, Cake

Texts: Merry Christmas, Happy New Year, Happy New Year 2026,




---


**Made with ❤️ for Minecraft servers everywhere**
**

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:LicenseRef-All-Rights-Reserved
Опубликован:4 месяца назад
Обновлён:4 месяца назад
Главная