Jump to content

add woodlog block to forge 1.12.2


wixx1994

Recommended Posts

hey guys is there anyone who is able to help me with the coding to add a block to forge that acts and sounds like a wood log block like oak or acacia logs?

im able to make cube_column blocks into forge but how do I add the ability for the block to rotate when placed onto a side of a block like how the log blocks act? 

Untitled.png

Link to comment
Share on other sites

the block texture doesn't load unless I add "normal": {"model": "mm:test_block} . Would there be other commands to make the block act like a wood log block?

 

by the way, I really appreciate you looking into this even if we don't find a solution :)

 

-------------------------------------------------------

[mm/models/blocks/test_block.json]

{

    "parent": "block/cube_column",
    "textures": {
        "end": "mm:blocks/test_block_top",
        "side": "mm:blocks/test_block"
    }
}
-----------------------------------------------------------

[mm/models/blockstates/test_block.json]

{
    "variants": {
        "axis=y":  { "model": "mm:test_block" },
        "axis=z":   { "model": "mm:test_block", "x": 90 },
        "axis=x":   { "model": "mm:test_block", "x": 90, "y": 90 },
        "axis=none": { "model": "mm:test_block_bark" }
    }
}
------------------------------------------------------------

[mm/models/item/test_block.json]

{
    "parent": "mm:block/test_block"
}

------------------------------------------------------------

[mm/models/blocks/test_block_bark.json]

{
    "parent": "block/cube_all",
    "textures": {
        "all": "mm:blocks/test_block"
    }
}
(some extra json i found which accompanied the wood log jsons)

-------------------------------------------------------------

 

ModBlocks.java

BlockBase.java

Main.java

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.