#directional blocks

30 messages · Page 1 of 1 (latest)

glass compass
#
event.create("stripped_block_of_bamboo")
    .displayName("Stripped Block Of Bamboo")
    .material("wood")
    .hardness(1.0)
    .resistance(1.0)
    .tagBlock("logs_that_burn",'logs',)
    .tagBlock("mineable/axe")

How can i make it directional like logs?

abstract jackalBOT
#

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

sweet finch
#

hold up, lemme check somethign

#

??kjswiki

blazing craterBOT
glass compass
#

i'm looking and all i can find is

facing,
facing_hopper,
horizontal_facing,
vertical_direction

and i cant find how to use it

#

do i just do .property(facing)?

#

wait i think i may be arkham subreddit rn

sweet finch
#

this doesn't seem to be as easy as it should be hmmm

#

other posts I've seen always use blockstates and some custom logic to handle placing, no idea

glass compass
#

well theres only so much one can do in a situation like this

#

i'll look around and see if someone with the same question got a good answer

glass compass
#

a link to a thread that links to a message of a person linking a message

#

all for fjucking bamboo

#

thanks :thumbsup

#

i'll get to it ig

jaunty hedge
#

You will need to use the Axis block property in this case

#

And then you can Just use a similar Blockstate than the logs have

glass compass
#

i think i am arkham subreddit rn

glass compass
jaunty hedge
#

You copy the blockstate of oak logs and edit it so it goes to the model

#

And then you Just Set that blockstate as the one used for your block

glass compass
#

so is a blockstate like a json file?

jaunty hedge
#

Yes that's a json file

glass compass
#

are they on the wiki or is it something i can get from like blockbench

jaunty hedge
#

You inspects the Minecraft File then you Go to the assets and blockstate folders and Copy the File from there.

jaunty hedge
glass compass
#

ty 😇 i'll go try now

#

So do i make two models; one upright and one horizontal to replace "model": "minecraft:block/oak_log_horizontal", and "model": "minecraft:block/oak_log" }