Skip to content

Conversation

@Garsooon
Copy link
Member

@Garsooon Garsooon commented Jul 20, 2025

Adds UUIDs to tamed wolf NBT's I believe I got everything to work correctly. Debug code were commented out.

Saving and loading nbt data have been modified to use and load a UUID if a name is found but no UUID is attached.

Line 552 in EntityWolf.java this.datawatcher.watch(16, (byte)(b0 & ~4)); has its byte changed from 5 to 4 because from my understanding setTamed could modify other flags stored in the same byte which I dont believe to be intended.

@Garsooon
Copy link
Member Author

I also tried to use markers for what I added and modified since I saw it being used in the code let me know if they are fine / used incorrectly!

Copy link
Contributor

@sshshark sshshark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, code looks good.

@Garsooon Garsooon marked this pull request as draft August 6, 2025 06:55
@Garsooon
Copy link
Member Author

Garsooon commented Aug 6, 2025

Needs changes to UUID transfer for wolves / better testing.
I won't be able to work on this for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants