Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hi, I wanna know how to make a skin server, well I need to know how to make it.

 

Do I need to make a CoreMod for that?

 

Else, how can I make it with forge?

 

*Sorry for my BAD english*

Whaaaaaat.

 

Skins for players can be accessed via AbstractClientPlayer. If you look deep enough you can find skin cache that is being filled with skins from mojang's skin base. You can alter rendering skins on at least 2 levels - either by replacing cached skins for given player with your own (which you would download on your own) or on more "shallow" level - by replacing player renderer and providing your own skins from outside skin cache.

 

Both are hard enough (1st one will require at least reflection) to be considered advanced modding, so without java skills - don't even try, bruh (do something simpler).

1.7.10 is no longer supported by forge, you are on your own.

Reflection used in minecraft modding orbits around basics and obfuscation helper.

 

For basics - look into java docs, rly - 1st link on google probably.

For rest - ObfuscationReflectionHelper.class

Used to make reflection work with de- and compiler mods.

1.7.10 is no longer supported by forge, you are on your own.

  • Author

I watched many tutorials but I don't see how I can do that with Java Reflection, the URL is not a private field, it's not a field. I would need to Override the method so I could change the URL.

To 2nd Ernio's comment, I don't think you have the skill yet to do something like this.  Try something simpler first.

 

 

Now, the question is, what are you trying to do?  why a seperate skin server?  You want to be able to have different player models?  Want HD skins?  What?  I'm struggling with why you would want this.

 

 

Long time Bukkit & Forge Programmer

Happy to try and help

  • Author

I want players to be able to have a rp skin without changing their real skin so I need to change the skin server URL

I'll give you an idea.  There are other ways and possible better ways to do this, but this will work.  It wouldn't be an infinite value of skins, but it could be a lot.

 

Create an item called disquise.  Set the item up like potions (forgetting name) so it has multiple variants.  Make each of those variants represent a skin  the player can put on with the resourcepath, ect.

 

Create a gui for the player to put the chosen mask in a slot.

 

intercept player render event and check if a disquise is on.  If so, go to a custom player render and cancel the main one.  In the custom player render, extend the normal one and only replace the method where skin is retrieved and point it at the skin from your chosen item.

 

 

Long time Bukkit & Forge Programmer

Happy to try and help

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.