Modscraper Modscraper Minecraft
KubeJS Curios logo

KubeJS Curios

Mod

by zhaiji

Curios integration for Kubejs

Type

Mod

CurseForge Downloads

3,141,135

CurseForge ID

1255211

Last Updated

Sep 8, 2026

Description

Curios integration for KubeJS

Use this mod, you can:

  1.Get CuriosHelper from LivingEntity

  2.Create Custom Curios

  3.Add Curios capabilities to items

  4.Register or remove Curios render

  5.Add CuriosJS Events

LivingEntity Curios Helper

Registry Curios & Item Modify (Startup)

StartupEvents.registry('item', event => { event.create('test') .attachCuriosCapability( CuriosJSCapabilityBuilder.create() .curioTick((slotContext, stack) => { }) .onEquip((slotContext, oldStack, newStack) => { }) .onUnequip((slotContext, oldStack, newStack) => { }) .canEquip((slotContext, stack) => true) .canUnequip((slotContext, stack) => true) .modifySlotsTooltip((tooltips, stack) => tooltips) .addAttribute( "minecraft:generic.max_health", UUID, 20, 'addition' ) .modifyAttribute(attributeModificationContext => { let { slotContext, UUID, stack, modifiers } = attributeModificationContext attributeModificationContext.modify( "minecraft:generic.armor", "identifier", 20, 'addition' ) }) .canDrop((slotContext, source, lootingLevel, recentlyHit, stack) => true) .modifyAttributesTooltip((tooltips, stack) => tooltips) .modifyFortuneLevel((slotContext, lootContext, stack) => 0) .modifyLootingLevel((slotContext, source, target, baseLooting, stack) => 0) .makesPiglinsNeutral((slotContext, stack) => false) .canWalkOnPowderedSnow((slotContext, stack) => false) .isEnderMask((slotContext, enderMan, stack) => false) ) .maxStackSize(1) .tag("curios:head") }) ItemEvents.modification(event => { event.modify('apple', item => { item.attachCuriosCapability( CuriosJSCapabilityBuilder.create() .curioTick((slotContext, stack) => { }) .onEquip((slotContext, oldStack, newStack) => { }) .onUnequip((slotContext, oldStack, newStack) => { }) .canEquip((slotContext, stack) => true) .canUnequip((slotContext, stack) => true) .modifySlotsTooltip((tooltips, stack) => tooltips) .addAttribute( "minecraft:generic.max_health", "identifier", 20, 'addition' ) .modifyAttribute(attributeModificationContext => { let { slotContext, UUID, stack, modifiers } = attributeModificationContext attributeModificationContext.modify( "minecraft:generic.armor", UUID, 20, 'addition' ) }) .canDrop((slotContext, source, lootingLevel, recentlyHit, stack) => true) .modifyAttributesTooltip((tooltips, stack) => tooltips) .modifyFortuneLevel((slotContext, lootContext, stack) => 0) .modifyLootingLevel((slotContext, source, target, baseLooting, stack) => 0) .makesPiglinsNeutral((slotContext, stack) => false) .canWalkOnPowderedSnow((slotContext, stack) => false) .isEnderMask((slotContext, enderMan, stack) => false) ) }) })

Render (Client)

