Package com.mojang.authlib.properties

Examples of com.mojang.authlib.properties.Property


          GameProfile gp = PlayerUtil.getOtherPlayerProfile(strName);
          if (gp == null)
          {
              gp = PlayerUtil.makeOtherPlayerProfile(strName, strUUID);
          }
          gp.getProperties().put("textures", new Property("textures", s1, s2));
          break;
        case C_SEND_OVERWORLD_IMAGE:
            try
            {
                byte[] bytes = (byte[]) this.data.get(0);
View Full Code Here


          if (playerRequested == null) return;
         
          GameProfile gp = playerRequested.getGameProfile();
          if (gp == null) return;
         
            Property property = (Property)Iterables.getFirst(gp.getProperties().get("textures"), (Object)null);
            if (property == null)
            {
                return;
            }
            GalacticraftCore.packetPipeline.sendTo(new PacketSimple(EnumSimplePacket.C_SEND_PLAYERSKIN, new Object[] { strName, property.getValue(), property.getSignature(), playerRequested.getUniqueID().toString() }), playerBase);
          break;
        default:
            break;
        }
    }
View Full Code Here

TOP

Related Classes of com.mojang.authlib.properties.Property

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.