How to make a block disappear after time?

Started by God_Of_Wood on Sat, 08/08/2020 - 21:03

Topic category: Help with modding (Java Edition)

Last seen on 23:06, 17. Jun 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make a block disappear after time?
Sat, 08/08/2020 - 21:03

I have a weapon that creates an ice shield around you, but I want the ice to disappear after a certain amount time, how could I do that?

Last seen on 22:49, 17. Mar 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
If you made a custom block…
Thu, 08/13/2020 - 14:43

If you made a custom block for the ice, you set its tick speed to the number of seconds X 20 you want it to last. Then, in a procedure for when the block ticks, have "place Air at X Y Z."

Or you could have it place frosted_ice (the stuff placed by the Frost Walker enchantment). Frosted ice automatically melts after a few seconds, and even has a cool cracking animation.

Last seen on 12:06, 2. Apr 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
The curse of vanishing on…
Fri, 03/26/2021 - 10:02

The curse of vanishing on Minecraft is one such trouble-maker. When this enchantment is applied on any weapon, it disappears after death and makes it impossible to loot the weapon. This is one of the rare curses and is not easily obtained. The curse is available just in one level and can be found extensively on specific places in the game. As mentioned above, the curse of vanishing was included in the game only in the exploration update.

Last seen on 12:06, 2. Apr 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Here is the full guide to…
Fri, 04/02/2021 - 12:06

Here is the full guide to curse of vanishing incase anyone was wondering. When you apply the cruse of vanishing on a tool or weapon, the enchanted weapon disappears after the death of the player. The curse can be applied to almost every weapon on Minecraft.

Last seen on 19:19, 17. Jun 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
This is not helpful. The…
Wed, 05/12/2021 - 23:37

This is not helpful. The modder want to make the ice disappear, not item disappear.

 

But yeah, basically use this code for the ice cube on-block-added procedure:

wait [100] ticks thenon server side do

        place [minecraft:air] at x: [x] y: [y] z: [z]

end

Last seen on 10:38, 17. Jun 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
To apply the curse to any…
Wed, 06/16/2021 - 10:54

To apply the curse to any object, you will need to have, an anvil, the enchantment book and an item you wish to apply the curse on. To perform the curse open the enchantment book. Place the item that you wish to curse and the enchantment book inside the anvil. Now, when you place the item back in the inventory, you can notice that the item has been cursed. When a player dies, the cursed item doesn’t have to be worn to disappear. Even if it is present in the inventory, upon the death of the player, the item automatically disappears. You can use it against your enemy to make sure that he gains no loots after your death. The curse could be both a boon and a bane. It depends on the situation on which the player is and the item that is cursed.