Custom block highlights, block opaqueness, blocks to drop without a block under them?

Started by ForumYoshi on Sun, 06/07/2020 - 23:00

Topic category: Help with MCreator software

Last seen on 23:49, 20. Jun 2020
Joined Mar 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Custom block highlights, block opaqueness, blocks to drop without a block under them?
Sun, 06/07/2020 - 23:00

Hi.

I've got a couple things I need help with. It seems that MCreators block creation system is a bit lacking in some areas, or then I just don't know how to use it.

1. Block highlights.

I've got a custom modeled block that is not a full cube, when I look at it in the world, the hitbox is a full cube. Is there a way to make a custom block hitbox + highlight?

2. Block opaqueness.

I've got a custom block that shouldn't suffocate the player if they're inside it. But there are no settings for if the block is opaque or not. How to change it?

3. Special block properties.

I've got a block that I'd like to function a bit similar to pumpkins, where it will drop if there isn't a solid block under it. How do I make that? I cannot see any properties for this.

Last seen on 21:10, 3. Aug 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Hello ForumYoshi. 1) On the…
Sun, 06/07/2020 - 23:21

Hello ForumYoshi.
1) On the first page of the block's properties you can change the hitbox. I don't get what u mean by "hightlight" but the hitbox can be change.

2) I don't think it's possible to make a player not suffocate inside a block. Or maybe it's possible but then, I don't know sorry.

3) Just make a procedure! On your block's procedures page, create a procedure linked to "block tick update" and you check if the block at x, y-1, z is air. If yes, you destroy the block at x, y, z and drop it.

Last seen on 23:49, 20. Jun 2020
Joined Mar 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
1) Correct. It seems I can…
Sun, 06/07/2020 - 23:42

1) Correct. It seems I can modify it now, earlier it was grayed out and couldn't use it. Not sure if I can make it as I wish (it's a table model, so unlikely the hitbox system is enough complicated to allow to make that accurately).

2) Yeah, seems so.

3) Well, the thing is, I'd like to make it function exactly like a pumpkin, so it has to be a block of solid type. With that, you could place the block on tall grass, which I do not want. I'll have a look around, maybe I can make it find the blocktype of the block under it or something.

PS. If I make it like that, I can actually place it in air, but it will destroy itself the next tick. (Not pleasurable, pumpkins function in a way that you cannot even attempt to place them in air.)