Eureka!

A place to talk to other users about the mod.
User avatar
BinoAl
Posts: 2552
Joined: Mon Jul 04, 2011 9:39 pm
Location: Everywhere.

Re: Eureka!

Post by BinoAl »

Urian wrote:
BinoAl wrote: Really? I seem to remember you being taken by surprise that the detector block saw rain
Nah, I remember there being a bit of testing if it could detect snow as well (unless my memory fails, I was one of the few active posters back then who had his base in a snow biome so that was probably my first contribution to the thread :p ).
Aha, alright. My bad :p
Image
User avatar
Flesh_Engine
Posts: 348
Joined: Tue Jul 05, 2011 2:35 am
Location: Belgium (teh horror)

Re: Eureka!

Post by Flesh_Engine »

I have a question about the Lens block's coding.

In the 3.50 release thread someone was asking about why the lightbeam didn't pass glassblocks or panes.
FC, you replied that it wasn't possible technically; although you mentioned that the block only checks the beam's path for collisions; can't you implement an exeption that "skips" glass blocks/panes and allow the beam to "continue" to the next block?

I would have posted in that thread but it got locked so i guess this is the second best thing.
"An engine of flesh can do that..." // "Man feed Machine. Machine feed Man..."
User avatar
FlowerChild
Site Admin
Posts: 18753
Joined: Mon Jul 04, 2011 7:24 pm

Re: Eureka!

Post by FlowerChild »

Flesh_Engine wrote:I would have posted in that thread but it got locked so i guess this is the second best thing.
True, this thread can be locked too :)

I don't discuss implementation details man. Occasionally, if I have something I'm particularly excited about, I share it, and usually wind up regretting it like I am right now.
User avatar
FlowerChild
Site Admin
Posts: 18753
Joined: Mon Jul 04, 2011 7:24 pm

Re: Eureka!

Post by FlowerChild »

For one time only:

Consider 3 glass blocks in a row. Beam passing through all three. Middle one is removed. How is that detected with your proposed system?

I've spent about 10 months thinking this one over man, and am pretty intimately familiar with the MC code-base now. There's more details than I can count that went into the Lens system, and I don't want to debate each one.
Locked