Jump to content

[1.8] Player UUID in free forged acount returning only Zero <Solved>


Recommended Posts

good days

Im triying to make some kind of wololo Staff and its works well in eclipse

i can get control from wolfs and horses, as well as ocelotes 

but when compile and put the mod in normal forged Minecraft it does Not work


so i set some System.outs and find than


        UUID uuid = playerIn.getUniqueID();

        String Suuid = uuid.toString();                //playerIn.getUniqueID().toString();


is returning zero's


per example in eclipse it returns



but after compile in the game this is





is there  way to fix this, or at least another way to get the uuid from player  ??


Link to comment
Share on other sites

ñaaa mising topic

this is the normal minecraft you download from mojan, plus the forge for the mods

no any other hack or crack has been added to this instalation.

isay it becoze whith this set up i can't enter to servers and my player Name is always "Player" and think this could be relevant info


now going back to the topic

i use the command.

UUID uuid = playerIn.getUniqueID();



to get the uuid from the player and write it on the entities, this piece of code when runing on eclipse works perfect it return the uuid from the player whith that i could make me own entityes like horses an wolves and mi custom entities


but when compile the mod and run in the normal minecraft vainilla game the code return only Zeroes


bether explain showing  video

in this video the key is the green leters in the screen, this are the uuid from the player using the staff

the first part in eclipse, the second is in the runing vainilla game


and the code geting the uuid run only in the server side

so i think maiby is like minecraft mc only runing in the client side or something


?if its the case,  is some way i could get the player uuid in the server side ?






Link to comment
Share on other sites

Why does your launcher has a "Play Demo" button but the game isn't actually demo?

I think it is a bug in forge.

Something in forge allows free accounts to play normal minecraft, not demo. (But not in online-mod server)

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Link to comment
Share on other sites

Something in forge allows free accounts to play normal minecraft, not demo. (But not in online-mod server)

This is not a bug in forge and has nothing to do with forge. All that's preventing you to play (vanilla) Minecraft if you have not bought the game is the launcher. Which is why cracked launchers work, they are stupidly simple to make. The game itself does not care at all if you are logged in or not.


Link to comment
Share on other sites

Now is done for solved


i discover it don't cares


if i  do an

	NBTTagCompound targetNBT = target.getEntityData();
	String own = targetNBT.getString("OwnerUUID");
	UUID uuid = UUID.fromString(own);
     		ownerEntity = worldIn.getPlayerEntityByUUID(uuid);

it return the playerEntity when the uuid is "00000000-0000-0000-0000-000000000000"


but i have to give up  to the idea of make the little maids change to tamed whith this staff

the maids has hers own way to set the Master entity

for that i must make mi mod ask for the  littlemaidMod as a dependency  i dont want that


it only gonna works whith vainilla wolves Horses and mi custom entityes

may later i do some changes to make the staff replace vainilla mobs for custom mob version that atack other mobs


well as is works anyway


Link to comment
Share on other sites

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.

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.

  • Create New...

Important Information

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