Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
smell-of-curry committed May 14, 2023
0 parents commit 294de33
Show file tree
Hide file tree
Showing 2,156 changed files with 19,633 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
src
build.ts
package-lock.json
package.json
tsconfig.json
1 change: 1 addition & 0 deletions .mcattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
diagnostic.disable.resourcepack.model.missing=true
13 changes: 13 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": "0.3.0",
"configurations": [
{
"type": "minecraft-js",
"request": "attach",
"name": "Wait for Minecraft Debug Connections",
"mode": "listen",
"localRoot": "${workspaceFolder}/",
"port": 19144
}
]
}
18 changes: 18 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"cSpell.words": [
"apricorn",
"Cooldown",
"despawn",
"enchantable",
"Gamemode",
"leaderboard",
"Leaderboards",
"minecraft",
"moderations",
"overworld",
"pokeb",
"Pokeball",
"pokedex",
"zalgo"
]
}
25 changes: 25 additions & 0 deletions animation_controllers/digging.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.digging": {
"states": {
"default": {
"transitions": [
{
"scroll": "query.is_digging"
}
],
"on_exit": ["/tag @s add digging"]
},
"scroll": {
"transitions": [
{
"default": "!query.is_digging"
}
],
"on_exit": ["/tag @s remove digging"]
}
}
}
}
}
25 changes: 25 additions & 0 deletions animation_controllers/eating.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.eating": {
"states": {
"default": {
"transitions": [
{
"scroll": "query.is_eating"
}
],
"on_exit": ["/tag @s add eating"]
},
"scroll": {
"transitions": [
{
"default": "!query.is_eating"
}
],
"on_exit": ["/tag @s remove eating"]
}
}
}
}
}
98 changes: 98 additions & 0 deletions animation_controllers/flying.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.fly_system": {
"states": {
"default": {
"transitions": [
{
"fly_back": "!query.is_on_ground && query.has_rider"
}
]
},
"fly_back": {
"transitions": [
{
"default": "!query.is_on_ground && query.has_rider"
}
],
"on_exit": [
"/execute if entity @p[rx=-65,rxm=-90] run effect @s levitation 1 16 true",
"/execute if entity @p[rx=-35,rxm=-65] run effect @s levitation 1 12 true",
"/execute if entity @p[rx=-15,rxm=-35] run effect @s levitation 1 8 true",
"/execute if entity @p[rx=15,rxm=-15] run effect @s levitation 1 4 true",
"/execute if entity @p[rx=20,rxm=15] run effect @s levitation 1 0 true",
"/execute if entity @p[rx=25,rxm=20] run effect @s slow_falling 1 255 true",
"/execute if entity @p[rx=65,rxm=25] run effect @s slow_falling 1 128 true",
"/execute if entity @p[rx=85,rxm=65] run effect @s slow_falling 1 0 true",
"/execute if entity @p[rx=90,rxm=85] run effect @s clear"
]
}
}
},
"controller.animation.fly_system_up": {
"states": {
"default": {
"transitions": [
{
"flyup": "query.get_equipped_item_name == 'feather' && query.has_rider"
}
]
},
"flyup": {
"transitions": [
{
"default": "query.get_equipped_item_name == 'feather' && query.has_rider"
}
],
"on_exit": [
"/effect @s levitation 1 12 true",
"/effect @s speed 1 2 true"
]
}
}
},
"controller.animation.fly_system_assist": {
"initial_state": "none",
"states": {
"none": {
"transitions": [
{
"up": "t.launch=0;t.item='';for_each(t.rider,q.get_riders,{t.launch=t.rider->q.is_jumping;t.item=t.rider->q.get_equipped_item_name});return t.launch && t.item != 'blaze_rod' && t.item != 'dragon_breath';"
}
],
"on_entry": ["/replaceitem entity @s slot.weapon.mainhand 0 air 1"]
},
"up": {
"transitions": [
{
"none": "t.launch=0;t.item='';for_each(t.rider,q.get_riders,{t.launch=t.rider->q.is_jumping;t.item=t.rider->q.get_equipped_item_name});return !t.launch && t.item != 'blaze_rod' && t.item != 'dragon_breath';"
}
],
"on_entry": [
"/replaceitem entity @s slot.weapon.mainhand 0 feather 1"
]
}
}
},
"controller.animation.fly_system_conend": {
"states": {
"fly": {
"transitions": [
{
"fly_back": "!query.has_rider"
}
]
},
"fly_back": {
"transitions": [
{
"fly": "!query.has_rider"
}
],
"on_exit": ["/replaceitem entity @s slot.weapon.mainhand 0 air 1"]
}
}
}
}
}
25 changes: 25 additions & 0 deletions animation_controllers/gliding.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.gliding": {
"states": {
"default": {
"transitions": [
{
"scroll": "query.is_gliding"
}
],
"on_exit": ["/tag @s add gliding"]
},
"scroll": {
"transitions": [
{
"default": "!query.is_gliding"
}
],
"on_exit": ["/tag @s remove gliding"]
}
}
}
}
}
25 changes: 25 additions & 0 deletions animation_controllers/ground.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.ground": {
"states": {
"default": {
"transitions": [
{
"scroll": "query.is_on_ground"
}
],
"on_exit": ["/tag @s add on_ground"]
},
"scroll": {
"transitions": [
{
"default": "!query.is_on_ground"
}
],
"on_exit": ["/tag @s remove on_ground"]
}
}
}
}
}
25 changes: 25 additions & 0 deletions animation_controllers/jumping.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.jumping": {
"states": {
"default": {
"transitions": [
{
"scroll": "query.is_jumping"
}
],
"on_exit": ["/tag @s add jumping"]
},
"scroll": {
"transitions": [
{
"default": "!query.is_jumping"
}
],
"on_exit": ["/tag @s remove jumping"]
}
}
}
}
}
25 changes: 25 additions & 0 deletions animation_controllers/levitating.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.levitating": {
"states": {
"default": {
"transitions": [
{
"scroll": "query.is_levitating"
}
],
"on_exit": ["/tag @s add levitating"]
},
"scroll": {
"transitions": [
{
"default": "!query.is_levitating"
}
],
"on_exit": ["/tag @s remove levitating"]
}
}
}
}
}
25 changes: 25 additions & 0 deletions animation_controllers/moving.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.moving": {
"states": {
"default": {
"transitions": [
{
"scroll": "query.is_moving"
}
],
"on_exit": ["/tag @s add moving"]
},
"scroll": {
"transitions": [
{
"default": "!query.is_moving"
}
],
"on_exit": ["/tag @s remove moving"]
}
}
}
}
}
25 changes: 25 additions & 0 deletions animation_controllers/riding.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.riding": {
"states": {
"default": {
"transitions": [
{
"scroll": "query.is_riding"
}
],
"on_exit": ["/tag @s add riding"]
},
"scroll": {
"transitions": [
{
"default": "!query.is_riding"
}
],
"on_exit": ["/tag @s remove riding"]
}
}
}
}
}
29 changes: 29 additions & 0 deletions animation_controllers/sneaking.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.sneaking": {
"states": {
"default": {
"transitions": [
{
"scroll": "query.is_sneaking"
}
],
"on_exit": [
"/tag @s add sneaking"
]
},
"scroll": {
"transitions": [
{
"default": "!query.is_sneaking"
}
],
"on_exit": [
"/tag @s remove sneaking"
]
}
}
}
}
}
Loading

0 comments on commit 294de33

Please sign in to comment.