Skip to content

Instantly share code, notes, and snippets.


tryashtar tryashtar

View GitHub Profile
tryashtar / sora in
Created Oct 5, 2021
Sora in smash: my thoughts
View sora in



Sora has an idle animation of looking left, then right, then left again. This is straight out of his Kingdom Hearts 1 idle combat loop, and returns in Kingdom Hearts 2. He has a bit better posture in Smash Bros., but it's nice to see the return of this animation.

Another idle animation has Sora spin the keyblade in his off-hand, which is somewhat reminiscent of the Wisdom Form idle keyblade spin.

Another idle animation has Sora twirling the keyblade in front of himself. It resembles the beginning of the Tinker Bell summon animation from Kingdom Hearts 1.

All in all, pretty good idle animations! I most appreciate the first one.

tryashtar /
Last active Aug 27, 2021
Max effective values for enchantments
Enchantment Stackable Effective Min Effective Max Notes
Aqua Affinity Largest of first in armor 1 1
Bane of Arthropods Adds Single:
Adds 2.5 * level damage
Affects arthropods with slowness amplifier 3 for 1 + random(0, level / 2) seconds
Blast Protection Adds 1 255 Reduces damage by a factor of min(20, level * 2) / 25
Reduces explosion knockback by a factor of level * 0.15
Higher levels are treated as 255
Channeling First 1 1
Curse of Binding First 1 1
Curse of Vanishing First 1 1
Depth Strider Largest of first in armor 1 3 Higher levels are treated as 3
tryashtar /
Last active Aug 20, 2021
Bedrock mcstructure file format

Bedrock .mcstructure files

Saving and Loading

mcstructure files are created by the Export button in a structure block. To load them in game with a load structure block, the files must be placed in a behavior pack. The path determines the structure identifier, which is typed into the structure block to load the structure.


tryashtar /
Last active Mar 31, 2020
How sounds work in Bedrock Edition

Sound definition


  • Sets actual volume, making the sound louder or quieter.


  • Does nothing.


  • Does nothing.
tryashtar /
Last active Jul 1, 2020
How ores generate


Block Replaces Size Type
tryashtar / camera.mcfunction
Created Jun 8, 2019
Godlander's modified camera system for kingdom hearts
View camera.mcfunction
# @s is the player in the minecart
# 0-0-0-0-1 is the AEC the camera minecart is riding on
# 0-0-0-0-2 is sora's true position marker
# 0-0-0-0-3 is the point the camera focuses on
# 0-0-0-0-4 is the AEC sora's display model rides on
# 0-0-0-0-5 is sora's display model
# 0-0-9-0-8 and 0-0-9-0-9 are temporary markers used for math
# movement
tryashtar / bedrock block states.txt
Last active Feb 28, 2020
List of all blocks and block states in bedrock edition (* means I was unable to place or inspect this block)
View bedrock block states.txt
tryashtar / sounds.json
Last active Apr 20, 2019
History of sounds.json 1.11->1.12->1.13->1.14
View sounds.json
"ambient.cave": {
"sounds": [
tryashtar / 19w03c JSON newlines
Created Jan 19, 2019
✗ means JSON file does not end with newline, ✓ means it does (or the entire folder, with exceptions listed inside)
View 19w03c JSON newlines
✗ version.json
✓ assets/minecraft/blockstates
✗ brain_coral.json
✗ bubble_coral.json
✗ fire_coral.json
✗ horn_coral.json
✗ jigsaw.json
✗ tube_coral.json
✗ assets/minecraft/font
✓ assets/minecraft/lang
tryashtar /
Created Jan 14, 2019
mcedit filter to make paintings invulnerable
displayName = "Invulnerable Paintings"
def perform(level, box, options):
for (chunk, slices, point) in level.getChunkSlices(box):
for e in chunk.Entities:
x = e["Pos"][0].value
y = e["Pos"][1].value
z = e["Pos"][2].value
if (x, y, z) in box:
if e["identifier"].value == "minecraft:painting":