GeckoJS
⚪ Last updated 2024⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
🖼️ Gallery (1 images)
🔍 Analysis
- 👍 0.1% endorsement rate
- 🏆 #184 of 344 forge mods in this game by downloads
📋 About This Mod
# Gecko JS Use GeckoLib to create animatable block/item/armor by KubeJS ## Simple Example ### Startup script ```js StartupEvents.registry("block", event => { const rotating = RawAnimation.begin().thenLoop("rotating"); event.create("geckojs:example_block", "animatable") .box(1, 1, 1, 15, 15, 15, true) .animatableBlockEntity(blockEntity => { blockEntity.addAnimation(state => state.setAndContinue(rotating)) }) .defaultGeoModel() }) ``` ### Model ```assets/geckojs/geo/block/example_block.geo.json``` ```json { "format_version": "1.12.0", "minecraft:geometry": }, "bones": , "cubes": , "size": , "uv": { "north": {"uv": , "uv_size": }, "east": {"uv": , "uv_size": }, "south": {"uv": , "uv_size": }, "west": {"uv": , "uv_size": }, "up": {"uv": , "uv_size": }, "down": {"uv": , "uv_size": } } } ] } ] } ] } ``` ### Animation ```assets/geckojs/animations/block/example_block.animations.json``` ```json { "format_version": "1.8.0", "animations": { "rotating": { "loop": true, "animation_length": 3, "bones": { "bone": { "rotation": { "vector": } } } } }, "geckolib_format_version": 2 } ``` ### Texture ```assets/geckojs/textures/block/example_block.png``` !(https://cdn.modrinth.com/data/cached_images/88fd8b077644601800dd7aa4585818dd68c19ea1.png)
# Gecko JS Use GeckoLib to create animatable block/item/armor by KubeJS
## Simple Example ### Startup script ```js StartupEvents.registry("block", event => { const rotating = RawAnimation.begin().thenLoop("rotating"); event.create("geckojs:example_block", "animatable") .box(1, 1, 1, 15, 15, 15, true) .animatableBlockEntity(blockEntity => { blockEntity.addAnimation(state => state.setAndContinue(rotating)) }) .defaultGeoModel() }) ```
### Model ```assets/geckojs/geo/block/example_block.geo.json``` ```json { "format_version": "1. 12. 0", "minecraft:geometry": [ { "description": { "identifier": "geometry.example_block", "texture_width": 48, "texture_height": 48, "visible_bounds_width": 3, "visible_bounds_height": 2. 5, "visible_bounds_offset": }, "bones": [ { "name": "bone", "pivot": , "cubes": [ { "origin": [-7, 1, -7], "size": , "uv": { "north": {"uv": , "uv_size": }, "east": {"uv": , "uv_size": }, "south": {"uv": , "uv_size": }, "west": {"uv": , "uv_size": }, "up": {"uv": , "uv_size": }, "down": {"uv": , "uv_size": } } } ] } ] } ] } ```
### Animation ```assets/geckojs/animations/block/example_block.animations.json``` ```json { "format_version": "1. 8. 0", "animations": { "rotating": { "loop": true, "animation_length": 3, "bones": { "bone": { "rotation": { "vector": ["Math.sin(query.anim_time90)180", "Math.cos(query.anim_time90)180", "Math.sin(query.anim_time90)180"] } } } } }, "geckolib_format_version": 2 } ```
### Texture ```assets/geckojs/textures/block/example_block.png``` !(https://cdn.modrinth.com/data/cached_images/88fd8b077644601800dd7aa4585818dd68c19ea1.png)
📊 Mod Details
- Game
- Minecraft Mods
- Author
- westernat233
- Version
- 2001forge-1.5.0
- Downloads
- 7,466
- Endorsements
- 7
- Category
- forge
- Created
- 2/25/2024
- Updated
- 2/25/2024
- Game Versions
- 1.20.1
- Tags
- utility
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does GeckoJS support?
The author lists 1.20.1. Other versions may work but are untested by the author.
What is the latest version of GeckoJS?
Version 2001forge-1.5.0, published 2024-02-25 with 7,466 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await
