#Custom block lets me see through the floor ?

5 messages · Page 1 of 1 (latest)

errant ivy
#

also it emits light if i hold the item for some reason

abstract pythonBOT
#

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

errant ivy
#
StartupEvents.registry('block', event => {
    event.create('fine_mesh')
        .material('glass') 
        .hardness(0.3)
        .resistance(1.5)
        .displayName('Fine Mesh')
        .textureAll('kubejs:block/mesh_block') 
        .renderType('translucent')
        .lightLevel(10) 
        .tagBlock('minecraft:minable/pickaxe') 
        .tagBlock('minecraft:needs_iron_tool') 
})

humble onyx
#

try this

StartupEvents.registry('block', event => {
    event.create('fine_mesh')
        .material('glass') 
        .hardness(0.3)
        .resistance(1.5)
        .textureAll('kubejs:block/mesh_block') 
        .defaultTranslucent()
        .lightLevel(10) 
        .tagBlock('minecraft:minable/pickaxe') 
        .tagBlock('minecraft:needs_iron_tool') 
})
trail dome
#

The light is likely from a dynamic lights mod automatically detecting it’s a light emitting block