Jump to content

Recommended Posts

Posted

Hello,

I am trying to create an unbreakable block but that I can move with pistons.

So I got the indestructible part figured out from the BEDROCK block.

And I get the properties of GLASS to make it unspawnable.

But it looks that it also makes it unpushable.

These are the properties of my block:

public static final BlockBehaviour.Properties MY_BLOCK_PROPERTIES = BlockBehaviour.Properties
            .of(Material.GLASS, MaterialColor.TERRACOTTA_BLACK)
            .strength(-1.0F, 3600000.0F)
            .noDrops()
            .sound(SoundType.METAL);

Any idea how I can make my block pushable ?

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.