CuriosJSEvents.registerRenderer(event => { // remove curios render event.remove('test') // register curios render event.register( 'apple', context => { let { stack, slotContext, matrixStack, renderLayerParent, renderTypeBuffer, light, limbSwing, limbSwingAmount, partialTicks, ageInTicks, netHeadYaw, headPitch } = context let { modelManager } = Client let entity = slotContext.entity() let model = modelManager.getModel(new ModelResourceLocation(stack.id, 'inventory')) matrixStack.pushPose() CuriosRenderer.translateIfSneaking(matrixStack, entity) matrixStack.mulPose(new Quaternionf().rotateZ(JavaMath.toRadians(180))) matrixStack.mulPose(RotationAxis.YP.deg(-netHeadYaw)) matrixStack.mulPose(RotationAxis.XP.deg(-headPitch)) Client.itemRenderer.render( stack, 'head', false, matrixStack, renderTypeBuffer, light, OverlayTexture.NO_OVERLAY, model ) matrixStack.popPose() } ) })

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Screenshots

Similar Mods

Included in Modpacks (98)

Show fewer
FTB StoneBlock 4 FTB StoneBlock 4 MC Eternal 2 MC Eternal 2 Society: Sunlit Valley Society: Sunlit Valley Prodigium Reforged (Terraria Pack) Prodigium Reforged (Terraria Pack) Reminiscence Reminiscence Restless Horizons Restless Horizons A Distant Journey A Distant Journey Roguelike Adventures and Dungeons 3 Roguelike Adventures and Dungeons 3 PandAce's World PandAce's World Create Colonies - AERONAUTICS Create Colonies - AERONAUTICS Druidic Quest: Expert Druidic Quest: Expert TechAcademy TechAcademy The Fallen World - Prehistoric Corruption The Fallen World - Prehistoric Corruption NeepMeat - Trifecta NeepMeat - Trifecta Create: Cobblemon [Cardboard Edition] Create: Cobblemon [Cardboard Edition] Xomaps Potato Master Xomaps Potato Master Realm of Destiny Realm of Destiny Mechanomania Mechanomania Mystical Block 2 Mystical Block 2 Creatopia Unbound Creatopia Unbound Create Eternal Journey Create Eternal Journey PS Homegrown - Sunlit Valley PS Homegrown - Sunlit Valley BeetleKnight's Beyond BeetleKnight's Beyond Xomaps 2 Xomaps 2 HeroCraft made by DieAvengers3 HeroCraft made by DieAvengers3 Who Am I - Not Me Who Am I - Not Me Matti's Skyblock Matti's Skyblock Greg-E Greg-E All Roads Lead to The Void All Roads Lead to The Void Dawn Piece Dawn Piece MI:Lost Favor MI:Lost Favor Sonic Block FF Sonic Block FF Modustrie Modustrie TerraFirmaKingdoms Season 1 TerraFirmaKingdoms Season 1 SkyTech Evolution SkyTech Evolution Furtastic (a changed adventure) Furtastic (a changed adventure) Dragon create Dragon create The Darkstorm Modpack The Darkstorm Modpack LuxeCraft SMP LuxeCraft SMP Create-O-Holics 1 dot 5 Create-O-Holics 1 dot 5 Creative Drawers Producer 2 Creative Drawers Producer 2 GATE Guns & Magic GATE Guns & Magic DiscoveryRPG DiscoveryRPG Witches, Warlocks, Vampires, and Werewolves Witches, Warlocks, Vampires, and Werewolves The SV Vault The SV Vault Chronost Incorporated Chronost Incorporated Ages Reimagined Ages Reimagined Crafterria: Genes & Gears Crafterria: Genes & Gears Xomaps Potato Sky Xomaps Potato Sky GameGarden Ultimate GameGarden Ultimate Magic & Mechanisms - Airborne Magic & Mechanisms - Airborne Blighted Dreams Blighted Dreams Tinkerer Kingdom Tinkerer Kingdom THE FORGOTTEN SMP THE FORGOTTEN SMP Mechanical suffering Mechanical suffering Project Z - Zombie Apocalypse Project Z - Zombie Apocalypse Maor The King Of The Light Maor The King Of The Light The Collective, The Aeronautical Edition The Collective, The Aeronautical Edition MagicaIndustries MagicaIndustries CUNICULUM CUNICULUM Collectionist Collectionist Stalecraft Stalecraft Absolute Industrialization Absolute Industrialization PioneersTFC PioneersTFC Gregtech Voyager Gregtech Voyager Mechanical Infinity Mechanical Infinity Valley Chill Valley Chill Redwolf's Crazy World Redwolf's Crazy World Create Boundary Engineer Create Boundary Engineer GearboundSMP S2 - Create Multiplayer GearboundSMP S2 - Create Multiplayer Warspire Warspire Revitrix Revitrix cobblemon & create cobblemon & create Toky Craft Toky Craft Create Astralization Create Astralization Mint Flavored Mint Flavored CreateSMP Aeronautics CreateSMP Aeronautics Create - New Age Survival Create - New Age Survival Syntex Gaming Community Syntex Gaming Community Cobblemon Grand Journey Cobblemon Grand Journey Goon Wars Goon Wars Everglave Everglave Creative TFC Creative TFC Cogwork Genesis Cogwork Genesis Industrial Colony 2 Industrial Colony 2 World's Coliding World's Coliding Civilization Isolaria Civilization Isolaria Mystical Astral Infinity Mystical Astral Infinity Create: New Era Start Create: New Era Start Runeforge Chronicles Runeforge Chronicles Mantecraft Mantecraft Primorus Primorus Steampunk Wizard City Steampunk Wizard City ZooTech ZooTech Journey in Motion Journey in Motion Cobblemon Forever Edition Cobblemon Forever Edition The Last: Between Realms The Last: Between Realms The Cobblemon Collective The Cobblemon Collective

External Resources