-
Notifications
You must be signed in to change notification settings - Fork 23
ParticleStack KubeJS Integration
Sergey edited this page Oct 19, 2025
·
1 revision
This document describes the KubeJS integration for ParticleStack in NuclearCraft Neoteric.
ServerEvents.recipes(event => {
event.custom({
type: 'nuclearcraft:target_chamber',
input: [
{
item: 'nuclearcraft:americium_242'
}
],
inputParticles: [
{
particle: 'antideuteron',
amount: 1000000,
meanEnergy: 1,
focus: 1.0
}
],
output: [
{
item: 'nuclearcraft:americium_spallation_waste'
}
],
outputParticles: [
{
particle: 'pion_plus',
amount: 1,
meanEnergy: 4,
focus: 1.0
},
{
particle: 'pion_naught',
amount: 1,
meanEnergy: 4,
focus: 1.0
},
{
particle: 'pion_minus',
amount: 1,
meanEnergy: 4,
focus: 1.0
}
],
crossSection: 1.0,
maxEnergy: 10000000,
powerModifier: 1.0,
timeModifier: 1.0,
radiation: 1.0
})
}){
particle: 'proton', // Particle name (string)
amount: 100, // Number of particles (integer)
meanEnergy: 1000, // Average energy of particles (long)
focus: 0.8 // Focus value (double, represents inverse area of beam)
}JEIEvents.hideCustom(event => {
var particleType = Java.loadClass('igentuman.nc.compat.jei.ingredient.ParticleType').Particle;
event.get(particleType).hide('nuclearcraft:particle/proton');
})