Sup every 1.I have a problem with updating imported blocks of water.Yes, all this can be solved by using sand, but I'm creating a large map on which such problems will be everywhere, maybe there is a way to make the water fall?
Do not suggest an active water it's make it spread in all directions...

Select area > fill and replace > find air replace with water.
It might not work depending on you're problem(you did not describe it properly!).

import random
from pymclevel import MCSchematic
inputs = (
("length", (1, 1, 100)),
)
displayName = "Grow Vines"
def perform(level, box, options):
length = options["length"]
blockData = 15
g = 5
if g == 5:
for x in xrange(box.minx, box.maxx):
for z in xrange(box.minz, box.maxz):
for y in xrange(box.miny, box.maxy):
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 1:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 1)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 2:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 2)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 3:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 3)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 4:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 4)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 5:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 5)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 6:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 6)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 7:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 7)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 8:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 8)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 9:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 9)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 10:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 10)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 11:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 11)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 12:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 12)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 13:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 13)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 14:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 14)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 15:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 15)

Its the exact same script without the while loop. With this i can't choose the length. My problem is that i can't get the while loop to work, it crashes mcedit with no errors.

import random
from pymclevel import MCSchematic
inputs = (
("length", (5, 1, 100)),
)
def perform(level, box, options, blockData = 15):
length = options["length"]
g = 5
if g == 5:
for x in xrange(box.minx, box.maxx):
for z in xrange(box.minz, box.maxz):
for y in xrange(box.miny, box.maxy):
if level.blockAt(x, y, z) == 106 and level.blockAt(x,y-1,z) == 0:
level.setBlockAt(x, y-1, z, 106])
level.setBlockDataAt(x, y-1, z, length)

Alternativey, this code should be fully working, the vines grow to the specified length and are given a metadata of 15 so they grow quickly.

import random
from pymclevel import MCSchematic
inputs = (
("length", (5, 1, 100)),
)
displayName = "Grow Vines"
def perform(level, box, options):
length = options["length"]
blockData = 15
g = 5
if g == 5:
for x in xrange(box.minx, box.maxx):
for z in xrange(box.minz, box.maxz):
for y in xrange(box.miny, box.maxy):
while(length > 0):
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0:
level.setBlockAt(x, y-1, z, 106)
level.setBlockDataAt(x, y-1, z, blockData)
length = length - 1
y = y - 1

Ok, now i have it like this:

import random
from pymclevel import MCSchematic
inputs = (
("length", (1, 1, 100)),
)
displayName = "Grow Vines"
def perform(level, box, options):
length = options["length"]
blockData = 15
g = 5
if g == 5:
for x in xrange(box.minx, box.maxx):
for z in xrange(box.minz, box.maxz):
for y in xrange(box.miny, box.maxy):
while(length > 0):
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 1:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 1)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 2:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 2)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 3:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 3)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 4:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 4)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 5:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 5)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 6:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 6)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 7:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 7)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 8:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 8)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 9:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 9)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 10:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 10)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 11:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 11)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 12:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 12)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 13:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 13)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 14:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 14)
if level.blockAt(x, y, z) == 106 and level.blockAt(x, y-1, z) == 0 and level.blockDataAt(x, y, z) == 15:
level.setBlockAt(x, y-length, z, 106)
level.setBlockDataAt(x, y-length, z, 15)
length = length - 1
y = y - 1

This crashes mcedit when i use it. If i remove the while loop, it works but then i have to click the 'filter' button several times to get the length i want. The same thing happends with the code you wrote.

Thanks for you're help, dezlad. This is the first time i am coding something, so i might be a little bit noobish

Hello! im trying to make a filter, but i don't know how to deal with data values for blocks. Anyone who wants to tell me?
Its a filter for extending vines. (Make them grow faster - kind off)

import random
from pymclevel import MCSchematic
inputs = (
("length", (5, 1, 100)),
)
def perform(level, box, options, blockData = 15):
length = options["length"]
g = 5
if g == 5:
for x in xrange(box.minx, box.maxx):
for z in xrange(box.minz, box.maxz):
for y in xrange(box.miny, box.maxy):
if level.blockAt(x, y, z) == 106 and level.blockAt(x,y-1,z) == 0:
level.setBlockAt(x, y-1, z, 106[insert datavalue here])

Well you could try the fix I said you could try earlier pull your cmos battery out. If you get into your harddrive compartment it will be under the harddrive or at least should.

Yeah, i'll try that. Messing under the cover won't affect the warrant in any way, right? I don't break any seals when i open it so i guess it is fine.

In any case, taking the cover off might or might not help cool it off.

For load, the temps (except the HDD) are mostly fine, but you should still really work on cooling it down.

As for the battery, usually a restart fixes when windows misreads the % left, if it isn't then the battery likely is dying that quickly.

I have restarted my laptop several times after it messed up. It still drains very quick (BatteryBar says 19mins is max from 100% to 0) If i turn it back on after is shut down at 10% or so, it stays on for about 1h. (with batterybar showing 0% all the time.)

0

Yup, please update it

0

Is there any way to re-activate custom biomes?

Edit; Nevermind, i fixed it.

1

Select area > fill and replace > find

airreplace withwater.It might not work depending on you're problem(you did not describe it properly!).

0

0

0

0

Edit: i also tried with you're version, it did not work.

0

0

Its the exact same script without the while loop. With this i can't choose the length. My problem is that i can't get the while loop to work, it crashes mcedit with no errors.

Another problem is that it is very slow atm.

0

Ok, now i have it like this:

.py file

This crashes mcedit when i use it. If i remove the while loop, it works but then i have to click the 'filter' button several times to get the length i want. The same thing happends with the code you wrote.

Thanks for you're help, dezlad. This is the first time i am coding something, so i might be a little bit noobish

0

I mean like 50x faster or something, it will be very useful for creating maps.

Thanks!

0

Its a filter for extending vines. (Make them grow faster - kind off)

0

0

Yeah, i'll try that. Messing under the cover won't affect the warrant in any way, right? I don't break any seals when i open it so i guess it is fine.

0

I have restarted my laptop several times after it messed up. It still drains very quick (BatteryBar says 19mins is max from 100% to 0) If i turn it back on after is shut down at 10% or so, it stays on for about 1h. (with batterybar showing 0% all the time.)