Repository navigation
1.20.1 Example
mcm edited this page Oct 3, 2026
·
1 revision
const $Color = Java.loadClass("net.createmod.catnip.theme.Color");
const $ParticleTypes = Java.loadClass(
"net.minecraft.core.particles.ParticleTypes",
);
CreateMoreFansEvents.registry((event) => {
event
.create(`create_more_fans:honeying`)
.setCatalystBlockTag(`kubejs:honey`)
.setCatalystFluidTag(`kubejs:honey`)
.setProcessingParticles($ParticleTypes.DRIPPING_HONEY)
.displayName("Honeying")
.setJeiCategoryDisplayItem(`minecraft:honeycomb`)
.setJeiAttachedBlock(`minecraft:honeycomb_block`)
.setMorphAirFlowCallback((cb) => {
cb.particleAccess.setColor(
$Color.mixColors(0x895e0f, 0x673704, cb.random.nextFloat()),
);
cb.particleAccess.setAlpha(1.0);
if (cb.random.nextFloat() < 1.0 / 32.0) {
cb.particleAccess.spawnExtraParticle(
$ParticleTypes.FALLING_HONEY.get(),
0.125,
);
}
});
});
{
"type": "create_more_fans:honeying",
"ingredients": [
{
"item": "minecraft:apple"
}
],
"results": [
{
"item": "create:honeyed_apple"
}
]
}
{
"values": [
"create:honey"
]
}