I have a YML file like this:
How do I do that?
And I want to delete one of these like:padlocks:
- '{"world":"world","x":8433,"y":61,"z":1261}'
- '{"world":"world","x":8418,"y":74,"z":1451}'
- '{"world":"world","x":2751,"y":90,"z":586}'
- '{"world":"world","x":8411,"y":42,"z":1363}'
- '{"world":"world","x":8406,"y":63,"z":1423}'
- '{"world":"world","x":2755,"y":89,"z":609}'
Code:
if {_x} = 8433 and {_y} = 61 and {_z} = 1261:
#delete the line which contains those values