#weird bug with custom block

16 messages · Page 1 of 1 (latest)

delicate sparrow
#

i made a custom block with a light level and when i hold it it give off the full light level but when i place it it doesnt do much. also when i hold it it has no texture in my hand

left bayBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

delicate sparrow
#

also when i get near a placed version of the block while holding the block the placed one gives off negative light

delicate sparrow
#

help

robust dome
delicate sparrow
#

it has a texture when placed but when held its black

robust dome
#

send the script and ill look at it but i think this is out my expertise (doing basic scripting)

delicate sparrow
fierce plazaBOT
#

Paste version of compressedxp.js from @delicate sparrow

robust dome
#

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.');

delicate sparrow
#

thanks for the help but chat gpt just changed the material to stone and added comments lol

robust dome
#

mabye the fix was the friends we made along the way

delicate sparrow
#

lmao i guess it was

robust dome
#

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.

delicate sparrow
#

chat gee pee tee