
NeoGeckoJS
Use GeckoLib to create animatable block/item/armor by KubeJS now on NeoForge!
Screenshots


About this Mod
Gecko JS
Use GeckoLib to create animatable block/item/armor by simply using KubeJS!
This mod was originally made for Forge 1.20.1 and had no Modrinth Version, however this both ports and updates the mod for NeoForge 1.21.1 with just about perfect 1:1 replication so any original scripts and assets work almost the same!
What're some examples?
Any of the original examples should work pretty much the exact same, again it's just about 1:1.
Startup Script:
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.addController(state => state.setAndContinue(rotating))
})
.defaultGeoModel()
})
Item Example:
StartupEvents.registry('item', event => {
event.create('cool_sword', 'anim_sword')
.tier('diamond')
.defaultGeoModel()
.addController(controller => {
controller.addAnimation(state => {
if (state.isMoving()) {
return state.setAndContinue(RawAnimation.begin().thenLoop("walk"))
}
return state.setAndContinue(RawAnimation.begin().thenLoop("idle"))
})
})
})
Armor Example:
event.create('fancy_helmet', 'anim_helmet')
.material('iron')
.defaultGeoModel()
.armorItemUseGeoModel() // Makes the item icon use the 3D model
.boneVisibility((renderer, slot) => {
// Hide a specific bone on the armor model
renderer.hideBone("extra_antenna")
})
Blocks Example:
StartupEvents.registry('block', event => {
event.create('animated_pillar', 'animatable')
.defaultGeoModel()
.addController(controller => {
controller.addAnimation(state => {
return state.setAndContinue(RawAnimation.begin().thenLoop("spin"))
})
})
})
Available Versions
How to Install NeoGeckoJS on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set neoforge Loader
In the panel under "Egg", select the neoforge loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "NeoGeckoJS". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
NeoGeckoJS server crashes on startup – what to do?
Most common cause: wrong neoforge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.
Is NeoGeckoJS compatible with neoforge?
NeoGeckoJS officially supports neoforge for Minecraft 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with NeoGeckoJS – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if NeoGeckoJS consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install NeoGeckoJS with just one click on your server.