Jump to content

Recommended Posts

Posted

Item registering can only be done at startup. So it isn't possible to register them when a client connects to a server.

 

You may be able to make a custom recipe which only works when you are connected to a server, but that may not be what you want.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Posted
Just now, larsgerrits said:

Item registering can only be done at startup. So it isn't possible to register them when a client connects to a server.

 

You may be able to make a custom recipe which only works when you are connected to a server, but that may not be what you want.

well, i have an item that it's config allows you to choose a texture from a list, and that texture is chosen on the server that you are joining, so i thought i could register the item with the specific texture when i join the texture, if not, is there a way to just change the texture of an item when you join a server?

Posted

By choosing the texture what kind of texture can you choose ?

If it's only color modification, you can look into layers to recolor your item, if it's more complex, I'm guessing a IBakedModel type will have to come into play, but I can't help you with the model part :(

Posted

You may be able to send that config data from the server to the client, and then make a custom TextureAtlasSprite to use. Take a look at how the clock does its dynamic textures.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Posted

Or you can use server texture packs like you should and be done with it

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.