ImmersiveMC

ImmersiveMC

2M Downloads

Chest-Like Open/Close on Server

hammy275 opened this issue ยท 1 comments

commented

Right now, we detect chests opening/closing on the client. With #350, this really doesn't make sense, and leads to some fun de-sync issues. Let's move this authoritatively to the server instead.

Will need to add an onRemove() function called on ImmersiveHandlers when a block is closed, since they could be removed from the distance check. Should come with a default, empty implementation so implementations don't need to implement it.

commented

Nevermind on this, realizing it would mean moving VR gesture detection to the server as well, which wouldn't be a good idea.