#falling block breaking when placed on its self
1 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
its the snow material
when you place blocks on 1 layer snow the snow dissapears
this is doing that but with your block
if you want it to have the snow sound do this
const MaterialJS = java("dev.latvian.mods.kubejs.block.MaterialJS")
const Material = java('net.minecraft.world.level.material.Material')
const SoundType = java('net.minecraft.world.level.block.SoundType')
let fakeSnow = new MaterialJS('snow', Material.STONE, SoundType.SNOW)
StartupEvents.registry('block', event => {
event.create('pulp_3', 'falling').displayName('Pulp 3').material(fakeSnow).hardness(1.0).textureAll('cot:block/pulp_3')
})```
prolly will work