Update forgegradle and minecraftforge

Switch to official mappings
This commit is contained in:
Marcel Konrad
2021-03-25 23:14:35 +01:00
parent 27b614280b
commit 7498440cd8
72 changed files with 530 additions and 553 deletions

View File

@@ -29,7 +29,7 @@ public class ConfigCategoryButcher
public List<ResourceLocation> getEntities()
{
return this.entities.get().stream().map(ResourceLocation::tryCreate).filter(Predicates.notNull()).collect(Collectors.toList());
return this.entities.get().stream().map(ResourceLocation::tryParse).filter(Predicates.notNull()).collect(Collectors.toList());
}
public boolean containsEntity(ResourceLocation entity)
@@ -66,7 +66,7 @@ public class ConfigCategoryButcher
{
if(string != null)
{
return ForgeRegistries.ENTITIES.containsKey(ResourceLocation.tryCreate(string.toString()));
return ForgeRegistries.ENTITIES.containsKey(ResourceLocation.tryParse(string.toString()));
}
return false;