-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathguide.html
More file actions
486 lines (425 loc) · 17.9 KB
/
Copy pathguide.html
File metadata and controls
486 lines (425 loc) · 17.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MSIFvAPI V5 - Multiple Skill Items Function</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.header {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 40px;
margin-bottom: 30px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
text-align: center;
}
.title-image {
width: 100%;
max-width: 600px;
height: 300px;
background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
border-radius: 15px;
margin: 0 auto 30px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
font-weight: bold;
color: white;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
border: 3px dashed #333;
}
h1 {
font-size: 3em;
margin-bottom: 10px;
background: linear-gradient(45deg, #667eea, #764ba2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.subtitle {
font-size: 1.3em;
color: #666;
margin-bottom: 20px;
}
.download-link {
display: inline-block;
background: linear-gradient(45deg, #ff6b6b, #ee5a24);
color: white;
padding: 15px 30px;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
font-size: 1.1em;
transition: all 0.3s ease;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.download-link:hover {
transform: translateY(-3px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.content {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 40px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
h2 {
color: #667eea;
margin: 30px 0 20px 0;
font-size: 2em;
border-bottom: 3px solid #667eea;
padding-bottom: 10px;
}
h3 {
color: #764ba2;
margin: 25px 0 15px 0;
font-size: 1.5em;
}
h4 {
color: #555;
margin: 20px 0 10px 0;
font-size: 1.2em;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin: 30px 0;
}
.feature-card {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
color: white;
padding: 25px;
border-radius: 15px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
}
.feature-card h3 {
color: white;
margin-bottom: 15px;
}
.installation-steps {
background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
padding: 30px;
border-radius: 15px;
margin: 20px 0;
}
.installation-steps h3 {
color: #333;
margin-bottom: 20px;
}
.step {
background: rgba(255, 255, 255, 0.8);
padding: 15px;
margin: 10px 0;
border-radius: 10px;
border-left: 5px solid #667eea;
}
.code-block {
background: #2d3748;
color: #e2e8f0;
padding: 20px;
border-radius: 10px;
margin: 15px 0;
font-family: 'Courier New', monospace;
overflow-x: auto;
border-left: 5px solid #667eea;
}
.syntax-highlight {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 20px;
border-radius: 10px;
margin: 15px 0;
font-family: 'Courier New', monospace;
overflow-x: auto;
}
.parameter-list {
background: #f8f9fa;
padding: 20px;
border-radius: 10px;
margin: 15px 0;
border-left: 5px solid #28a745;
}
.parameter-item {
margin: 10px 0;
padding: 10px;
background: white;
border-radius: 5px;
border-left: 3px solid #667eea;
}
.parameter-name {
font-weight: bold;
color: #667eea;
}
.example-section {
background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
padding: 30px;
border-radius: 15px;
margin: 30px 0;
}
.tips-section {
background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
padding: 30px;
border-radius: 15px;
margin: 30px 0;
}
.troubleshooting {
background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
color: white;
padding: 30px;
border-radius: 15px;
margin: 30px 0;
}
.troubleshooting h3 {
color: white;
}
.emoji {
font-size: 1.5em;
margin-right: 10px;
}
ul {
padding-left: 20px;
margin: 15px 0;
}
li {
margin: 8px 0;
padding: 5px 0;
}
.highlight {
background: #fff3cd;
padding: 2px 6px;
border-radius: 4px;
font-weight: bold;
}
@media (max-width: 768px) {
.container {
padding: 10px;
}
h1 {
font-size: 2em;
}
.header {
padding: 20px;
}
.content {
padding: 20px;
}
.feature-grid {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<div class="title-image">
<img src="pack_icon.png" width="95%" height="85%">
</div>
<h1>MSIFvAPI V5</h1>
<p class="subtitle">Multiple Skill Items Function</p>
<a href="https://www.curseforge.com/minecraft-bedrock/addons/msifvapi-v5" class="download-link">[DOWNLOAD]</a>
</div>
<div class="content">
<h2><span class="emoji">📖</span>Overview</h2>
<p>MSIFvAPI V5 is a powerful Minecraft addon that brings advanced skill systems to your items and armor. This version introduces expanded functionality for offhand items, armor pieces, and complete armor sets, making your gameplay more dynamic and strategic.</p>
<h2><span class="emoji">🆕</span>What's New in Version 5</h2>
<div class="feature-grid">
<div class="feature-card">
<h3>Enhanced Offhand Support</h3>
<p>Skills can now be applied to offhand items with dedicated interaction controls</p>
</div>
<div class="feature-card">
<h3>Armor Piece Skills</h3>
<p>Individual armor pieces can have their own unique skills</p>
</div>
<div class="feature-card">
<h3>Armor Set Bonuses</h3>
<p>Complete armor sets (1-4 pieces) unlock powerful set-based skills</p>
</div>
<div class="feature-card">
<h3>Improved UI</h3>
<p>JSON UI buttons for easy skill activation and management</p>
</div>
</div>
<h2><span class="emoji">🚀</span>Installation</h2>
<div class="installation-steps">
<h3>Super Easy Setup!</h3>
<div class="step">
<strong>Step 1:</strong> Download the MSIFvAPI V5 addon file
</div>
<div class="step">
<strong>Step 2:</strong> Import it into your Minecraft world
</div>
<div class="step">
<strong>Step 3:</strong> You're ready to go - no additional configuration needed!
</div>
</div>
<h2><span class="emoji">📝</span>Adding Skills to Items</h2>
<h3>Basic Setup</h3>
<p>To add skills to any item, create a JSON file for your item and add the appropriate tags. All skill tags use a simple format that's easy to customize.</p>
<h3>Tag Structure</h3>
<h4>Armor Set Tags</h4>
<div class="syntax-highlight">
armorSet:<armorSetName>
</div>
<div class="parameter-list">
<div class="parameter-item">
<span class="parameter-name">armorSetName:</span> String identifier for your armor set
</div>
<div class="parameter-item">
Add this tag to any armor piece to make it part of a set
</div>
<div class="parameter-item">
Use with <code>MSIF:armorSet:</code> to create set bonuses
</div>
</div>
<h4>MSIF Skill Tags</h4>
<p>All skill parameters for one skill must be combined into a single MSIF tag, separated by colons:</p>
<div class="syntax-highlight">
MSIF:function:<functionName>:skillName:<skillName>:cooldown:<cooldownGroup>:dName:<displayName>:<cooldownTime>:armorSet:<setName>:<functionName>:<parts>:icon:<x>-<z>-<page>
</div>
<div class="parameter-list">
<div class="parameter-item">
<span class="parameter-name">function:<functionName></span> - String name of the skill function to execute
</div>
<div class="parameter-item">
<span class="parameter-name">skillName:<skillName></span> - Display text shown when changing skills
<ul>
<li>Use underscores <code>_</code> for spaces</li>
<li>Use <code>_p</code> for Minecraft formatting codes (§)</li>
<li>Example: <code>_pcSuper_Fireball</code> displays as "§cSuper Fireball"</li>
</ul>
</div>
<div class="parameter-item">
<span class="parameter-name">cooldown:<cooldownGroup>:dName:<displayName>:<cooldownTime></span>
<ul>
<li><strong>cooldownGroup:</strong> String ID to group cooldowns across different items</li>
<li><strong>displayName:</strong> Custom name shown during cooldown (same formatting as skillName)</li>
<li><strong>cooldownTime:</strong> Time in subticks (10 subticks = 1 second)</li>
</ul>
</div>
<div class="parameter-item">
<span class="parameter-name">armorSet:<setName>:<functionName>:<parts></span>
<ul>
<li><strong>setName:</strong> Name of armor set to check for (must match <code>armorSet:</code> tag)</li>
<li><strong>functionName:</strong> Function to execute when set bonus is active</li>
<li><strong>parts:</strong> Number of armor pieces required (1-4)</li>
</ul>
</div>
<div class="parameter-item">
<span class="parameter-name">icon:<x>-<z>-<page></span> - Icon coordinates and texture page
</div>
</div>
<h2><span class="emoji">🎮</span>Using Skills</h2>
<h3>Offhand Items</h3>
<ul>
<li>Use the <strong>Interact Offhand</strong> button to activate offhand item skills</li>
<li>When your main hand is empty, you can change the active skill in your offhand item</li>
<li>Perfect for quick access to utility skills or emergency abilities</li>
</ul>
<h3>Armor Skills</h3>
<ul>
<li>Individual armor pieces provide passive or active skills</li>
<li>Complete armor sets unlock powerful bonus abilities</li>
<li>Set bonuses scale with the number of pieces worn (1-4 pieces)</li>
</ul>
<h3>UI Controls</h3>
<ul>
<li>JSON UI buttons appear on screen for easy skill activation</li>
<li>Clean, intuitive interface for managing multiple skills</li>
<li>Responsive design that works across different screen sizes</li>
</ul>
<h2><span class="emoji">🔧</span>Customization</h2>
<h3>UI Positioning</h3>
<p>If the UI buttons don't appear in the right place on your screen:</p>
<ol>
<li>Navigate to <code>custom_buttons/buttons.json</code></li>
<li>Adjust the position values to fit your screen layout</li>
<li>Save and reload to see changes</li>
</ol>
<div class="example-section">
<h3>Example Item Configuration</h3>
<div class="code-block">
{
"item_name": "Fire Sword",
"tags": [
"MSIF:function:fireball:skillName:_pcSuper_Fireball:cooldown:fireSkills:dName:_pcFire_Skills:30:armorSet:dragonSet:dragonPower:4:icon:12-5-3"
]
}
</div>
<div class="code-block">
{
"armor_piece": "Dragon Helmet",
"tags": [
"armorSet:dragonSet",
"MSIF:function:dragonSight:skillName:Dragon_Vision:cooldown:dragonSkills:dName:Dragon_Abilities:25:icon:8-3-1"
]
}
</div>
<h4>Breaking Down the Fire Sword Example:</h4>
<ul>
<li><strong>Function:</strong> <code>fireball</code> - executes the fireball skill</li>
<li><strong>Skill Name:</strong> <code>_pcSuper_Fireball</code> - displays as "§cSuper Fireball"</li>
<li><strong>Cooldown:</strong> <code>fireSkills</code> group with display name <code>_pcFire_Skills</code> and 30 subticks (3 seconds)</li>
<li><strong>Armor Set:</strong> Requires 4 pieces of <code>dragonSet</code> to activate <code>dragonPower</code> function</li>
<li><strong>Icon:</strong> Located at coordinates 12-5 on texture page 3</li>
</ul>
</div>
<h2><span class="emoji">🛠️</span>Technical Details</h2>
<ul>
<li><strong>Cooldown System:</strong> Subtick-based timing (10 subticks = 1 second)</li>
<li><strong>Armor Set Detection:</strong> Automatic scanning of equipped armor pieces</li>
<li><strong>Skill Grouping:</strong> Multiple skills can share cooldown groups for balanced gameplay</li>
<li><strong>Flexible Syntax:</strong> MSIF tags have no strict parameter order - mix and match as needed</li>
</ul>
<div class="tips-section">
<h2><span class="emoji">💡</span>Tips for Creators</h2>
<ol>
<li><strong>Cooldown Groups:</strong> Use meaningful names for cooldown groups to avoid conflicts</li>
<li><strong>Skill Names:</strong> Keep display names concise but descriptive, use <code>_p</code> for color codes</li>
<li><strong>Single Tag Rule:</strong> All skill parameters must be in one MSIF tag - don't split them across multiple tags</li>
<li><strong>Armor Sets:</strong> Design sets with meaningful progression (1-piece bonus → 4-piece bonus)</li>
<li><strong>Testing:</strong> Always test your skills in different scenarios (offhand, main hand, armor combinations)</li>
</ol>
</div>
<div class="troubleshooting">
<h2><span class="emoji">🐛</span>Troubleshooting</h2>
<ul>
<li><strong>UI Not Showing:</strong> Check <code>custom_buttons/buttons.json</code> for position settings</li>
<li><strong>Skills Not Working:</strong> Verify tag syntax and function names</li>
<li><strong>Cooldowns Not Syncing:</strong> Ensure cooldown group names match exactly across items</li>
</ul>
</div>
<hr style="margin: 40px 0; border: none; height: 2px; background: linear-gradient(45deg, #667eea, #764ba2);">
<p style="text-align: center; font-style: italic; color: #666; font-size: 1.1em;">
<em>MSIFvAPI V5 makes creating skilled items and armor easier than ever. With its flexible tag system and powerful armor set mechanics, you can create complex, engaging gameplay experiences with minimal effort.</em>
</p>
</div>
</div>
</body>
</html>