#question

14 messages · Page 1 of 1 (latest)

wooden torrent
#

How can I find out how much time has passed since the player joined the server?

wooden torrent
#

server i guess

frank root
#

well it depends on what you're trying to do and where the mod is running, which is why i ask

wooden torrent
#

mod running both on server and client

#

i have trouble with Entity.isInFluid method. it returns false when player joining server, even if he actually in fluid

#

because of it my enchantmentEffect works not correctly

#

so I want to add an additional check that some time has passed since the player joined the world

indigo isle
#

you'll probably have to mixin for that

#

or use the join event

frank root
#

there might be a built-in way since that's how item pickup is calculated

#

but maybe not

#

that might just be a side-effect of something bc i can't find it