#weird bug with custom block
16 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
also when i get near a placed version of the block while holding the block the placed one gives off negative light
help
if u could send your script that would be amazing im not amazing at this stuff but from my experince with the texture missing the file name you have for the block and what is in the script most likely does not match
it has a texture when placed but when held its black
send the script and ill look at it but i think this is out my expertise (doing basic scripting)
Paste version of compressedxp.js from @delicate sparrow
this is what chat gpt gave me ```StartupEvents.registry("block", (event) => {
event.create("v_borne:compressed_xp")
.displayName("Compressed Experience")
.material('stone') // 'metal' or 'stone' should work depending on your design
.hardness(1.0)
.resistance(1.2)
.requiresTool(true)
.tagBlock("mineable/pickaxe")
.tagBlock("forge:storage_blocks")
.fullBlock(true)
.lightLevel(15) // Should emit maximum light level (0-15)
.soundType('amethyst_cluster');
});
// Log confirmation to check if the block is registered successfully
console.info('Compressed Experience block registered successfully.');
thanks for the help but chat gpt just changed the material to stone and added comments lol
well i tried
mabye the fix was the friends we made along the way
lmao i guess it was
The fix for the compressed xp texture issue wasn't just about correcting the code, it was about the journey we took together—like an adventure through the world of Minecraft modding, where the real treasure was the friendships we forged along the way. ES7509, you, and I, all working as a team, learning from the challenges, laughing at the small mistakes, and celebrating each step closer to the final solution. From misplaced slashes to missing textures, the process was more than just troubleshooting—it was about collaborating, growing, and enjoying the camaraderie that made the victory even sweeter. Together, we didn’t just fix the script—we built a connection as strong as the most unbreakable block.
chat gee pee tee