event.create('custom_ladder', "basic").material('wood')
.hardness(0.4)
.soundType("ladder")
.textureAll('minecraft:block/oak_planks')
.renderType('cutout')
.property(BlockProperties.FACING)
.box(0, 0, 0, 0, 16, 16)//This makes it 2d like a ladder
.placementState(c =>{
c.set(BlockProperties.FACING, c.nearestLookingDirection.opposite)}
)
I'm trying to create a 'decayed' version of a ladder in Minecraft using KubeJS. So far, I've managed to create a 2D block similar to a ladder, but it's not facing the direction I expect and doesn't change direction when placed. Additionally, I want to restrict where it can be placed, just like a regular ladder. How can I achieve these features? I figure its just a matter of getting the box correct. As if i change it to be 1 pixel, it does seem to change direction. Oh oi also cant seem to break it heh