#(xamotex1000) Checking a user for optifine

29 messages · Page 1 of 1 (latest)

hearty quiver
#

I have a few models that require optifine to render, I want to make it so that if they don't have an mcpatcher equivalent, it'll switch the texture for them. I have that logic done, but I can't figure out how to check if they're using optifine.

past prawnBOT
#

(xamotex1000) Checking a user for optifine

past prawnBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

hearty quiver
#

Also I don't want the player to be required to do anything.

pseudo sage
#

proooobably somehow with clientizen

#

otherwise just ask the player

alpine pilot
#

Use custom model data

alpine pilot
analog burrow
#

author said he uses some models that require optifine

ruby oxide
#

!t client_brand

vocal steepleBOT
# ruby oxide !t client_brand

Returns the brand of the client, as sent via the "minecraft:brand" packet.
On normal clients, will say "vanilla". On broken clients, will say "unknown". Modded clients will identify themselves (though not guaranteed!).

Returns

ElementTag

ruby oxide
#

This?

silk roverBOT
ruby oxide
#

Sweeet. I’m smokin pink now. Yay!

#

Come on yay bot. Don’t leave me hanging.

#

Yay

keen breachBOT
#

+> YAY!!!

hearty quiver
silk roverBOT
hearty quiver
# ruby oxide !t client_brand

optifine works, but for fabric mods and stuff, is there any way to get a mod list so i can check for a mod that would render them?

alpine pilot
#

If you make it with cmd you can all do what you want to do with optifine

hearty quiver
#

im using custom model data

#

the issue is that when people arent using optifine/mcpatcher its a broken model

#

I have everything working, but i was asking how to check if the user has optifine so that i could change the block specifically for the people who dont

ruby oxide
tranquil thicket
#

That's not a thing afaik, you'd need a mod to specifically send the server a list of mods (e.g. Clientizen)

#

And the players will need to install that mod ofc