Jump to content

Recommended Posts

Posted

 

How can I set a custom Layer to a username?

 

 

Is this code okay? and what is the code to establish the layer.

 

public void init(FMLInitializationEvent event)
    {
        System.out.println("DIRT BLOCK >> "+Blocks.dirt.getUnlocalizedName());
        
        if(Minecraft.getMinecraft().getSession().getUsername() == "USERNAME_ONE" || Minecraft.getMinecraft().getSession().getUsername() == "USERNAME_TWO" )
        {
             custom cape code.

        }
    }

Posted (edited)

No. No capes. Mojang explicitly stated that modders should not mess with capes.

Adding backdoors to your mod is also a bad idea.

12an5t.jpg.abb0212b893339c1b6477823abd0224d.jpg

 

In addition, putting the cape code in post init makes no sense. Post init occurs when the game launches; it doesn't do anything about how a player is rendered.

Edited by DavidM
  • Like 2

Some tips:

  Reveal hidden contents

 

Posted
  On 4/30/2019 at 3:23 AM, DavidM said:

No. No capes. Mojang explicitly stated that modders should not mess with capes.

Adding backdoors to your mod is also a bad idea.

12an5t.jpg.abb0212b893339c1b6477823abd0224d.jpg

 

In addition, putting the cape code in post init makes no sense. Post init occurs when the game launches; it doesn't do anything about how a player is rendered.

Expand  

Mojang passed it to my ass, apart from the fact that he does not pay attention to the community, they want to ban any shit.

Posted (edited)
  On 4/30/2019 at 10:55 AM, JLibhat said:

Mojang passed it to my ass, apart from the fact that he does not pay attention to the community, they want to ban any shit.

Expand  

If you want to ignore rules and insist on making prohibited features, then I'm afraid you will find it hard to find help for your mod.

Edited by DavidM

Some tips:

  Reveal hidden contents

 

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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