Open zyxkad opened 1 year ago
I doubt that I'll ever do soemthing like this. I would not add/change an existing event - that would be better if CC:T implements itself and adding a new monitor isn't something I want to do
I doubt that I'll ever do soemthing like this. I would not add/change an existing event - that would be better if CC:T implements itself and adding a new monitor isn't something I want to do
Well, but CC:T won't impl that https://github.com/cc-tweaked/CC-Tweaked/issues/596
Yeah, but I don't get around adding this for 0.8 Someone could make a pr - but AP is currently a bit paused for me
Nvm, if I have time I can try to implement it (probably not, I don't know much about forge api).
I check the CC:T codes, if I want to impl that, I should use mixin, because the signature of the monitorTouched
method don't have player param. I'm not sure if you would like to do that.
void monitorTouched(float xPos, float yPos, float zPos)
Yeah. That's a reason why I do bot want to add features to existing blocks from CC
I may working on this with #6 , so both transparentable and identifiable on same block this or next month if possible
Describe your idea
Make monitors and computers can identify player in actions
We should still queue
monitor_touch
event, but add player's name as the last valueDescribe alternatives you've considered if you've any
N/A
Additional context
probably mouse events and key presses can also have this param, and if on computer, you may add new events called
player_open
orplayer_closed
to open or close computer, forplayer_open
, the program may abort the actionLinked Issues
No response