Create custom powder snow?

Started by Baboobraz on

Topic category: Help with modding (Java Edition)

Last seen on 23:06, 1. Dec 2023
Joined Feb 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create custom powder snow?

How can I create custom powder snow? I want a block that pulls you in in the same way that powder snow does, but I'm not sure how to do it. I was thinking that if I have it set to while entity is ontop of/inside of the block, it brings them down slowly, but I would need to check which block the entity is on top of and I'm not sure how to do that. Any advice? 

Last seen on 07:24, 23. Mar 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you're trying to test for if…
Sun, 10/08/2023 - 20:52

you're trying to test for if the block the player/entity is standing on is the powder snow (or however you named it), right?

so you need to make a procedure: IF > the block an entity is standing on (you can use a block procedure, and test is for Y -1) is <your block> do... (make something happen)

i'm not 100% sure how to make the block act like powder snow but in terms of procedures that's how you can test for the block below the player (you can change the -1 to 0 or something else for when the player/entity is inside the block)