LemADEC / WarpDrive

A warp drive mod for minecraft
69 stars 39 forks source link

Cameras do not see entities through transparent blocks. #525

Open jhammerberg opened 1 year ago

jhammerberg commented 1 year ago

Issue:

WarpDrive Cameras do not see entities through transparent blocks when using them as a computer peripheral.

Steps to reproduce:

To reproduce, simply have an animal behind glass or any other transparent blocks and connect a camera to a computer with a script to detect entities.

Expected Behavior:

I would expect the camera to be able to detect entities behind transparent blocks like glass since you can see through transparent blocks just fine if you attach it to a monitor, the computer peripheral functionality should be identical.

Version:

I am on WarpDrive 1.5.24 using the official World War Minecraft 11 Modpack.

Explanation:

If this is intended behavior, please consider changing it because it would allow me to use cameras in more useful ways.

LemADEC commented 1 year ago

This comes from vanilla behavior: transparent blocks are ignored (for example, simulated air is transparent), while collidable blocks are blocking (whether they are translucent or not).