Constructor with ResourceLocation instead of a String