dfpyre 0.4.6__py3-none-any.whl → 0.8.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of dfpyre might be problematic. Click here for more details.
- dfpyre/actiondump.py +77 -0
- dfpyre/data/actiondump_min.json +1 -0
- dfpyre/items.py +218 -183
- dfpyre/pyre.py +466 -350
- dfpyre/scriptgen.py +193 -0
- dfpyre/style.py +14 -14
- dfpyre/util.py +39 -0
- {dfpyre-0.4.6.dist-info → dfpyre-0.8.1.dist-info}/LICENSE +1 -1
- dfpyre-0.8.1.dist-info/METADATA +514 -0
- dfpyre-0.8.1.dist-info/RECORD +12 -0
- dfpyre/data/data.json +0 -1
- dfpyre-0.4.6.dist-info/METADATA +0 -474
- dfpyre-0.4.6.dist-info/RECORD +0 -9
- {dfpyre-0.4.6.dist-info → dfpyre-0.8.1.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: dfpyre
|
|
3
|
+
Version: 0.8.1
|
|
4
|
+
Summary: A package for creating and modifying code templates for the DiamondFire Minecraft server.
|
|
5
|
+
Home-page: https://github.com/Amp63/pyre
|
|
6
|
+
License: MIT
|
|
7
|
+
Keywords: diamondfire,minecraft,template,item
|
|
8
|
+
Author: Amp
|
|
9
|
+
Requires-Python: >=3.10,<4.0
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Requires-Dist: mcitemlib (>=0.3.4,<0.4.0)
|
|
16
|
+
Project-URL: Repository, https://github.com/Amp63/pyre
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
|
|
19
|
+
# pyre
|
|
20
|
+
|
|
21
|
+
A package for external creation of code templates for the DiamondFire Minecraft server (mcDiamondFire.com).
|
|
22
|
+
|
|
23
|
+
PyPi Link: https://pypi.org/project/dfpyre/
|
|
24
|
+
|
|
25
|
+
## Installation
|
|
26
|
+
|
|
27
|
+
Run the following command in a terminal:
|
|
28
|
+
```
|
|
29
|
+
pip install dfpyre
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### CodeClient Installation
|
|
34
|
+
|
|
35
|
+
This module works best with [CodeClient](https://modrinth.com/mod/codeclient) installed. Once you've installed it, enable `CodeClient API` in the General config tab.
|
|
36
|
+
|
|
37
|
+
## Features
|
|
38
|
+
- All code block types
|
|
39
|
+
- All code item types
|
|
40
|
+
- Direct sending to DF via recode or codeclient
|
|
41
|
+
- Automatic type conversion (int to num, str to text)
|
|
42
|
+
- Warnings for unrecognized actions and tags
|
|
43
|
+
- Full tag support
|
|
44
|
+
|
|
45
|
+
## Documentation
|
|
46
|
+
## Basics
|
|
47
|
+
|
|
48
|
+
- [Setting up a program](#setup)
|
|
49
|
+
- [Events and Actions](#events-and-actions)
|
|
50
|
+
- [Building](#building)
|
|
51
|
+
|
|
52
|
+
## Var Items
|
|
53
|
+
|
|
54
|
+
- [Text](#text)
|
|
55
|
+
- [Number](#number)
|
|
56
|
+
- [Variable](#variable)
|
|
57
|
+
- [Location](#location)
|
|
58
|
+
- [Item](#item)
|
|
59
|
+
- [Sound](#sound)
|
|
60
|
+
- [Particle](#particle)
|
|
61
|
+
- [Potion](#potion)
|
|
62
|
+
- [Game Value](#game-value)
|
|
63
|
+
- [Vector](#vector)
|
|
64
|
+
- [Parameter](#parameter)
|
|
65
|
+
|
|
66
|
+
## Conditionals and Loops
|
|
67
|
+
|
|
68
|
+
- [Conditionals and Brackets](#conditionals-and-brackets)
|
|
69
|
+
- [Loops](#loops)
|
|
70
|
+
|
|
71
|
+
## Functions and Procedures
|
|
72
|
+
|
|
73
|
+
- [Creating Functions and Processes](#creating-functions-and-processes)
|
|
74
|
+
- [Calling Functions and Processes](#calling-functions-and-processes)
|
|
75
|
+
|
|
76
|
+
## Extras
|
|
77
|
+
|
|
78
|
+
- [Editing Tags](#editing-tags)
|
|
79
|
+
- [Importing from Code](#importing-from-code)
|
|
80
|
+
- [Script Generation](#script-generation)
|
|
81
|
+
- [Function List](#function-list)
|
|
82
|
+
|
|
83
|
+
___
|
|
84
|
+
|
|
85
|
+
## Setup
|
|
86
|
+
|
|
87
|
+
To start creating in pyre, use the `player_event`, `entity_event`, `function`, or `process` functions to start a template.
|
|
88
|
+
|
|
89
|
+
```py
|
|
90
|
+
from dfpyre import *
|
|
91
|
+
|
|
92
|
+
template = player_event('Join', [
|
|
93
|
+
|
|
94
|
+
])
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
You can then insert additional codeblocks inside of that first function call.
|
|
98
|
+
|
|
99
|
+
Here's a complete program that prints a message to every player when a player joins:
|
|
100
|
+
|
|
101
|
+
```py
|
|
102
|
+
from dfpyre import *
|
|
103
|
+
|
|
104
|
+
player_event('Join', [
|
|
105
|
+
player_action('SendMessage', '%default has joined!', target=Target.ALL_PLAYERS)
|
|
106
|
+
]).build_and_send('codeclient')
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Events and Actions
|
|
110
|
+
|
|
111
|
+
You can find a list of events and actions [here](#function-list)
|
|
112
|
+
|
|
113
|
+
The following program sends a message to all players and gives a player 10 apples upon joining:
|
|
114
|
+
|
|
115
|
+
```py
|
|
116
|
+
from dfpyre import *
|
|
117
|
+
|
|
118
|
+
player_event('Join', [
|
|
119
|
+
player_action('SendMessage', '%default has joined!', target=Target.ALL_PLAYERS)
|
|
120
|
+
player_action('GiveItems', Item('apple', 10))
|
|
121
|
+
]).build_and_send('codeclient')
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## Building
|
|
125
|
+
|
|
126
|
+
You have 2 different options for building your code line.
|
|
127
|
+
You can either:
|
|
128
|
+
|
|
129
|
+
1. Save the compressed template code to a variable and send it to minecraft later
|
|
130
|
+
- Use the `build` method on a template object
|
|
131
|
+
2. Build and send directly to your minecraft client (recommended)
|
|
132
|
+
- Use the `build_and_send` method on a template object
|
|
133
|
+
|
|
134
|
+
## Variable Items
|
|
135
|
+
|
|
136
|
+
### Text
|
|
137
|
+
|
|
138
|
+
Represents a DiamondFire text item:
|
|
139
|
+
|
|
140
|
+
```py
|
|
141
|
+
Text('hello %default.')
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
If a regular string is passed to a method as a chest parameter, it will automatically be converted to a text object:
|
|
145
|
+
|
|
146
|
+
```py
|
|
147
|
+
# These do the same thing:
|
|
148
|
+
player_action('SendMessage', Text('%default joined.'))
|
|
149
|
+
player_action('SendMessage', '%default joined.')
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Number
|
|
153
|
+
|
|
154
|
+
Alias: `Num`
|
|
155
|
+
|
|
156
|
+
Represents a DiamondFire number item:
|
|
157
|
+
|
|
158
|
+
```py
|
|
159
|
+
Number(5)
|
|
160
|
+
Number(3.14)
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
If a regular integer or float is passed to a method as a chest parameter, it will automatically be converted to a num object:
|
|
164
|
+
|
|
165
|
+
```py
|
|
166
|
+
# These do the same thing:
|
|
167
|
+
set_variable('=', Variable('number'), Number(10))
|
|
168
|
+
set_variable('=', Variable('number'), 10)
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### Variable
|
|
172
|
+
|
|
173
|
+
Alias: `Var`
|
|
174
|
+
|
|
175
|
+
Represents a DiamondFire variable item:
|
|
176
|
+
|
|
177
|
+
```py
|
|
178
|
+
Variable('num')
|
|
179
|
+
Variable('text1')
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
You can set variable values by using the `set_variable` method:
|
|
183
|
+
|
|
184
|
+
```py
|
|
185
|
+
set_variable('=', Variable('num'), 12) # sets 'num' to 12
|
|
186
|
+
set_variable('x', Variable('doubled'), Variable('num'), 2) # sets 'doubled' to 24
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
You can set the scope of the variable using the `scope` argument:
|
|
190
|
+
|
|
191
|
+
```py
|
|
192
|
+
set_variable('=', Variable('num1', scope='unsaved'), 12) # `unsaved` is the same as a game variable.
|
|
193
|
+
set_variable('=', Variable('num2', scope='saved'), 12)
|
|
194
|
+
set_variable('=', Variable('num3', scope='local'), 12)
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
#### Shorthand Variables
|
|
198
|
+
|
|
199
|
+
You can also use the variable shorthand format to express variables more tersely:
|
|
200
|
+
```py
|
|
201
|
+
# These do the same thing:
|
|
202
|
+
set_variable('=', Variable('lineVar', scope='line'), 5)
|
|
203
|
+
set_variable('=', '$i lineVar', 5)
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
Shorthand vars should be formatted like this: `$[scope id] [var name]`
|
|
207
|
+
|
|
208
|
+
Here's the list of scope IDs:
|
|
209
|
+
- `g` = Game (unsaved)
|
|
210
|
+
- `s` = Saved
|
|
211
|
+
- `l` = Local
|
|
212
|
+
- `i` = Line
|
|
213
|
+
|
|
214
|
+
### Location
|
|
215
|
+
|
|
216
|
+
Alias: `Loc`
|
|
217
|
+
|
|
218
|
+
Represents a DiamondFire location item:
|
|
219
|
+
|
|
220
|
+
```py
|
|
221
|
+
Location(x=25.5, y=50, z=25.5, pitch=0, yaw=-90)
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
Example:
|
|
225
|
+
|
|
226
|
+
```py
|
|
227
|
+
# Teleport player on join
|
|
228
|
+
from dfpyre import *
|
|
229
|
+
|
|
230
|
+
player_event('Join', [
|
|
231
|
+
player_action('Teleport', Location(10, 50, 10))
|
|
232
|
+
])
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
### Item
|
|
236
|
+
|
|
237
|
+
Represents a minecraft item:
|
|
238
|
+
|
|
239
|
+
```py
|
|
240
|
+
Item('stick', count=5)
|
|
241
|
+
Item('stone', 64)
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
To add extra data to an item, you can use any methods from the [mcitemlib](https://github.com/Amp63/mcitemlib) library
|
|
245
|
+
|
|
246
|
+
### Sound
|
|
247
|
+
|
|
248
|
+
Alias: `Snd`
|
|
249
|
+
|
|
250
|
+
Represents a DiamondFire sound item:
|
|
251
|
+
|
|
252
|
+
```py
|
|
253
|
+
Sound('Wood Break', pitch=1.5, vol=2.0)
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
Example:
|
|
257
|
+
|
|
258
|
+
```py
|
|
259
|
+
# Plays 'Grass Place' sound on join
|
|
260
|
+
from dfpyre import *
|
|
261
|
+
|
|
262
|
+
player_event('Join', [
|
|
263
|
+
player_action('PlaySound', Sound('Grass Place'))
|
|
264
|
+
])
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
### Particle
|
|
268
|
+
|
|
269
|
+
Represents a DiamondFire particle item:
|
|
270
|
+
|
|
271
|
+
```py
|
|
272
|
+
Particle({'particle':'Cloud','cluster':{'amount':1,'horizontal':0.0,'vertical':0.0},'data':{'x':1.0,'y':0.0,'z':0.0,'motionVariation':100}})
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
Example:
|
|
276
|
+
|
|
277
|
+
```py
|
|
278
|
+
# Plays a white cloud particle effect at 5, 50, 5
|
|
279
|
+
from dfpyre import *
|
|
280
|
+
|
|
281
|
+
part = Particle({'particle':'Cloud','cluster':{'amount':1,'horizontal':0.0,'vertical':0.0},'data':{'x':1.0,'y':0.0,'z':0.0,'motionVariation':100}})
|
|
282
|
+
player_event('Join', [
|
|
283
|
+
player_action('Particle', part, Location(5, 50, 5))
|
|
284
|
+
])
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
Currently, the particle object does not support colors.
|
|
288
|
+
|
|
289
|
+
### Potion
|
|
290
|
+
|
|
291
|
+
Alias: `Pot`
|
|
292
|
+
|
|
293
|
+
Represents a DiamondFire potion item:
|
|
294
|
+
|
|
295
|
+
```py
|
|
296
|
+
# Gives speed 1 for 1 minute
|
|
297
|
+
Potion('Speed', dur=1200, amp=0)
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
Example:
|
|
301
|
+
|
|
302
|
+
```py
|
|
303
|
+
# Gives the player infinite saturation 10
|
|
304
|
+
from dfpyre import *
|
|
305
|
+
|
|
306
|
+
player_event('Join', [
|
|
307
|
+
player_action('GivePotion', Potion('Saturation', amp=10))
|
|
308
|
+
])
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
### Game Value
|
|
312
|
+
|
|
313
|
+
Represents a DiamondFire game value item:
|
|
314
|
+
|
|
315
|
+
```py
|
|
316
|
+
GameValue('Player Count')
|
|
317
|
+
GameValue('Location' target='Selection')
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
Example:
|
|
321
|
+
|
|
322
|
+
```py
|
|
323
|
+
# Function that prints player count and CPU usage
|
|
324
|
+
from dfpyre import *
|
|
325
|
+
|
|
326
|
+
function('printData', [
|
|
327
|
+
player_action('SendMessage', GameValue('Player Count'), GameValue('CPU Usage'))
|
|
328
|
+
])
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
### Vector
|
|
332
|
+
|
|
333
|
+
Alias: `Vec`
|
|
334
|
+
|
|
335
|
+
Represents a DiamondFire vector item:
|
|
336
|
+
|
|
337
|
+
```py
|
|
338
|
+
Vector(x=1.1, y=0.0, z=0.5)
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
Example:
|
|
342
|
+
|
|
343
|
+
```py
|
|
344
|
+
# Sets the player's x velocity to 1.0 on join
|
|
345
|
+
from dfpyre import *
|
|
346
|
+
|
|
347
|
+
player_event('Join', [
|
|
348
|
+
player_action('SetVelocity', Vector(x=1.0, y=0.0, z=0.0))
|
|
349
|
+
])
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
### Parameter
|
|
353
|
+
|
|
354
|
+
Represents a DiamondFire parameter item:
|
|
355
|
+
|
|
356
|
+
```py
|
|
357
|
+
Parameter('text', ParameterType.STRING)
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
Example:
|
|
361
|
+
|
|
362
|
+
```py
|
|
363
|
+
# Builds a function that says "Hello, [name]" where `name` is the inputted parameter.
|
|
364
|
+
from dfpyre import *
|
|
365
|
+
|
|
366
|
+
name_parameter = parameter('name', ParameterType.TEXT)
|
|
367
|
+
function('SayHi', name_parameter codeblocks=[
|
|
368
|
+
player_action('SendMessage', 'Hello, ', Variable('name', 'line'))
|
|
369
|
+
])
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
### Conditionals and Brackets
|
|
373
|
+
|
|
374
|
+
A list of conditionals and loops can be found [here](#function-list).
|
|
375
|
+
|
|
376
|
+
To create code inside of brackets, use the `codeblocks` argument. Here's an example:
|
|
377
|
+
|
|
378
|
+
```py
|
|
379
|
+
# Prints 'clicked' when a player right clicks with a stick in their hand
|
|
380
|
+
from dfpyre import *
|
|
381
|
+
|
|
382
|
+
player_event('RightClick', [
|
|
383
|
+
if_player('IsHolding', Item('stick'), codeblocks=[
|
|
384
|
+
player_action('SendMessage', 'clicked')
|
|
385
|
+
])
|
|
386
|
+
])
|
|
387
|
+
```
|
|
388
|
+
|
|
389
|
+
To create an `else` statement, use the `else_` method:
|
|
390
|
+
|
|
391
|
+
```py
|
|
392
|
+
# Says the player is 'on the ground' when grounded and 'in the air' otherwise.
|
|
393
|
+
from dfpyre import *
|
|
394
|
+
|
|
395
|
+
function('grounded', codeblocks=[
|
|
396
|
+
if_player('IsGrounded', codeblocks=[
|
|
397
|
+
player_action('ActionBar', 'on the ground')
|
|
398
|
+
]),
|
|
399
|
+
else_([
|
|
400
|
+
player_action('ActionBar', 'in the air')
|
|
401
|
+
])
|
|
402
|
+
])
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
Note that `player_event`, `entity_event`, and `else_` do not require `codeblocks=`, but all other bracket blocks do.
|
|
406
|
+
|
|
407
|
+
### Loops
|
|
408
|
+
|
|
409
|
+
As for loops, the syntax is the same and will automatically change to "repeat-type" brackets:
|
|
410
|
+
|
|
411
|
+
```py
|
|
412
|
+
# Prints numbers 1-5
|
|
413
|
+
from dfpyre import *
|
|
414
|
+
|
|
415
|
+
player_event('Join', [
|
|
416
|
+
repeat('Multiple', Variable('i'), 5, codeblocks=[
|
|
417
|
+
player_action('SendMessage', Variable('i'))
|
|
418
|
+
])
|
|
419
|
+
])
|
|
420
|
+
```
|
|
421
|
+
|
|
422
|
+
### Creating Functions and Processes
|
|
423
|
+
|
|
424
|
+
To create a function or process, just start the template with `function` or `process`:
|
|
425
|
+
|
|
426
|
+
```py
|
|
427
|
+
# Function that gives a player 64 golden apples
|
|
428
|
+
from dfpyre import *
|
|
429
|
+
|
|
430
|
+
function('giveApples', codeblocks=[
|
|
431
|
+
player_action('GiveItems', Item('golden_apple', 64))
|
|
432
|
+
])
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
### Calling Functions and Processes
|
|
436
|
+
|
|
437
|
+
Calling Functions and processes is also simple:
|
|
438
|
+
|
|
439
|
+
```py
|
|
440
|
+
from dfpyre import *
|
|
441
|
+
|
|
442
|
+
player_event('Join', [
|
|
443
|
+
call_function('giveApples')
|
|
444
|
+
])
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
### Editing Tags
|
|
448
|
+
You can modify an action's tags by passing the `tags` argument to a template method:
|
|
449
|
+
|
|
450
|
+
```py
|
|
451
|
+
from dfpyre import *
|
|
452
|
+
|
|
453
|
+
player_event('Join', [
|
|
454
|
+
player_action('SendMessage', 'hello', tags={'Alignment Mode': 'Centered'})
|
|
455
|
+
])
|
|
456
|
+
```
|
|
457
|
+
|
|
458
|
+
If you choose not to modify a specific tag, its default value will be used.
|
|
459
|
+
Order does not matter when adding multiple tag entries.
|
|
460
|
+
|
|
461
|
+
### Importing from Code
|
|
462
|
+
|
|
463
|
+
You can import existing templates from their built code using the `from_code` method:
|
|
464
|
+
|
|
465
|
+
```py
|
|
466
|
+
from dfpyre import *
|
|
467
|
+
|
|
468
|
+
template_code = 'H4sIAGVyIGYC/3WOMQ7CMAxFz4LnDsw5AhITI6qQSaw2IrGrxkJCVe5eh3boAJP9n/Kfs8AziX8VcPcFYgC3Zej26YDexGoZvUZhAxeJ3PI8WMtKSrnV+1q7P4op4Yfmx244qG7E4Uql4EA/jNv2Jc3qJU/2KqBiY4yZjI6UkpzAjkNJouDO1X7S1xUDaGUl2QAAAA=='
|
|
469
|
+
t = DFTemplate.from_code(template_code)
|
|
470
|
+
# Do stuff with the template here
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
### Script Generation
|
|
475
|
+
|
|
476
|
+
You can also generate an equivalent Python script for a template from a template object:
|
|
477
|
+
|
|
478
|
+
```py
|
|
479
|
+
from dfpyre import *
|
|
480
|
+
|
|
481
|
+
template_code = 'H4sIAGVyIGYC/3WOMQ7CMAxFz4LnDsw5AhITI6qQSaw2IrGrxkJCVe5eh3boAJP9n/Kfs8AziX8VcPcFYgC3Zej26YDexGoZvUZhAxeJ3PI8WMtKSrnV+1q7P4op4Yfmx244qG7E4Uql4EA/jNv2Jc3qJU/2KqBiY4yZjI6UkpzAjkNJouDO1X7S1xUDaGUl2QAAAA=='
|
|
482
|
+
t = DFTemplate.from_code(template_code)
|
|
483
|
+
t.generate_script('my_template.py') # generated python script will be written to my_template.py
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
This feature is useful for getting a text representation of existing templates.
|
|
487
|
+
|
|
488
|
+
### Function List
|
|
489
|
+
|
|
490
|
+
- **Events / Function / Process**
|
|
491
|
+
- player_event
|
|
492
|
+
- entity_event
|
|
493
|
+
- function
|
|
494
|
+
- process
|
|
495
|
+
- call_function
|
|
496
|
+
- start_process
|
|
497
|
+
|
|
498
|
+
- **Actions**
|
|
499
|
+
- player_action
|
|
500
|
+
- game_action
|
|
501
|
+
- entity_action
|
|
502
|
+
|
|
503
|
+
- **Conditionals / Loops**
|
|
504
|
+
- if_player
|
|
505
|
+
- if_variable
|
|
506
|
+
- if_game
|
|
507
|
+
- if_entity
|
|
508
|
+
- else_
|
|
509
|
+
- repeat
|
|
510
|
+
|
|
511
|
+
- **Other**
|
|
512
|
+
- control
|
|
513
|
+
- select_object
|
|
514
|
+
- set_variable
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
dfpyre/__init__.py,sha256=apPsSxJ1Tztfl71MoORoSmDfX7LyKLYlLwOGeLQUitw,25
|
|
2
|
+
dfpyre/actiondump.py,sha256=MVI1kVJBNpab882Tgqo-xtemiBN2W1_2OcopBcRupWQ,2587
|
|
3
|
+
dfpyre/data/actiondump_min.json,sha256=hFcIbG_G55FWwqRSW6X77ZrKkQiXLs4CGgJrZgyR2Gg,1938799
|
|
4
|
+
dfpyre/items.py,sha256=fNcgX6oHc8F65Aj6TCC8BE0XhGsOmrLnPVcSZB3oPB0,11662
|
|
5
|
+
dfpyre/pyre.py,sha256=1ifP-zargmtVf81nlRvKg-RZF6UluboXVM7CZnkWTYs,24277
|
|
6
|
+
dfpyre/scriptgen.py,sha256=X0GeH3DYJXXuXEF3Jj5joBu-MC94L2oswGCU1IlhToQ,7589
|
|
7
|
+
dfpyre/style.py,sha256=mLW1CFvvi8_9fk8JaH10I5S4WI0YBdQIXHtI3G_4sR8,980
|
|
8
|
+
dfpyre/util.py,sha256=EpX4XGwwX0A9MlObuQTEuHj4Q-55wj29m8am8ULPmz8,791
|
|
9
|
+
dfpyre-0.8.1.dist-info/LICENSE,sha256=_vuDskB0ja2c-Fgm7Gt8Q8cO9NsLNpZAVyvmZwX7E6o,1060
|
|
10
|
+
dfpyre-0.8.1.dist-info/METADATA,sha256=_YJiYPL9ziaWRnyFx5DYzT6z_reToUGkXNmGJOSK1EA,11333
|
|
11
|
+
dfpyre-0.8.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
12
|
+
dfpyre-0.8.1.dist-info/RECORD,,
|
dfpyre/data/data.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"meta":{"version":"4.1.0","df_patch":"6.1","updated":"2024/1/2"},"player_action":{"GiveItems":[],"SetHotbar":[],"SetInventory":[],"SetSlotItem":[],"SetEquipment":[{"option":"Main hand","tag":"Equipment Slot","slot":26}],"SetArmor":[],"ReplaceItems":[],"RemoveItems":[],"ClearItems":[],"ClearInv":[{"option":"True","tag":"Clear Crafting and Cursor","slot":25},{"option":"Entire inventory","tag":"Clear Mode","slot":26}],"SetCursorItem":[],"SaveInv":[],"LoadInv":[],"SetItemCooldown":[],"SendMessage":[{"option":"True","tag":"Inherit Styles","slot":24},{"option":"Add spaces","tag":"Text Value Merging","slot":25},{"option":"Regular","tag":"Alignment Mode","slot":26}],"SendMessageSeq":[{"option":"Regular","tag":"Alignment Mode","slot":26}],"SendTitle":[],"ActionBar":[{"option":"True","tag":"Inherit Styles","slot":25},{"option":"No spaces","tag":"Text Value Merging","slot":26}],"OpenBook":[]," SetBossBar ":[{"option":"None","tag":"Sky Effect","slot":24},{"option":"Solid","tag":"Bar Style","slot":25},{"option":"Purple","tag":"Bar Color","slot":26}]," RemoveBossBar ":[],"SendAdvancement":[{"option":"Advancement","tag":"Toast Type","slot":26}],"SetTabListInfo":[{"option":"True","tag":"Inherit Styles","slot":24},{"option":"No spaces","tag":"Text Value Merging","slot":25},{"option":"Header","tag":"Player List Field","slot":26}],"PlaySound":[{"option":"Master","tag":"Sound Source","slot":26}],"StopSound":[{"option":"Master","tag":"Sound Source","slot":26}],"PlaySoundSeq":[{"option":"Master","tag":"Sound Source","slot":26}],"PlayEntitySound":[{"option":"True","tag":"Ignore Formatting","slot":25},{"option":"Master","tag":"Sound Source","slot":26}],"ShowInv":[],"ExpandInv":[],"SetMenuItem":[]," SetInvName ":[],"AddInvRow":[{"option":"Bottom row","tag":"New Row Position","slot":26}],"RemoveInvRow":[{"option":"Bottom row","tag":"Row to Remove","slot":26}],"CloseInv":[],"OpenBlockInv":[],"SetScoreObj":[],"SetSidebar":[{"option":"Enable","tag":"Sidebar","slot":26}],"SetScore":[],"RemoveScore":[],"ClearScoreboard":[],"Damage":[{"option":"True","tag":"Ignore Formatting","slot":26}],"Heal":[],"SetHealth":[],"SetMaxHealth":[{"option":"False","tag":"Heal Player to Max Health","slot":26}],"SetAbsorption":[],"SetFoodLevel":[],"GiveFood":[],"SetSaturation":[],"GiveSaturation":[],"GiveExp":[{"option":"Points","tag":"Give Experience","slot":26}],"SetExp":[{"option":"Level","tag":"Set Experience","slot":26}],"GivePotion":[{"option":"True","tag":"Show Icon","slot":24},{"option":"True","tag":"Overwrite Effect","slot":25},{"option":"Regular","tag":"Effect Particles","slot":26}],"RemovePotion":[],"ClearPotions":[],"SetSlot":[],"SetAtkSpeed":[],"SetFireTicks":[],"SetFreezeTicks":[{"option":"Disable","tag":"Ticking Locked","slot":26}],"SetAirTicks":[],"SetInvulTicks":[],"SetFallDistance":[],"SetSpeed":[{"option":"Ground speed","tag":"Speed Type","slot":26}],"SurvivalMode":[],"AdventureMode":[],"CreativeMode":[],"SpectatorMode":[],"SetAllowFlight":[{"option":"Enable","tag":"Allow Flight","slot":26}],"SetAllowPVP":[{"option":"Disable","tag":"PVP","slot":26}],"SetDropsEnabled":[{"option":"Enable","tag":"Spawn Death Drops","slot":26}],"SetInventoryKept":[{"option":"Enable","tag":"Inventory Kept","slot":26}],"SetCollidable":[{"option":"Disable","tag":"Collision","slot":26}],"EnableBlocks":[],"DisableBlocks":[],"InstantRespawn":[{"option":"Enable","tag":"Instant Respawn","slot":26}],"SetReducedDebug":[{"option":"True","tag":"Reduced Debug Info Enabled","slot":26}],"SetHandCrafting":[{"option":"Disable","tag":"Allow Hand Crafting","slot":26}],"Teleport":[{"option":"False","tag":"Keep Velocity","slot":25},{"option":"False","tag":"Keep Current Rotation","slot":26}],"LaunchUp":[{"option":"True","tag":"Add to Current Velocity","slot":26}],"LaunchFwd":[{"option":"True","tag":"Add to Current Velocity","slot":25},{"option":"Pitch and Yaw","tag":"Launch Axis","slot":26}],"LaunchToward":[{"option":"True","tag":"Add to Current Velocity","slot":25},{"option":"False","tag":"Ignore Distance","slot":26}],"RideEntity":[{"option":"True","tag":"Ignore Formatting","slot":26}],"SetFlying":[{"option":"Enable","tag":"Flying","slot":26}],"SetGliding":[{"option":"Enable","tag":"Gliding","slot":26}],"BoostElytra":[],"SetRotation":[],"FaceLocation":[],"SetVelocity":[{"option":"False","tag":"Add to Current Velocity","slot":26}],"SpectateTarget":[{"option":"True","tag":"Ignore Formatting","slot":26}],"SetSpawnPoint":[],"SpectatorCollision":[{"option":"Enable","tag":"Spectator Collision","slot":26}],"LaunchProj":[],"ResourcePack":[],"SetPlayerTime":[],"SetPlayerWeather":[{"option":"Downfall","tag":"Weather","slot":26}],"SetRainLevel":[],"SetCompass":[],"DisplayBlock":[],"DisplayFracture":[{"option":"True","tag":"Overwrite Previous Fracture","slot":26}],"DisplayBlockOpen":[{"option":"Open","tag":"Container State","slot":26}],"DisplayGateway":[{"option":"Initial beam","tag":"Animation Type","slot":26}],"DisplaySignText":[{"option":"Front","tag":"Sign Side","slot":24},{"option":"Black","tag":"Text Color","slot":25},{"option":"Disable","tag":"Glowing","slot":26}],"DisplayHologram":[],"SetFogDistance":[],"SetWorldBorder":[],"ShiftWorldBorder":[],"RmWorldBorder":[],"DisplayPickup":[{"option":"True","tag":"Ignore Formatting","slot":26}],"SetEntityHidden":[{"option":"True","tag":"Ignore Formatting","slot":25},{"option":"Enable","tag":"Hidden","slot":26}],"Particle":[],"ParticleLine":[],"ParticleLineA":[],"ParticleCircle":[],"ParticleCircleA":[],"ParticleCuboid":[{"option":"Wireframe","tag":"Fill Type","slot":26}],"ParticleCuboidA":[{"option":"Wireframe","tag":"Fill Type","slot":26}],"ParticleSpiral":[],"ParticleSpiralA":[],"ParticleSphere":[],"ParticleRay":[],"DisplayLightning":[],"Vibration":[],"MobDisguise":[],"PlayerDisguise":[],"BlockDisguise":[],"SetDisguiseVisible":[{"option":"Disable","tag":"Disguise Visible","slot":26}],"Undisguise":[],"SetChatTag":[],"ChatStyle":[],"SetNameColor":[{"option":"Black","tag":"Name Color","slot":26}],"SetNameVisible":[{"option":"Disable","tag":"Name Tag Visible","slot":26}],"SetNamePrefix":[{"option":"Prefix","tag":"Text Type","slot":26}],"SetArrowsStuck":[],"SetStingsStuck":[],"SetVisualFire":[{"option":"True","tag":"On Fire","slot":26}],"AttackAnimation":[{"option":"Swing main arm","tag":"Animation Arm","slot":26}],"HurtAnimation":[],"WakeUpAnimation":[],"SetStatus":[],"SetSkin":[],"SetShoulder":[{"option":"Remove","tag":"Type","slot":25},{"option":"Left","tag":"Shoulder","slot":26}],"RollbackBlocks":[],"SendToPlot":[],"Kick":[]},"entity_action":{"Heal":[],"SetHealth":[],"SetAbsorption":[],"SetMaxHealth":[{"option":"False","tag":"Heal Mob to Max Health","slot":26}],"Damage":[{"option":"True","tag":"Ignore Formatting","slot":26}],"SetFireTicks":[],"SetFreezeTicks":[{"option":"Disable","tag":"Ticking Locked","slot":26}],"SetInvulTicks":[],"GivePotion":[{"option":"True","tag":"Overwrite Effect","slot":25},{"option":"Regular","tag":"Effect Particles","slot":26}],"RemovePotion":[],"ClearPotions":[],"SetAge":[{"option":"Don't change","tag":"Age Lock","slot":26}],"SetFallDistance":[],"SetCreeperFuse":[],"SetCreeperPower":[],"SetCloudRadius":[],"SetVillagerExp":[],"SetWitherInvul":[],"SetHorseJump":[],"SetPickupDelay":[],"SetFishingTime":[],"SetWardenAnger":[{"option":"True","tag":"Ignore Formatting","slot":26}],"MobDisguise":[],"PlayerDisguise":[],"BlockDisguise":[],"Undisguise":[],"SetGlowing":[{"option":"Enable","tag":"Glowing","slot":26}],"SetDyeColor":[{"option":"White","tag":"Dye","slot":26}],"SetFishPattern":[{"option":"White","tag":"Pattern Color","slot":24},{"option":"White","tag":"Body Color","slot":25},{"option":"Kob","tag":"Pattern","slot":26}],"SetRabbitType":[{"option":"Brown","tag":"Skin Type","slot":26}],"SetCatType":[{"option":"Tabby","tag":"Skin Type","slot":26}],"MooshroomType":[{"option":"Red","tag":"Mooshroom Variant","slot":26}],"SetFoxType":[{"option":"Red","tag":"Fox Type","slot":26}],"SetParrotColor":[{"option":"Red","tag":"Parrot Color","slot":26}],"SetHorsePattern":[{"option":"Flaxen chestnut","tag":"Horse Color","slot":25},{"option":"Stockings and blaze","tag":"Horse Markings","slot":26}],"SetAxolotlColor":[{"option":"Pink","tag":"Axolotl Color","slot":26}],"SetLlamaColor":[{"option":"Brown","tag":"Llama Color","slot":26}],"SetFrogType":[{"option":"Temperate","tag":"Frog Type","slot":26}],"SetVillagerBiome":[{"option":"Desert","tag":"Biome","slot":26}],"SnowmanPumpkin":[{"option":"Disable","tag":"Pumpkin","slot":26}],"SetEndermanBlock":[],"SetMinecartBlock":[],"ArmorStandParts":[{"option":"Enable","tag":"Arms","slot":25},{"option":"Enable","tag":"Base Plate","slot":26}],"SetBeeNectar":[{"option":"Enable","tag":"Has Nectar","slot":26}],"ProjectileItem":[],"SetVisualFire":[{"option":"True","tag":"On Fire","slot":26}],"SendAnimation":[{"option":"Hurt animation","tag":"Animation Type","slot":26}],"AttackAnimation":[{"option":"Swing main arm","tag":"Animation Arm","slot":26}],"ArmorStandPose":[{"option":"Head","tag":"Armor Stand Part","slot":26}]," SetPose ":[{"option":"Standing","tag":"Pose","slot":26}],"SetFoxLeaping":[{"option":"Enable","tag":"Leaping","slot":26}],"SetArmsRaised":[{"option":"Enable","tag":"Arms Raised","slot":26}],"SetCatResting":[{"option":"Enable","tag":"Resting","slot":26}],"SetGlowSquidDark":[],"Teleport":[{"option":"False","tag":"Keep Current Rotation","slot":26}],"LaunchUp":[{"option":"True","tag":"Add to Current Velocity","slot":26}],"LaunchFwd":[{"option":"True","tag":"Add to Current Velocity","slot":25},{"option":"Pitch and Yaw","tag":"Launch Axis","slot":26}],"LaunchToward":[{"option":"True","tag":"Add to Current Velocity","slot":25},{"option":"False","tag":"Ignore Distance","slot":26}],"SetGliding":[{"option":"Enable","tag":"Gliding","slot":26}],"SetGravity":[{"option":"Disable","tag":"Gravity","slot":26}],"RideEntity":[{"option":"True","tag":"Ignore Formatting","slot":26}],"AttachLead":[{"option":"True","tag":"Ignore Formatting","slot":26}],"SetRotation":[],"SetVelocity":[{"option":"False","tag":"Add to Current Velocity","slot":26}],"SetName":[{"option":"False","tag":"Hide Name Tag","slot":26}],"SetNameVisible":[{"option":"Enable","tag":"Name Tag Visible","slot":26}],"SetNameColor":[{"option":"Black","tag":"Name Color","slot":26}],"SetAI":[{"option":"None","tag":"AI","slot":26}],"SetSilenced":[{"option":"Enable","tag":"Silenced","slot":26}],"SetDeathDrops":[{"option":"Enable","tag":"Has Death Drops","slot":26}],"SetCollidable":[{"option":"Disable","tag":"Collision","slot":26}],"SetInvulnerable":[{"option":"Enable","tag":"Invulnerable","slot":26}],"SetMobSitting":[{"option":"Enable","tag":"Is Sitting","slot":26}],"SetBaby":[{"option":"Enable","tag":"Baby","slot":26}],"SetSize":[],"SetSheepSheared":[{"option":"Enable","tag":"Sheared","slot":26}],"SetSaddle":[{"option":"Enable","tag":"Saddle","slot":26}],"SetCarryingChest":[{"option":"Enable","tag":"Carrying Chest","slot":26}],"ArmorStandSlots":[{"option":"Take, swap or place item","tag":"Interactions","slot":25},{"option":"All","tag":"Equipment Slot","slot":26}],"SetMarker":[{"option":"Enable","tag":"Marker","slot":26}],"SetAngry":[{"option":"Enable","tag":"Angry","slot":26}],"SetRearing":[{"option":"Enable","tag":"Rearing","slot":26}],"SetRiptiding":[{"option":"Enable","tag":"Riptiding","slot":26}],"CreeperCharged":[{"option":"Enable","tag":"Charged","slot":26}],"SetInvisible":[{"option":"Enable","tag":"Invisible","slot":26}],"SetGoatScreaming":[{"option":"Enable","tag":"Screams","slot":26}],"SetGoatHorns":[{"option":"No Change","tag":"Left Horn","slot":25},{"option":"No Change","tag":"Right Horn","slot":26}],"Tame":[],"EndCrystalBeam":[],"SetPandaGene":[{"option":"Both","tag":"Set Gene","slot":25},{"option":"Aggressive","tag":"Gene Type","slot":26}],"SetProfession":[{"option":"Armorer","tag":"Profession","slot":26}],"SetProjSource":[{"option":"True","tag":"Ignore Formatting","slot":26}],"SetPersistent":[{"option":"Enable","tag":"Persistent","slot":26}],"InteractionSize":[],"InteractResponse":[{"option":"Enable","tag":"Responsive","slot":26}],"SetCelebrating":[{"option":"Enable","tag":"Celebrate","slot":26}],"SetTarget":[{"option":"True","tag":"Ignore Formatting","slot":26}],"MoveToLoc":[],"Jump":[],"Ram":[{"option":"True","tag":"Ignore Formatting","slot":26}],"FrogEat":[{"option":"True","tag":"Ignore Formatting","slot":26}],"SheepEat":[],"IgniteCreeper":[],"Explode":[],"FoxSleeping":[{"option":"Enable","tag":"Sleeping","slot":26}],"SetDragonPhase":[{"option":"Flying","tag":"Phase","slot":26}],"SetBulletTarget":[{"option":"True","tag":"Ignore Formatting","slot":26}],"UseItem":[{"option":"Main Hand","tag":"Hand","slot":25},{"option":"Enable","tag":"Use Item","slot":26}],"SetAllayDancing":[{"option":"Enable","tag":"Dancing","slot":26}],"SnifferState":[{"option":"Idle","tag":"Behavior","slot":26}],"DisplayViewRange":[],"DisplayBillboard":[{"option":"Fixed","tag":"Billboard Type","slot":26}],"DisplayShadow":[],"DisplayBrightness":[],"DispInterpolation":[],"DisplayCullingSize":[],"TDisplayText":[{"option":"True","tag":"Inherit Styles","slot":25},{"option":"No spaces","tag":"Text Value Merging","slot":26}],"TDisplayLineWidth":[],"TDisplayOpacity":[],"TDisplayAlign":[{"option":"Center","tag":"Text Alignment","slot":26}],"TDisplayShadow":[{"option":"Enable","tag":"Text Shadow","slot":26}],"TDisplaySeeThru":[{"option":"Enable","tag":"See-through","slot":26}],"TDispBackground":[],"DisplayGlowColor":[],"IDisplayItem":[],"IDisplayModelType":[{"option":"None","tag":"Model Type","slot":26}],"BDisplayBlock":[],"DisplayMatrix":[],"DispRotationEuler":[{"option":"Left Rotation","tag":"Rotation Type","slot":26}],"DispRotAxisAngle":[{"option":"Left Rotation","tag":"Rotation Type","slot":26}],"DispTranslation":[],"DisplayScale":[],"Remove":[],"SetEquipment":[{"option":"Main hand","tag":"Equipment Slot","slot":26}],"SetArmor":[],"LaunchProj":[],"ShearSheep":[],"SetCustomTag":[],"GetCustomTag":[],"RemoveCustomTag":[],"SetItem":[],"SetDigging":[{"option":"Emerge","tag":"Digging Type","slot":26}]},"game_action":{"SpawnMob":[],"SpawnItem":[{"option":"True","tag":"Apply Item Motion","slot":26}],"SpawnVehicle":[],"SpawnExpOrb":[],"Explosion":[],"SpawnTNT":[],"SpawnFangs":[],"Firework":[{"option":"False","tag":"Instant","slot":25},{"option":"Upwards","tag":"Movement","slot":26}],"LaunchProj":[],"Lightning":[],"SpawnPotionCloud":[],"FallingBlock":[{"option":"True","tag":"Reform on Impact","slot":25},{"option":"False","tag":"Hurt Hit Entities","slot":26}],"SpawnArmorStand":[{"option":"Visible","tag":"Visibility","slot":26}],"SpawnCrystal":[{"option":"True","tag":"Show Bottom","slot":26}],"SpawnEnderEye":[{"option":"Random","tag":"End of Lifespan","slot":26}],"ShulkerBullet":[],"SpawnTextDisplay":[{"option":"True","tag":"Inherit Styles","slot":25},{"option":"No spaces","tag":"Text Value Merging","slot":26}],"SpawnItemDisp":[],"SpawnBlockDisp":[],"SpawnInteraction":[{"option":"Disable","tag":"Responsive","slot":26}]," SetBlock ":[],"SetRegion":[],"CloneRegion":[{"option":"False","tag":"Ignore Air","slot":25},{"option":"True","tag":"Clone Block Entities","slot":26}],"BreakBlock":[],"SetBlockData":[{"option":"False","tag":"Overwrite Existing Data","slot":26}],"TickBlock":[],"BoneMeal":[{"option":"True","tag":"Show Particles","slot":26}],"GenerateTree":[{"option":"Oak Tree","tag":"Tree Type","slot":26}],"SetBlockGrowth":[{"option":"Growth Stage Number","tag":"Growth Unit","slot":26}],"FillContainer":[],"SetContainer":[],"SetItemInSlot":[],"ReplaceItems":[],"RemoveItems":[],"ClearItems":[],"ClearContainer":[],"SetContainerName":[],"LockContainer":[],"ChangeSign":[{"option":"Front","tag":"Sign Side","slot":26}],"SignColor":[{"option":"Front","tag":"Sign Side","slot":24},{"option":"Black","tag":"Text Color","slot":25},{"option":"Disable","tag":"Glowing","slot":26}],"SetHead":[],"SetFurnaceSpeed":[],"SetCampfireItem":[{"option":"1","tag":"Campfire Slot","slot":26}],"SetLecternBook":[],"SetBrushableItem":[],"CancelEvent":[],"UncancelEvent":[],"SetEventDamage":[],"SetEventHeal":[],"SetEventXP":[],"SetEventProj":[],"SetEventSound":[],"BlockDropsOn":[],"BlockDropsOff":[],"WebRequest":[{"option":"Post","tag":"Request Method","slot":25},{"option":"text/plain","tag":"Content Type","slot":26}],"DiscordWebhook":[]},"set_var":{"=":[],"RandomValue":[],"PurgeVars":[{"option":"Full word(s) in name","tag":"Match Requirement","slot":25},{"option":"False","tag":"Ignore Case","slot":26}],"+":[],"-":[],"x":[],"/":[{"option":"Default","tag":"Division Mode","slot":26}],"%":[{"option":"Remainder","tag":"Remainder Mode","slot":26}],"+=":[],"-=":[],"Exponent":[],"Root":[],"Logarithm":[],"ParseNumber":[],"AbsoluteValue":[],"ClampNumber":[],"WrapNum":[],"Average":[],"RandomNumber":[{"option":"Whole number","tag":"Rounding Mode","slot":26}]," RoundNumber ":[{"option":"Nearest","tag":"Round Mode","slot":26}],"MinNumber":[],"MaxNumber":[],"NormalRandom":[{"option":"Normal","tag":"Distribution","slot":26}],"Sine":[{"option":"Sine","tag":"Sine Variant","slot":25},{"option":"Degrees","tag":"Input","slot":26}],"Cosine":[{"option":"Cosine","tag":"Cosine Variant","slot":25},{"option":"Degrees","tag":"Input","slot":26}],"Tangent":[{"option":"Tangent","tag":"Tangent Variant","slot":25},{"option":"Degrees","tag":"Input","slot":26}],"PerlinNoise":[{"option":"Brownian","tag":"Fractal Type","slot":26}],"VoronoiNoise":[{"option":"Euclidean","tag":"Cell Edge Type","slot":26}],"WorleyNoise":[{"option":"Euclidean","tag":"Cell Edge Type","slot":25},{"option":"Primary","tag":"Distance Calculation","slot":26}],"Bitwise":[{"option":"|","tag":"Operator","slot":26}],"String":[{"option":"No spaces","tag":"Text Value Merging","slot":26}],"ReplaceString":[{"option":"All occurrences","tag":"Replacement Type","slot":25},{"option":"Disable","tag":"Regular Expressions","slot":26}],"RemoveString":[{"option":"Disable","tag":"Regular Expressions","slot":26}],"TrimString":[],"SplitString":[],"JoinString":[],"SetCase":[{"option":"UPPERCASE","tag":"Capitalization Type","slot":26}],"StringLength":[],"RepeatString":[],"FormatTime":[{"option":"2020/08/17 17:20:54","tag":"Format","slot":26}],"TranslateColors":[{"option":"From & to color","tag":"Translation Type","slot":26}],"StyledText":[{"option":"True","tag":"Inherit Styles","slot":25},{"option":"No spaces","tag":"Text Value Merging","slot":26}],"ClearFormatting":[],"GetMiniMessageExpr":[],"ParseMiniMessageExpr":[{"option":"False","tag":"Parse Legacy Color Codes","slot":25},{"option":"Style Only","tag":"Allowed Tags","slot":26}],"TrimStyledText":[],"ContentLength":[],"GetCoord":[{"option":"Plot coordinate","tag":"Coordinate Type","slot":25},{"option":"X","tag":"Coordinate","slot":26}],"SetCoord":[{"option":"Plot coordinate","tag":"Coordinate Type","slot":25},{"option":"X","tag":"Coordinate","slot":26}],"SetAllCoords":[{"option":"Plot coordinate","tag":"Coordinate Type","slot":26}],"ShiftOnAxis":[{"option":"X","tag":"Coordinate","slot":26}],"ShiftAllAxes":[],"ShiftInDirection":[{"option":"Forward","tag":"Direction","slot":26}],"ShiftAllDirections":[],"ShiftToward":[],"ShiftOnVector":[{"option":"False","tag":"Add Location Rotation","slot":26}],"GetDirection":[]," SetDirection ":[],"ShiftRotation":[{"option":"Pitch","tag":"Rotation Axis","slot":26}],"FaceLocation":[{"option":"Toward location","tag":"Face Direction","slot":26}],"AlignLoc":[{"option":"Keep rotation","tag":"Rotation","slot":24},{"option":"All coordinates","tag":"Coordinates","slot":25},{"option":"Block center","tag":"Alignment Mode","slot":26}],"Distance":[{"option":"Distance 3D (X/Y/Z)","tag":"Distance Type","slot":26}],"GetCenterLoc":[],"RandomLoc":[],"GetItemType":[{"option":"Item ID (golden_apple)","tag":"Return Value Type","slot":26}],"SetItemType":[]," GetItemName ":[]," SetItemName ":[]," GetItemLore ":[],"GetLoreLine":[]," SetItemLore ":[],"GetItemAmount":[],"SetItemAmount":[],"GetMaxItemAmount":[],"GetItemDura":[{"option":"Get Damage","tag":"Durability Type","slot":26}],"SetItemDura":[{"option":"Set Damage","tag":"Durability Type","slot":26}],"SetBreakability":[{"option":"Unbreakable","tag":"Breakability","slot":26}]," GetItemEnchants ":[]," SetItemEnchants ":[],"AddItemEnchant":[],"RemItemEnchant":[],"GetHeadOwner":[{"option":"Owner Name","tag":"Text Value","slot":26}],"SetHeadTexture":[]," GetBookText ":[],"SetBookText":[],"GetItemTag":[],"GetAllItemTags":[],"SetItemTag":[],"RemoveItemTag":[],"ClearItemTag":[],"SetModelData":[],"GetItemEffects":[],"SetItemEffects":[],"SetItemFlags":[{"option":"No Change","tag":"Hide Armor Trim","slot":19},{"option":"No Change","tag":"Hide Color","slot":20},{"option":"No Change","tag":"Hide Enchantments","slot":21},{"option":"No Change","tag":"Hide Attributes","slot":22},{"option":"No Change","tag":"Hide Unbreakable","slot":23},{"option":"No Change","tag":"Hide Can Destroy","slot":24},{"option":"No Change","tag":"Hide Can Place On","slot":25},{"option":"No Change","tag":"Hide Potion Effects","slot":26}],"GetCanPlaceOn":[],"SetCanPlaceOn":[],"GetCanDestroy":[],"SetCanDestroy":[],"GetItemRarity":[],"GetLodestoneLoc":[],"SetLodestoneLoc":[{"option":"False","tag":"Require Lodestone at Location","slot":26}],"SetArmorTrim":[{"option":"None","tag":"Trim Pattern","slot":25},{"option":"Amethyst","tag":"Trim Material","slot":26}],"GetItemColor":[],"SetItemColor":[],"GetItemAttribute":[{"option":"Armor","tag":"Attribute","slot":25},{"option":"Any","tag":"Active Equipment Slot","slot":26}],"AddItemAttribute":[{"option":"Armor","tag":"Attribute","slot":24},{"option":"Add number","tag":"Operation","slot":25},{"option":"Main hand","tag":"Active Equipment Slot","slot":26}],"SetMapTexture":[],"CreateList":[],"AppendValue":[],"AppendList":[],"GetListValue":[],"PopListValue":[],"SetListValue":[],"GetValueIndex":[{"option":"Ascending (first index)","tag":"Search Order","slot":26}],"ListLength":[],"InsertListValue":[],"RemoveListValue":[],"RemoveListIndex":[],"DedupList":[],"TrimList":[],"SortList":[{"option":"Ascending","tag":"Sort Order","slot":26}],"ReverseList":[],"RandomizeList":[],"FlattenList":[],"CreateDict":[],"SetDictValue":[],"GetDictValue":[],"GetDictSize":[],"RemoveDictEntry":[],"ClearDict":[],"GetDictKeys":[],"GetDictValues":[],"AppendDict":[],"SortDict":[{"option":"Sort by Key","tag":"Sorting Type","slot":25},{"option":"Ascending","tag":"Sorting Order","slot":26}],"GetBlockType":[{"option":"Block ID (oak_log)","tag":"Return Value Type","slot":26}],"GetBlockData":[],"GetAllBlockData":[{"option":"True","tag":"Hide Default","slot":26}],"GetBlockGrowth":[{"option":"Growth stage number","tag":"Growth Unit","slot":26}],"GetBlockPower":[],"GetLight":[{"option":"Combined light","tag":"Light Type","slot":26}]," GetSignText ":[{"option":"Front","tag":"Sign Side","slot":25},{"option":"1","tag":"Sign Line","slot":26}],"ContainerName":[],"ContainerLock":[],"GetContainerItems":[{"option":"False","tag":"Ignore Empty Slots","slot":26}],"GetLecternBook":[],"GetLecternPage":[],"Raycast":[{"option":"False","tag":"Entity Collision","slot":25},{"option":"All blocks","tag":"Block Collision","slot":26}],"GetParticleType":[],"SetParticleType":[],"GetParticleAmount":[],"SetParticleAmount":[],"GetParticleSprd":[{"option":"Horizontal","tag":"Spread","slot":26}],"SetParticleSprd":[],"GetParticleSize":[],"SetParticleSize":[],"GetParticleMat":[],"SetParticleMat":[],"GetParticleColor":[],"SetParticleColor":[],"GetParticleMotion":[],"SetParticleMotion":[],"GetParticleRoll":[],"SetParticleRoll":[],"Vector":[],"VectorBetween":[],"GetVectorComp":[{"option":"X","tag":"Component","slot":26}],"SetVectorComp":[{"option":"X","tag":"Component","slot":26}],"GetVectorLength":[{"option":"Length","tag":"Length Type","slot":26}],"SetVectorLength":[],"MultiplyVector":[],"AddVectors":[],"SubtractVectors":[],"AlignVector":[],"RotateAroundAxis":[{"option":"X","tag":"Axis","slot":25},{"option":"Degrees","tag":"Angle Units","slot":26}],"RotateAroundVec":[{"option":"Degrees","tag":"Angle Units","slot":26}],"ReflectVector":[],"CrossProduct":[],"DotProduct":[],"DirectionName":[],"GetPotionType":[],"SetPotionType":[],"GetPotionAmp":[],"SetPotionAmp":[],"GetPotionDur":[],"SetPotionDur":[],"GetSoundType":[],"SetSoundType":[],"GetSoundVariant":[],"SetSoundVariant":[],"GetCustomSound":[],"SetCustomSound":[],"GetSoundPitch":[{"option":"Pitch (number)","tag":"Return Value Type","slot":26}],"SetSoundPitch":[],"GetSoundVolume":[],"SetSoundVolume":[],"BlockHardness":[],"BlockResistance":[],"RGBColor":[],"HSBColor":[],"HSLColor":[],"GetColorChannels":[{"option":"RGB","tag":"Color Channels","slot":26}]},"if_player":{"IsSneaking":[],"IsSprinting":[],"IsGliding":[],"IsFlying":[],"IsGrounded":[],"IsSwimming":[],"IsBlocking":[],"UsingPack":[],"IsLookingAt":[{"option":"Ignore fluids","tag":"Fluid Mode","slot":26}]," StandingOn ":[],"IsNear":[{"option":"Sphere","tag":"Shape","slot":26}],"InWorldBorder":[],"IsHolding":[{"option":"Either hand","tag":"Hand Slot","slot":26}],"HasItem":[{"option":"Has Any Item","tag":"Check Mode","slot":26}],"IsWearing":[{"option":"Is Wearing Some","tag":"Check Mode","slot":26}],"IsUsingItem":[],"NoItemCooldown":[],"HasSlotItem":[],"MenuSlotEquals":[],"CursorItem":[],"HasRoomForItem":[{"option":"Main inventory","tag":"Checked Slots","slot":25},{"option":"Has Room for Any Item","tag":"Check Mode","slot":26}],"NameEquals":[],"SlotEquals":[],"HasPotion":[{"option":"None","tag":"Check Properties","slot":25},{"option":"Has any effect","tag":"Check Mode","slot":26}]," IsRiding ":[{"option":"True","tag":"Ignore Formatting","slot":26}],"InvOpen":[{"option":"Any Inventory","tag":"Inventory Type","slot":26}],"HasPermission":[{"option":"Developer or builder","tag":"Permission","slot":26}],"IsInGameMode":[{"option":"Survival","tag":"Game Mode","slot":26}]},"if_entity":{"IsType":[],"NameEquals":[{"option":"True","tag":"Ignore Formatting","slot":26}]," StandingOn ":[],"IsGrounded":[],"IsNear":[{"option":"Sphere","tag":"Shape","slot":26}]," IsRiding ":[{"option":"True","tag":"Ignore Formatting","slot":26}],"HasPotion":[{"option":"None","tag":"Check Properties","slot":25},{"option":"Has any effect","tag":"Check Mode","slot":26}],"IsMob":[],"IsProj":[],"IsVehicle":[],"IsItem":[],"Exists":[],"HasCustomTag":[],"IsSheared":[]},"if_game":{"BlockEquals":[],"BlockPowered":[{"option":"Direct power","tag":"Redstone Power Mode","slot":26}],"ContainerHas":[],"ContainerHasAll":[],"HasRoomForItem":[{"option":"Has Room for Any Item","tag":"Check Mode","slot":26}]," SignHasTxt ":[{"option":"Contains","tag":"Check Mode","slot":24},{"option":"Front","tag":"Sign Side","slot":25},{"option":"All lines","tag":"Sign Line","slot":26}],"HasPlayer":[],"EventBlockEquals":[],"EventItemEquals":[{"option":"Ignore stack size/durability","tag":"Comparison Mode","slot":26}],"CommandEquals":[{"option":"True","tag":"Ignore Case","slot":25},{"option":"Check entire command","tag":"Check Mode","slot":26}],"CmdArgEquals":[{"option":"True","tag":"Ignore Case","slot":26}],"AttackIsCrit":[],"EventCancelled":[]},"if_var":{"=":[],"!=":[],">":[],">=":[],"<":[],"<=":[]," InRange ":[{"option":"Exact","tag":"Location Handling","slot":26}],"LocIsNear":[{"option":"Sphere","tag":"Shape","slot":26}],"StringMatches":[{"option":"False","tag":"Ignore Case","slot":25},{"option":"Disable","tag":"Regular Expressions","slot":26}],"Contains":[{"option":"False","tag":"Ignore Case","slot":26}],"StartsWith":[{"option":"False","tag":"Ignore Case","slot":26}],"EndsWith":[{"option":"False","tag":"Ignore Case","slot":26}],"VarExists":[],"VarIsType":[{"option":"Number","tag":"Variable Type","slot":26}],"ItemEquals":[{"option":"Exactly equals","tag":"Comparison Mode","slot":26}],"ItemHasTag":[],"ListContains":[{"option":"Has Any Value","tag":"Check Mode","slot":26}],"ListValueEq":[],"DictHasKey":[],"DictValueEquals":[]},"repeat":{"Forever":[],"While":[],"Multiple":[]," Range ":[],"ForEach":[{"option":"True","tag":"Allow List Changes","slot":26}],"ForEachEntry":[],"Grid":[],"Adjacent":[{"option":"False","tag":"Change Location Rotation","slot":24},{"option":"False","tag":"Include Origin Block","slot":25},{"option":"Adjacent (6 blocks)","tag":"Pattern","slot":26}],"Path":[{"option":"False","tag":"Rotate Location","slot":26}],"Sphere":[{"option":"False","tag":"Point Locations Inwards","slot":26}]},"select_obj":{"EventTarget":[{"option":"Default","tag":"Event Target","slot":26}],"RandomPlayer":[],"LastEntity":[],"PlayerName":[],"EntityName":[{"option":"True","tag":"Ignore Formatting","slot":26}],"AllPlayers":[],"AllEntities":[],"PlayersCond":[],"EntitiesCond":[],"Invert":[],"FilterCondition":[],"FilterRandom":[],"FilterDistance":[{"option":"False","tag":"Ignore Y-Axis","slot":25},{"option":"Nearest","tag":"Compare Mode","slot":26}],"FilterSort":[{"option":"Ascending","tag":"Sort Order","slot":26}],"FilterRay":[{"option":"Solid blocks","tag":"Block Collision","slot":26}],"Reset":[]},"control":{"Wait":[{"option":"Ticks","tag":"Time Unit","slot":26}],"Return":[],"End":[],"Skip":[],"StopRepeat":[]},"event":{"Join":[],"Leave":[],"Command":[],"RightClick":[],"LeftClick":[],"ClickEntity":[],"ClickPlayer":[],"PlaceBlock":[],"BreakBlock":[],"SwapHands":[],"ChangeSlot":[],"TameEntity":[],"Walk":[],"Jump":[],"Sneak":[],"Unsneak":[],"StartSprint":[],"StopSprint":[],"StartFly":[],"StopFly":[],"Riptide":[],"Dismount":[],"HorseJump":[],"VehicleJump":[],"ClickMenuSlot":[],"ClickInvSlot":[],"PickUpItem":[],"DropItem":[],"Consume":[],"BreakItem":[],"CloseInv":[],"Fish":[],"PlayerTakeDmg":[],"PlayerDmgPlayer":[],"DamageEntity":[],"EntityDamagePlayer":[],"PlayerHeal":[],"ShootBow":[],"ShootProjectile":[],"ProjHit":[],"ProjDmgPlayer":[],"CloudImbuePlayer":[],"Death":[],"KillPlayer":[],"PlayerResurrect":[],"KillMob":[],"MobKillPlayer":[],"Respawn":[],"PackLoad":[],"PackDecline":[],"LoadCrossbow":[]},"entity_event":{"EntityDmgEntity":[],"EntityKillEntity":[],"EntityDmg":[],"ProjDmgEntity":[],"ProjKillEntity":[],"EntityDeath":[],"EntityExplode":[],"VehicleDamage":[],"BlockFall":[],"FallingBlockLand":[],"EntityResurrect":[],"RegrowWool":[]},"extras":{"func":[{"option":"False","tag":"Is Hidden","action":"dynamic","slot":26}],"process":[{"option":"False","tag":"Is Hidden","action":"dynamic","slot":26}],"start_process":[{"option":"Don't copy","tag":"Local Variables","action":"dynamic","slot":25},{"option":"With current targets","tag":"Target Mode","action":"dynamic","slot":26}],"call_func":[],"bracket":[],"else":[]}}
|