Skip to content
This repository has been archived by the owner on Jun 26, 2019. It is now read-only.

Save the TagType of lists #11

Open
piegamesde opened this issue Jun 10, 2018 · 0 comments
Open

Save the TagType of lists #11

piegamesde opened this issue Jun 10, 2018 · 0 comments

Comments

@piegamesde
Copy link

The ListTag class has an attribute:

private final Class<T> type;

This is fine and helpful, but most of the time I'm more interested in the TagType of the children. I know TagType and Class names are a 1:1 mapping, but it feels wrong to use "secondary" data (the class) to convert it back into "primary" data (the tag type as specified in the file).

I know having the class is useful and may be important for Generics reasons, but is it possible to add the tag type of the children anyway?

piegamesde referenced this issue in piegamesde/nbt May 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant