#First time making a block!
39 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Paste version of Presolarite.txt from @rapid tusk
is the code not working or the color of the codeblock you sent?
You can write your code in a codeblock by typing it between the codeblock delimiters:
Note that these are backticks, not apostrophes
```js :arrow_left:
ServerEvents.recipes(event => {
event.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
``` :arrow_left:
This example will look like this:
ServerEvents.recipes(event => {
event.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
event.create("Presolarite") make the p lowercase
.unbreakable should be .unbreakable()
why is it unbreakable but also can be mined with a pickaxe
.tagBlock("minecraft:mineable/pickage") pickage?
yeah... did i mention its my first time
Minecraft Server > kubejs > startup_scripts
is the script in a .txt or .js file?
.txt
it needs to be .js
i'd recommend making it a .js file
how do i go about changing that?
rename the file to presolarite.js
ive renamed it, however now its official name in the properties is presolarite.js.txt lol so i dont think that fixed it
you didn't rename it then
well
i mean you did
but you didnt change the file type
correct
while the file type is visible (which you do by doing what my screenshots say) rename it INCLUDING the file type
woop
Please close your ticket (with </ticket close:1054771505520717835> or the button atop this thread) once you resolved your issue! This also helps others that would like to help out, as they don't have to look into this thread to check if it has been resolved by now.
Do you have any other questions regarding your issue? Feel free to ask!
Note: You generally should create a new post for unrelated issues.