package info.u_team.u_team_core.data;

import java.nio.file.Path;

import net.minecraft.entity.EntityType;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.registry.Registry;

public abstract class CommonEntityTypeTagsProvider extends CommonTagsProvider<EntityType<?>> {
	
	@SuppressWarnings("deprecation")
	public CommonEntityTypeTagsProvider(GenerationData data) {
		super(data, Registry.ENTITY_TYPE);
	}
	
	@Override
	protected Path makePath(ResourceLocation location) {
		return resolveData(location).resolve("tags").resolve("entity_types").resolve(location.getPath() + ".json");
	}
	
	@Override
	public String getName() {
		return "Entity-Type-Tags";
	}
}

@@ -434,16 +434,92 @@
 verride%0A
+%09protected String getTagFolder() %7B%0A%09%09return %22entity_types%22;%0A%09%7D%0A%09%0A%09@Override%0A
 %09protect
@@ -619,30 +619,30 @@
 resolve(
-%22entity_types%22
+getTagFolder()
 ).resolv

Implement in the entity type tags provider