These are chat archives for netherrack/netherrack

20th
Apr 2016
109C
@109C
Apr 20 2016 02:28
Yeah it's kinda weird, yet interesting.
mhsjlw
@mhsjlw
Apr 20 2016 14:26
@109C sorry i've been swamped with other stuff lately
this weekend i'll work on it
assuming i don't have time this week
109C
@109C
Apr 20 2016 14:27
Finals?
mhsjlw
@mhsjlw
Apr 20 2016 14:29
no , life and homework
thankfully not finals ;)
*;)
mhsjlw
@mhsjlw
Apr 20 2016 15:57
ok, atm i've got a quick break, so i'm going to check up on netherrack
mhsjlw
@mhsjlw
Apr 20 2016 19:50
holy @109C , you've been getting things done :D
i think i'm going to tweak generation a bit and try to add player spawning
109C
@109C
Apr 20 2016 21:28
Yeah, I've been working on it a bit.
mhsjlw
@mhsjlw
Apr 20 2016 21:46
yeah i want to add grass, trees and moar flowerzzz
then maybe some ores
mhsjlw
@mhsjlw
Apr 20 2016 22:40
hmm
anvil loading is for nubs
we don't need that yet
or do we hmm
nah
109C
@109C
Apr 20 2016 22:41
Real programmers load with a butterfly.
mhsjlw
@mhsjlw
Apr 20 2016 22:41
there are probably so may libs for it
109C
@109C
Apr 20 2016 22:42
What happened to the refactoring branch?
it just went poof
mhsjlw
@mhsjlw
Apr 20 2016 22:42
yeah i got rid of it
no point
we can refactor later
for now it's fine
hmm just working on worldgen
still lol
109C
@109C
Apr 20 2016 22:45
You really do like your flowers don't you? :D
mhsjlw
@mhsjlw
Apr 20 2016 22:45
yes :D
and grass
:P
we should make an enum for all blocks in the game
this is annoying to search ids
109C
@109C
Apr 20 2016 22:46
Plus its more portable.
mhsjlw
@mhsjlw
Apr 20 2016 22:46
yeah
i
*i'll do it later i think
like later today probably
idk
109C
@109C
Apr 20 2016 22:47
//TODO
mhsjlw
@mhsjlw
Apr 20 2016 22:47
yeah
hmm
trying to think of how to make grass more common
109C
@109C
Apr 20 2016 22:50
More common? the whole map is covered in grass. xD
mhsjlw
@mhsjlw
Apr 20 2016 22:50
no, like weeds
hmm
mhsjlw
@mhsjlw
Apr 20 2016 22:56
how should i decrease the intensity of the generator?
these hills are a little high
ok well i am going to do a really bad hacky tree implementation
because, why the fck not
mhsjlw
@mhsjlw
Apr 20 2016 23:05
ok first test
this can't end well
oh god
what have i done
ok well
kind of fixed but still wtf
lmao
well
it's confirmed
i can't program or write algorithms
mhsjlw
@mhsjlw
Apr 20 2016 23:10
ok well first, let's fix the fact that there is floating trees LOL
mhsjlw
@mhsjlw
Apr 20 2016 23:17
    private BlockState getBlock(Chunk[] chunks, int x, int y, int z) {
        int chunkY = (int) Math.floor(y / 16);

        int xOffset = x % 16;
        int zOffset = z % 16;

        // Workaround for the module bug.
        while (xOffset < 0)
            xOffset += 16;
        while (zOffset < 0)
            zOffset += 16;

        if (chunkY < 0 || chunkY > 16)
            return new BlockState(0,0);

        return chunks[chunkY].getBlocks().get(xOffset, y % 16, zOffset);
    }
why does that always return 0 for the block id wtf?
@109C
argg
why do zee trees spawn in the air
wtf
mhsjlw
@mhsjlw
Apr 20 2016 23:28
im kind of confused
glowstone imports bukkit?
mhsjlw
@mhsjlw
Apr 20 2016 23:38
LOL
LOLZ
ok brb
gonna drink some bleach
im done
mhsjlw
@mhsjlw
Apr 20 2016 23:45
arg
wait this should work fine though shouldn't it?
because it can place blocks in overlapping chunks
so why isn't this algo working
mhsjlw
@mhsjlw
Apr 20 2016 23:57
ok im just like
what
what is wrong