Recent content by IceFreeze008

  1. IceFreeze008

    How to get the damager in the Entity Take Damage event?

    Update: I solved it by moving the whole code into the player event "Player Damage Entity Event". Now I can just use %victim for the entity and %default for the player.
  2. IceFreeze008

    How to get the damager in the Entity Take Damage event?

    I want to get the player who hits an entity so that I can find out which item the player used to hit the entity. For testing purposes, I have a SendMessage block immediately after the event, which is set to all players. In there are two books. One named "%victim" and the other one named...
  3. IceFreeze008

    Public variable

    That's right, I'll add more to this funktion. Thanks to everyone, because the "no targets" worked! Of course, it stops when there are no players on the plot, but that doesn't matter.
  4. IceFreeze008

    Public variable

    As you can see on the screenshots, before I execute the function, I select nothing.
  5. IceFreeze008

    Public variable

    Would be smarter, but I just use coordinates that I then shift in the direction to place blocks
  6. IceFreeze008

    Public variable

    Video: https://streamable.com/0etpzs All generator variables have been written without %default or %uuid.
  7. IceFreeze008

    Public variable

    I tried, it doesn't work. If the player who triggered the generator left the plot, it stops. Although there is still a player.
  8. IceFreeze008

    Public variable

    Is there a way to make a variable public, i.e. the same for everyone? For example, I have code that generates something and I don't want to make it player based. That means if there is at least 1 player on my plot, the generator is still working.
Top Bottom