PageSourceSearch

https://novamachina-mods.github.io/assets/js/eeda9d6d.50429072.js

js novamachina-mods.github.io collected 2026-10-03 09:43:15 UTC 4,446 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkex_nihilo_sequentia_documentation=self.webpackChunkex_nihilo_sequentia_documentation||[]).push([[9096],{3905:(e,t,n)=>{n.d(t,{Zo:()=>l,kt:()=>d});var r=n(7294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=r.createContext({}),u=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},l=function(e){var t=u(e.components);return r.createElement(c.Provider,{value:t},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,c=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),s=u(n),f=i,d=s["".concat(c,".").concat(f)]||s[f]||m[f]||a;return n?r.createElement(d,o(o({ref:t},l),{},{components:n})):r.createElement(d,o({ref:t},l))}));function d(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,o=new Array(a);o[0]=f;var p={};for(var c in t)hasOwnProperty.call(t,c)&&(p[c]=t[c]);p.originalType=e,p[s]="string"==typeof e?e:i,o[1]=p;for(var u=2;u<a;u++)o[u]=n[u];return r.createElement.apply(null,o)}return r.createElement.apply(null,n)}f.displayName="MDXCreateElement"},6329:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>m,frontMatter:()=>a,metadata:()=>p,toc:()=>u});var r=n(3117),i=(n(7294),n(3905));const a={},o="Heat Recipe",p={unversionedId:"configuration/KubeJS/Recipes/HeatRecipe",id:"version-5.0.0/configuration/KubeJS/Recipes/HeatRecipe",title:"Heat Recipe",description:"Method Signature",source:"@site/exn_versioned_docs/version-5.0.0/configuration/KubeJS/Recipes/HeatRecipe.md",sourceDirName:"configuration/KubeJS/Recipes",slug:"/configuration/KubeJS/Recipes/HeatRecipe",permalink:"/exnihilosequentia/configuration/KubeJS/Recipes/HeatRecipe",draft:!1,tags:[],version:"5.0.0",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Harvest Recipes",permalink:"/exnihilosequentia/configuration/KubeJS/Recipes/HarvestRecipe"},next:{title:"Melting Recipes",permalink:"/exnihilosequentia/configuration/KubeJS/Recipes/MeltingRecipe"}},c={},u=[{value:"Method Signature",id:"method-signature",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Example",id:"example",level:2}],l={toc:u},s="wrapper";
1function m(e){let{components:t,...n}=e;return(0,i.kt)(s,(0,r.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"heat-recipe"},"Heat Recipe"),(0,i.kt)("h2",{id:"method-signature"},"Method Signature"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"heat(input: string, amount: number, properties: Map<string, any>)")),(0,i.kt)("h2",{id:"parameters"},"Parameters"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"input")," - Block to provide heat",(0,i.kt)("br",{parentName:"p"}),"\n",(0,i.kt)("inlineCode",{parentName:"p"},"amount")," - Number of heat units provided by block",(0,i.kt)("br",{parentName:"p"}),"\n",(0,i.kt)("inlineCode",{parentName:"p"},"properties")," - BlockState properties that must be met for the block to produce heat"),(0,i.kt)("h2",{id:"example"},"Example"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-javascript"},"onEvent('recipes', event => {\n    event.recipes.exnihilosequentia.heat('minecraft:hay_block', 200)\n    event.recipes.exnihilosequentia.heat('minecraft:campfire', 4, {\"lit\": \"true\"})\n});\n")))}m.isMDXComponent=!0}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.