PC-Logix / LanteaCraft

A Stargate-themed mod for Minecraft
http://lanteacraft.com
Other
43 stars 21 forks source link

LC2-19: Iris does not render correctly after player leaves/dies #417

Open lieven121 opened 8 years ago

lieven121 commented 8 years ago

Submission checklist

the iris stays

Actual behavior

the iris disappears when dying / relogging

Steps to reproduce

build a stargate activate the iris (set world spawn) kill yourself or relog

System information

some other things: is it normal that the gate has the texture of the ring instead of the textures in the file (LanteaCraft-1.7.10-19.jar\assets\pcl_lc\textures\fx)

and I would like to ask could you make that the gate fills with "invisible blocks" that are solid (but maybe as think as the gate) so you cant go trough a gate with a closed iris

and will there be a get IrisState function (opened or closed)

AfterLifeLochie commented 8 years ago

This issue is related to the network desync problems in issue #386.

The texture is known to be broken, so not an issue.

There is provision for pathing blocking, but it will be done without using blocks.

A getIrisState function will be exposed, but for now you can just use openIris and closeIris, if the Stargate already has the iris closed then nothing will happen.

AfterLifeLochie commented 8 years ago

Should be fixed in commit db8bdac1c6a8ef860bbea1592cb2139ac4404359. Please test in the next build and advise if this isn't the case.

lieven121 commented 8 years ago

No still a problem but now you have to open the gui first tested build 21

AfterLifeLochie commented 8 years ago

OK, I'll investigate more. Thanks. :)

lieven121 commented 6 years ago

I found this is because the tile enity from the server and the client are out of sync The client render looks at the inventory of the tile entity of the client but the inventory of the tile entity only gets send to the client when opening the gui

I've been looking trough the code but still havent found a solution (I am fairly new to java)